Skip to content
Permalink
Browse files
minor adjustments to upgrades
tried adding start-percentage="100" but that doesn't have an effect on
newly-produced units; they are produced with the hp specified in their
unit file, and it increases to max hp using the regeneration rate.

mystical forest: Removed forest guardian from affected units, because
this is required to build them, so better to just give the guard the
attributes specified here instead.

removed forest guardian from elven lore, because again, can't be built
yet.
  • Loading branch information
andy5995 committed Apr 25, 2019
1 parent 856333c commit 518cb1628ae387aaa3e611aa644821f0947a26bf
@@ -8,7 +8,7 @@
<max-hp value="8000" regeneration="0"/>
<max-ep value="0" regeneration="0"/>
<max-unit-count value="0"/>
<armor value="20" />
<armor value="30" />
<armor-type value="wood"/>
<sight value="18" />
<time value="90" />
@@ -33,7 +33,7 @@
<unit name="lore_house"/>
</unit-requirements>
<upgrade-requirements>
<upgrade name="wisdom"/>
<upgrade name="mystical_forest"/>
</upgrade-requirements>
<resource-requirements>
<resource name="gold" amount="240"/>
@@ -100,7 +100,7 @@
<sound-file path="$COMMONDATAPATH/sounds/archer_attack4.wav"/>
</sound>
<attack-strength value="475"/>
<attack-var value="80"/>
<attack-var value="120"/>
<attack-range value="12"/>
<attack-type value="piercing"/>
<attack-start-time value="0.68"/>
@@ -18,7 +18,7 @@
<effects>
<unit name="dryad"/>
</effects>
<max-hp value="250"/>
<max-hp value="250" start-percentage="100"/>
<max-ep value="300" regeneration="1"/>
<sight value="1"/>
<attack-strength value="30"/>
@@ -22,14 +22,13 @@
<unit name="corral"/>
<unit name="corral_gryphon_nest"/>
<unit name="sanctuary"/>
<unit name="forest_guardian"/>
</effects>
<max-hp value="0"/>
<max-ep value="0"/>
<sight value="0"/>
<attack-strength value="0"/>
<attack-range value="0"/>
<armor value="40"/>
<armor value="30"/>
<move-speed value="0"/>
<production-speed value="75"/>
</upgrade>
@@ -14,14 +14,15 @@
<resource name="wood" amount="200"/>
</resource-requirements>
<effects>
<unit name="forest_guardian"/>
<unit name="dryad"/>
<unit name="minstrel"/>
</effects>
<max-hp value="0"/>
<max-hp value="100" start-percentage="100"/>
<max-ep value="0" regeneration="0"/>
<sight value="1"/>
<attack-strength value="50"/>
<attack-range value="2"/>
<armor value="10"/>
<move-speed value="0"/>
<attack-range value="1"/>
<armor value="5"/>
<move-speed value="20"/>
<production-speed value="0"/>
</upgrade>
@@ -21,7 +21,7 @@
<unit name="reaver"/>
<unit name="prince"/>
</effects>
<max-hp value="250"/>
<max-hp value="250" start-percentage="100"/>
<max-ep value="0"/>
<sight value="0"/>
<attack-strength value="0"/>
@@ -28,5 +28,5 @@
<attack-range value="0"/>
<armor value="10"/>
<move-speed value="0"/>
<production-speed value="100"/>
<production-speed value="75"/>
</upgrade>
@@ -15,7 +15,7 @@
<effects>
<unit name="elf"/>
</effects>
<max-hp value="100"/>
<max-hp value="100" start-percentage="100"/>
<max-ep value="0"/>
<sight value="1"/>
<attack-strength value="0"/>

0 comments on commit 518cb16

Please sign in to comment.