- Joined
- Jul 18, 2009
- Messages
- 199
This is my stupid spell Spin of Blades. It's like DotA's Counter Helix, which is a passive ability that makes the "caster" to spin around dealing damage.
I used GDD for it cause someone told me to. But i wont get it work.
I used GDD for it cause someone told me to. But i wont get it work.
-
Spin of Blades
-

Events
-


Game - GDD_Event becomes Equal to 0.00
-
-

Conditions
-


(SoB_Caster has buff Blade Spin ) Equal to True
-
-

Actions
-


Set SoB_Target = (Picked unit)
-


Set SoB_Caster = GDD_DamagedUnit
-


Set SoB_Point = (Position of SoB_Caster)
-


Set SoB_Chance = (10.00 x (Real((Level of Blade Spin for SoB_Caster))))
-


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



If - Conditions
-



Then - Actions
-




Set SoB_Group = (Units within (70.00 x (Real((Level of Blade Spin for SoB_Caster)))) of SoB_Point matching ((((Matching unit) is A structure) Equal to False) and (((SoB_Target belongs to an enemy of SoB_CasterOwner) Equal to True) and ((((Matching unit) is Magic Immune) Equ
-




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





Loop - Actions
-






Unit - Cause SoB_Caster to damage SoB_Target, dealing ((Real((Agility of SoB_Caster (Include bonuses)))) x (3.00 + ((Real((Level of Blade Spin for SoB_Caster))) x (Random real number between 0.50 and 2.00)))) damage of attack type Spells and damage type Normal
-






Animation - Play SoB_Caster's Spin animation
-






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






Special Effect - Destroy (Last created special effect)
-
-
-
-



Else - Actions
-
-


Animation - Reset SoB_Caster's animation
-


Custom script: call RemoveLocation(udg_SoB_Point)
-


Custom script: call DestroyGroup(udg_SoB_Group)
-


Custom script: set udg_SoB_Caster = null
-


Custom script: set udg_SoB_Target = null
-


Custom script: set udg_SoB_CasterOwner = null
-
-





