Skip to content

Commit 2f99e18

Browse files
committed
TDG: fix missing siphon attack sound
1 parent 2ff7736 commit 2f99e18

2 files changed

Lines changed: 21 additions & 6 deletions

File tree

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
### Add-ons client
33
### Add-ons server
44
### Campaigns
5+
* The Deceivers Gambit
6+
* Fix missing siphon attack sound, which would cause a crash anytime the attack was used.
57
### Editor
68
### Multiplayer
79
### Lua API

data/campaigns/The_Deceivers_Gambit/utils/spellcasting.cfg

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -858,21 +858,34 @@ Recruited elementals dissipate at the end of each scenario."
858858
#enddef
859859
#define ANIMATIONS_ENERVATE PATH
860860
[attack_anim]
861-
{FILTER_ATTACK name=enervate}
861+
[filter_attack]
862+
name=enervate
863+
[/filter_attack]
864+
[sound_frame]
865+
sound=magicmissile.wav
866+
[/sound_frame]
862867
start_time=-350
863-
{FRAME sound,image=siphon.ogg,{PATH}/delfador-ranged[1,2,1].png:[50,400,50]}
868+
[frame]
869+
image=units/delfador/L3/delfador-ranged[1,2,1].png:[50,400,50]
870+
[/frame]
864871
overlay_start_time=-350
865-
{OVERLAY_FRAME offset,halo=1.0,"halo/elven/nature-halo[8~1].png~CS(50,-30,-50)~O([80%*2,60%,40%,30%,20%*3]):75"}
866-
{IF}
872+
[overlay_frame]
873+
offset=1.0
874+
halo="halo/elven/nature-halo[8~1].png~CS(50,-30,-50)~O([80%*2,60%,40%,30%,20%*3]):75"
875+
[/overlay_frame]
876+
[if]
867877
hits=yes
868878
overlay2_start_time=-200
869-
{OVERLAY2_FRAME offset,halo=0.0,"halo/elven/nature-halo[1~8].png~CS(50,-30,-50)~O([20%*3,30%,40%,60%,80%*2]):75"}
879+
[overlay_frame]
880+
offset=0.0
881+
halo="halo/elven/nature-halo[1~8].png~CS(50,-30,-50)~O([20%*3,30%,40%,60%,80%*2]):75"
882+
[/overlay_frame]
870883
missile_start_time=-200
871884
[missile_frame]
872885
image="halo/elven/druid-healing[8~1].png~CS(50,-30,-50):50"
873886
offset=1.0~0.0
874887
[/missile_frame]
875-
{/IF}
888+
[/if]
876889
[else]
877890
hits=no
878891
missile_start_time=-200

0 commit comments

Comments
 (0)