Exide
I am amazingly focused right now!
- Reaction score
- 448
Try lowering the TriggerSleepAction value to 1 sec or something.
Also try changing this part:
into this:
EDIT: In order for DestroyEffect(AddSpecialEffect()) to work the effect that you're using must have a birth animation, else it won't show up.
Also try changing this part:
JASS:
if (IsUnitType(fog, UNIT_TYPE_MAGIC_IMMUNE) == false) and (IsUnitAlly(fog, GetOwningPlayer(caster)) == false) then
if (GetUnitTypeId(fog) == 039;h002039;) then
call UnitDamageTarget(fog, caster, 100, true, true, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_COLD, WEAPON_TYPE_WHOKNOWS)
call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl", xx, yy))
else
call UnitDamageTarget(fog, caster, 100, true, true, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_COLD, WEAPON_TYPE_WHOKNOWS)
call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl", xx, yy))
endif
endif
into this:
JASS:
if (IsUnitType(fog, UNIT_TYPE_MAGIC_IMMUNE) == false) and (IsUnitAlly(fog, GetOwningPlayer(caster)) == false) then
if (GetUnitTypeId(Dummy<i>) == 039;h002039;) then //Changed this line
call UnitDamageTarget(fog, caster, 100, true, true, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_COLD, WEAPON_TYPE_WHOKNOWS)
call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl", xx, yy))
else
call UnitDamageTarget(fog, caster, 100, true, true, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_COLD, WEAPON_TYPE_WHOKNOWS)
call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl", xx, yy))
endif
endif
</i>
EDIT: In order for DestroyEffect(AddSpecialEffect()) to work the effect that you're using must have a birth animation, else it won't show up.