qwerty123456
New Member
- Reaction score
- 4
Could someone please tell my why my spell laggs so badly?
Trigger:
- Multi Shockwave
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (==) Shockwave
- Actions
- Set Caster = (Triggering unit)
- Set CasterLoc = (Position of Caster)
- Set RealAngle = 0.00
- Do Multiple ActionsFor each (Integer A) from 1 to 8, do (Actions)
- Loop - Actions
- Set Offset = (CasterLoc offset by 100.00 towards ((Facing of Caster) + RealAngle) degrees)
- Unit - Create 1 Shockwave Dummy for (Owner of Caster) at CasterLoc facing Default building facing (270.0) degrees
- Unit - Set level of Dummy Shockwave for (Last created unit) to (Level of Unknown (A02A) for Caster)
- Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave Offset
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Set RealAngle = (RealAngle + 45.00)
- Custom script: call RemoveLocation(udg_Offset)
- Loop - Actions
- Do Multiple ActionsFor each (Integer A) from 1 to 8, do (Actions)
- Custom script: call RemoveLocation(udg_CasterLoc)
- Events