Code:
EventListener.add(EVENT_PLAYER_UNIT_SPELL_ENDCAST) ->
caster = GetTriggerUnit()
let stand = "Stand"
let attack = "Attack"
if EventData.getSpellAbilityId() == 'A000'
StopSound(Q1, false, false)
PlaySound("Q2.mp3")
SetUnitInvulnerable(caster, false)
SetUnitAnimation(caster, stand)
SetUnitAnimation(caster, attack)
AddSpecialEffect(Units.abomination1, 10, 10)
AddSpecialEffect(Units.abomination1, 25, 25)
AddSpecialEffect(Units.abomination1, 0, 0)
AddSpecialEffect(Units.abomination1, 50, 50)
I tried putting 1 and many of addspecialeffect but it doesnt appear anywhere. Does anyone have a clue as to why?
EDIT:
Okay, seems to be a coordination issue. I would like the effect to happen from my model, then to the direction my channel ability is directed to. What should I use instead?
Last edited: