Fixed lightning attack to use the modern images.
This commit is contained in:
parent
c29be2ac9d
commit
e390eb9f91
1 changed files with 47 additions and 15 deletions
|
@ -102,21 +102,6 @@
|
|||
image="units/dwarves/runemaster-idle-1.png"
|
||||
[/frame]
|
||||
[/idle_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=lightning bolt
|
||||
[/filter_attack]
|
||||
[missile_frame]
|
||||
begin=-110
|
||||
end=15
|
||||
image="projectiles/lightning-bolt.png"
|
||||
[/missile_frame]
|
||||
[frame]
|
||||
sound=fire.wav
|
||||
begin=-200
|
||||
end=0
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=runic hammer
|
||||
|
@ -150,4 +135,51 @@
|
|||
[/frame]
|
||||
[/else]
|
||||
[/attack_anim]
|
||||
#define RUNEMASTER_LIGHTNING DIRECTION_NUMBER
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=lightning bolt
|
||||
[/filter_attack]
|
||||
|
||||
{LIGHTNING_BOLT {DIRECTION_NUMBER} }
|
||||
|
||||
start_time=-250
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
duration=50
|
||||
image="units/dwarves/runemaster.png"
|
||||
sound=lightning.ogg
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
duration=50
|
||||
image="units/dwarves/runemaster.png"
|
||||
sound=lightning-miss.ogg
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/dwarves/runemaster-attack1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/dwarves/runemaster-attack2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/dwarves/runemaster-attack1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=50
|
||||
image="units/dwarves/runemaster.png"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
#enddef
|
||||
|
||||
{RUNEMASTER_LIGHTNING 1}
|
||||
{RUNEMASTER_LIGHTNING 2}
|
||||
{RUNEMASTER_LIGHTNING 3}
|
||||
[/unit_type]
|
||||
|
|
Loading…
Add table
Reference in a new issue