- Joined
- Oct 27, 2008
- Messages
- 1,176
I'm just going to post Triggers and i need someone to check if they leak. and to repost the trigger but fixed. When the trigger has been fixed i'll remove it from the list.
Trigger 2 CAUSES MASS LAG!
Trigger 2 CAUSES MASS LAG!
-
Untitled Trigger 009
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Defeat
-
-
Actions
-
-------- Direct dmg --------
-
For each (Integer A) from 1 to 2, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Defeat for (Triggering unit)) Equal to (Integer A)
-
-
Then - Actions
-
Special Effect - Create a special effect attached to the chest of (Triggering unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (750.00 x (Real((Level of Defeat for (Triggering unit))))) damage of attack type Spells and damage type Normal
-
Special Effect - Destroy (Last created special effect)
-
-
Else - Actions
-
-
-
-
-------- dmg per second --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Strength of (Target unit of ability being cast) (Include bonuses)) Less than or equal to 100
-
-
Then - Actions
-
Unit - Add Defeat Buff to (Target unit of ability being cast)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Strength of (Target unit of ability being cast) (Include bonuses)) Less than or equal to 200
-
-
Then - Actions
-
Unit - Add Defeat Buff 2 to (Target unit of ability being cast)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Strength of (Target unit of ability being cast) (Include bonuses)) Less than or equal to 300
-
-
Then - Actions
-
Unit - Add Defeat Buff 3 to (Target unit of ability being cast)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Strength of (Target unit of ability being cast) (Include bonuses)) Less than or equal to 400
-
-
Then - Actions
-
Unit - Add Defeat Buff 4 to (Target unit of ability being cast)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Strength of (Target unit of ability being cast) (Include bonuses)) Greater than or equal to 401
-
-
Then - Actions
-
Unit - Add Defeat Buff 5 to (Target unit of ability being cast)
-
-
Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
Untitled Trigger 013
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to True Aura True
-
-
Actions
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of True Aura True for (Triggering unit)) Equal to (Integer A)
-
-
Then - Actions
-
Unit - Add True Aura to (Triggering unit)
-
Unit - Set level of True Aura for (Triggering unit) to (Level of True Aura True for (Triggering unit))
-
Player - Disable True Aura for (Owner of (Triggering unit))
-
Wait 30.00 seconds
-
Unit - Remove True Aura from (Triggering unit)
-
-
Else - Actions
-
-
-
-
-
Last edited: