- Joined
- Dec 26, 2010
- Messages
- 475
hey guys, why my spell lags when i cast it on a group of units(5 or more units).
___________________________________________________________________
Triggers:
___________________________________________________________________
Triggers:
-
C3 Exploding Clay
-

Events
-


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

Conditions
-


(Ability being cast) Equal to |CFF20C000Kibaku Nendo • C3 - Exploding Clay • C3 (Deidara's Specialty #18 Jutsu)[T]|r
-
-

Actions
-


Set DeidaraC3Caster = (Triggering unit)
-


Set DeidaraC3Point[0] = (Target point of ability being cast)
-


Unit - Create 1 C3 for (Owner of DeidaraC3Caster) at DeidaraC3Point[0] facing Default building facing degrees
-


Set DeidaraC3Clay = (Last created unit)
-


Set DeidaraC3Point[1] = (Position of DeidaraC3Clay)
-


Set DeidaraC3Group = (Units within 600.00 of DeidaraC3Point[1] matching (((Matching unit) belongs to an enemy of (Owner of DeidaraC3Caster)) Equal to True))
-


Animation - Change DeidaraC3Clay flying height to 0.00 at 300.00
-


Wait 1.50 seconds
-


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



If - Conditions
-




(Level of |CFF20C000Kibaku Nendo • C3 - Exploding Clay • C3 (Deidara's Specialty #18 Jutsu)[T]|r for DeidaraC3Caster) Equal to 1
-
-



Then - Actions
-




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





Loop - Actions
-






Unit - Cause DeidaraC3Caster to damage (Picked unit), dealing 500.00 damage of attack type Chaos and damage type Universal
-






Special Effect - Create a special effect at DeidaraC3Point[1] using war3mapImported\NuclearExplosion.mdx
-






Special Effect - Destroy (Last created special effect)
-






Unit - Create 1 DeidaraExplosionDummy for (Owner of DeidaraC3Caster) at (Position of DeidaraC3Clay) facing Default building facing degrees
-






Set DeidaraC3UnitEffect = (Last created unit)
-






Unit - Explode DeidaraC3Clay
-






Wait 2.00 seconds
-






Unit - Remove DeidaraC3UnitEffect from the game
-
-
-
-



Else - Actions
-




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





If - Conditions
-






(Level of |CFF20C000Kibaku Nendo • C3 - Exploding Clay • C3 (Deidara's Specialty #18 Jutsu)[T]|r for DeidaraC3Caster) Equal to 2
-
-





Then - Actions
-






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







Loop - Actions
-








Unit - Cause DeidaraC3Caster to damage (Picked unit), dealing 1000.00 damage of attack type Chaos and damage type Universal
-








Special Effect - Create a special effect at DeidaraC3Point[1] using war3mapImported\NuclearExplosion.mdx
-








Special Effect - Destroy (Last created special effect)
-








Unit - Create 1 DeidaraExplosionDummy for (Owner of DeidaraC3Caster) at (Position of DeidaraC3Clay) facing Default building facing degrees
-








Set DeidaraC3UnitEffect = (Last created unit)
-








Unit - Explode DeidaraC3Clay
-








Wait 2.00 seconds
-








Unit - Remove DeidaraC3UnitEffect from the game
-
-
-
-





Else - Actions
-






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







If - Conditions
-








(Level of |CFF20C000Kibaku Nendo • C3 - Exploding Clay • C3 (Deidara's Specialty #18 Jutsu)[T]|r for DeidaraC3Caster) Equal to 3
-
-







Then - Actions
-








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









Loop - Actions
-










Unit - Cause DeidaraC3Caster to damage (Picked unit), dealing 1500.00 damage of attack type Chaos and damage type Universal
-










Special Effect - Create a special effect at DeidaraC3Point[1] using war3mapImported\NuclearExplosion.mdx
-










Special Effect - Destroy (Last created special effect)
-










Unit - Create 1 DeidaraExplosionDummy for (Owner of DeidaraC3Caster) at (Position of DeidaraC3Clay) facing Default building facing degrees
-










Set DeidaraC3UnitEffect = (Last created unit)
-










Unit - Explode DeidaraC3Clay
-










Wait 2.00 seconds
-










Unit - Remove DeidaraC3UnitEffect from the game
-
-
-
-







Else - Actions
-








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









If - Conditions
-










(Level of |CFF20C000Kibaku Nendo • C3 - Exploding Clay • C3 (Deidara's Specialty #18 Jutsu)[T]|r for DeidaraC3Caster) Equal to 4
-
-









Then - Actions
-










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











Loop - Actions
-












Unit - Cause DeidaraC3Caster to damage (Picked unit), dealing 2000.00 damage of attack type Chaos and damage type Universal
-












Special Effect - Create a special effect at DeidaraC3Point[1] using war3mapImported\NuclearExplosion.mdx
-












Special Effect - Destroy (Last created special effect)
-












Unit - Create 1 DeidaraExplosionDummy for (Owner of DeidaraC3Caster) at (Position of DeidaraC3Clay) facing Default building facing degrees
-












Set DeidaraC3UnitEffect = (Last created unit)
-












Unit - Explode DeidaraC3Clay
-












Wait 2.00 seconds
-












Unit - Remove DeidaraC3UnitEffect from the game
-
-
-
-









Else - Actions
-
-
-
-
-
-
-
-


Custom script: call RemoveLocation(udg_DeidaraC3Point[0])
-


Custom script: call RemoveLocation(udg_DeidaraC3Point[1]
-
-



