Compare commits

...

2 Commits

Author SHA1 Message Date
Rampoina 4a8558bfec Add attack skill to the worker
Tech workers have a right to revolt
2022-08-24 21:24:26 +02:00
Rampoina 67fbc398be Add the energy source as a requirement for the battlmage and daemon
The starting energy source is removed as well
This should avoid early rushes like grabbing  all of your initiates and
morphing them to battlemages from the beggining
2022-08-24 21:07:57 +02:00
4 changed files with 44 additions and 5 deletions

View File

@ -5,11 +5,10 @@
<resource name="gold" amount="200"/>
<resource name="wood" amount="200"/>
<resource name="stone" amount="400"/>
<resource name="energy" amount="1"/>
<resource name="energy" amount="9"/>
</starting-resources>
<starting-units>
<unit name="mage_tower" amount="1"/>
<unit name="energy_source" amount="1"/>
<unit name="initiate" amount="3"/>
<unit name="battlemage" amount="1"/>
<unit name="summoner" amount="1"/>

View File

@ -21,7 +21,9 @@
</fields>
<properties/>
<light enabled="false"/>
<unit-requirements/>
<unit-requirements>
<unit name="energy_source"/>
</unit-requirements>
<upgrade-requirements/>
<resource-requirements>
<resource name="gold" amount="75"/>

View File

@ -18,7 +18,9 @@
</fields>
<properties/>
<light enabled="false"/>
<unit-requirements/>
<unit-requirements>
<unit name="energy_source"/>
</unit-requirements>
<upgrade-requirements/>
<resource-requirements>
<resource name="gold" amount="50"/>

View File

@ -51,7 +51,6 @@
<!-- *** skills *** -->
<skills>
<skill>
<type value="stop"/>
<name value="stop_skill"/>
@ -191,6 +190,33 @@
</sound>
</skill>
<skill>
<type value="attack"/>
<name value="attack_skill"/>
<ep-cost value="0"/>
<speed value="225"/>
<anim-speed value="90"/>
<animation path="models/worker_mining.g3d"/>
<sound enabled="true" start-time="0.5">
<sound-file path="$COMMONDATAPATH/sounds/worker_mine1.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/worker_mine2.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/worker_mine3.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/worker_mine4.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/worker_mine5.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/worker_mine6.wav"/>
</sound>
<attack-strenght value="100"/>
<attack-var value="20"/>
<attack-range value="2"/>
<attack-type value="energy"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<attack-start-time value="0.50"/>
<projectile value="false"/>
<splash value="false"/>
</skill>
<skill>
<type value="die"/>
<name value="die_skill"/>
@ -230,6 +256,16 @@
<move-skill value="move_skill"/>
</command>
<command>
<type value="attack"/>
<name value="attack"/>
<image path="../archer/images/archer_attack.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<attack-skill value="attack_skill"/>
</command>
<command>
<type value= "build"/>
<name value="build"/>