Add attack skill to the worker
Tech workers have a right to revolt
This commit is contained in:
parent
67fbc398be
commit
4a8558bfec
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue