Hello, i have two spells, i dont want this spell
-
Fire Spin Loop
-

Events
-


Time - Every 0.25 seconds of game time
-
-

Conditions
-

Actions
-


Set VariableSet FS_Timer = (FS_Timer + 1)
-


Set VariableSet FS_Point = (Position of FS_Caster)
-


Set VariableSet FS_Group = (Units within 200.00 of FS_Point.)
-


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



If - Conditions
-




FS_Timer Greater than or equal to FS_Duration
-
-



Then - Actions
-




Trigger - Turn off (This trigger)
-




Set VariableSet FS_Timer = 0
-
-



Else - Actions
-




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





Loop - Actions
-






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







If - Conditions
-








((Picked unit) is A structure) Equal to False
-








((Picked unit) is alive) Equal to True
-








((Picked unit) belongs to an enemy of (Owner of FS_Caster).) Equal to True
-
-







Then - Actions
-








Unit - Cause FS_Caster to damage (Picked unit), dealing (FS_Dmg[(Level of Fire Spin for FS_Caster)] + ((Real((Strength of FS_Caster (Include bonuses)))) x 0.25)) damage of attack type Spells and damage type Normal
-
-







Else - Actions
-
-
-
-
-
-


Custom script: call DestroyGroup(udg_FS_Group)
-


Custom script: call RemoveLocation(udg_FS_Point)
-
-
-
Fire Slash Work
-

Events
-


Game - GDD_Event becomes Equal to 0.00
-
-

Conditions
-


(Level of Fire Slash for GDD_DamageSource) Greater than 0
-
-

Actions
-


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



If - Conditions
-




(Random real number between 0.00 and 1.00) Less than or equal to FireSlash_Chance[(Level of Fire Slash for GDD_DamageSource)]
-
-



Then - Actions
-




Animation - Play GDD_DamageSource's Spell Slam Third animation
-




Set VariableSet FireSlash_Damage = ((Base Damage of GDD_DamageSource for weapon index 0) + (Strength of GDD_DamageSource (Include bonuses)))
-




Set VariableSet FireSlash_CPoint = (Position of GDD_DamageSource)
-




Set VariableSet FireSlash_Group = (Units within 200.00 of FireSlash_CPoint.)
-




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





Loop - Actions
-






Set VariableSet FireSlash_Target = (Picked unit)
-






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







If - Conditions
-








(FireSlash_Target is A structure) Equal to False
-








(FireSlash_Target is Mechanical) Equal to False
-








(Owner of FireSlash_Target) Equal to Player 12 (Brown)
-








(FireSlash_Target is alive) Equal to True
-
-







Then - Actions
-








Trigger - Turn off (This trigger)
-








Unit - Cause GDD_DamageSource to damage FireSlash_Target, dealing (Real(FireSlash_Damage)) damage of attack type Spells and damage type Normal
-








Trigger - Turn on (This trigger)
-
-







Else - Actions
-
-
-
-




Custom script: call RemoveLocation(udg_FireSlash_CPoint)
-




Custom script: call DestroyGroup(udg_FireSlash_Group)
-
-



Else - Actions
-
-
-

