Hey guys I wanna ask why is this spell not working...?
-
QuickFan
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Quick Fan
-
-

Actions
-


Set SpellCastingUnit = (Triggering unit)
-


Set DamageOfCaster = ((Agility of SpellCastingUnit (Include bonuses)) x 2)
-


Set DamageOfCaster2 = (Real(DamageOfCaster))
-


Unit Group - Pick every unit in (Units within 250.00 of (Position of DamageTakingUnit) matching ((DamageTakingUnit belongs to an enemy of (Matching player)) Equal to True)) and do (Actions)
-



Loop - Actions
-




Unit - Cause SpellCastingUnit to damage (Picked unit), dealing DamageOfCaster2 damage of attack type Spells and damage type Normal
-




Special Effect - Create a special effect attached to the overhead of DamageTakingUnit using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Unit Group - Add DamageTakingUnit to DamageTakingUnitGroup
-
-
-


Trigger - Turn on QuickFanLoop <gen>
-
-
-
QuickFanLoop
-

Events
-


Time - Every 2.00 seconds of game time
-
-

Conditions
-


(DamageTakingUnit is in DamageTakingUnitGroup) Equal to True
-
-

Actions
-


Unit Group - Pick every unit in DamageTakingUnitGroup and do (Actions)
-



Loop - Actions
-




Unit - Cause SpellCastingUnit to damage (Picked unit), dealing ((Real((Agility of SpellCastingUnit (Include bonuses)))) x 2.00) damage of attack type Spells and damage type Normal
-




Special Effect - Create a special effect attached to the head of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Unit Group - Remove (Picked unit) from DamageTakingUnitGroup
-




Custom script: call DestroyGroup (udg_DamageTakingUnitGroup)
-




Set Numbers_Triggered = (Numbers_Triggered + 1)
-
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Numbers_Triggered Greater than or equal to 4
-
-



Then - Actions
-




Set Numbers_Triggered = 0
-




Trigger - Turn off (This trigger)
-
-



Else - Actions
-
-
-








