Workaround for slows+attack sound bug with Ghazi line to be fixed in 1.13

This commit is contained in:
David Mikos 2014-03-16 15:15:57 +10:30
parent a080ee5ee4
commit 531af4c954
3 changed files with 48 additions and 9 deletions

View file

@ -63,10 +63,23 @@
start_time=-200
#expanded definitions below because of sound bug on miss to be fixed in 1.13
[frame]
image="units/khalifate/ghazi.png:300"
image="units/khalifate/ghazi.png:100"
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[if]
hits=yes
[frame]
image="units/khalifate/ghazi.png:200"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/khalifate/ghazi.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[/attack_anim]
[/unit_type]

View file

@ -64,10 +64,23 @@
start_time=-200
#expanded definitions below because of sound bug on miss to be fixed in 1.13
[frame]
image="units/khalifate/khalid.png:300"
image="units/khalifate/khalid.png:100"
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[if]
hits=yes
[frame]
image="units/khalifate/khalid.png:200"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/khalifate/khalid.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[/attack_anim]
[/unit_type]

View file

@ -63,10 +63,23 @@
start_time=-200
#expanded definitions below because of sound bug on miss to be fixed in 1.13
[frame]
image="units/khalifate/shuja.png:300"
image="units/khalifate/shuja.png:100"
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[if]
hits=yes
[frame]
image="units/khalifate/shuja.png:200"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/khalifate/shuja.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[/attack_anim]
[/unit_type]