- Joined
- Jun 2, 2009
- Messages
- 1,276
How can i make this damage just like this?
Level 1: 1.5 times agility
Level 2: 2.0 times agility
Level 3: 2.5 times agility
Level 4: 3.0 times agility
Level 1: 1.5 times agility
Level 2: 2.0 times agility
Level 3: 2.5 times agility
Level 4: 3.0 times agility
-
Events
-

Map initialization
-
-
Conditions
-
Actions
-

Hashtable - Create a hashtable
-

Set Triplestrike = (Last created hashtable)
-
-
Triple Slash
-

Events
-


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

Conditions
-


(Ability being cast) Equal to Triple Slash //
-
-

Actions
-


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



If - Conditions
-




(triplestrikers is empty) Equal to True
-
-



Then - Actions
-




Trigger - Turn on Triple Slash Hits <gen>
-
-



Else - Actions
-
-


Set TripleSlasher = (Triggering unit)
-


Set Target_TripleSlash = (Target unit of ability being cast)
-


Set hits = 3
-


Set TripleSlashInt[1] = (Agility of TripleSlasher (Include bonuses))
-


Unit - Pause TripleSlasher
-


Unit - Pause Target_TripleSlash
-


Animation - Change TripleSlasher's animation speed to 400.00% of its original speed
-


Hashtable - Save Handle OfTarget_TripleSlash as 0 of (Key (Triggering unit)) in Triplestrike
-


Hashtable - Save Handle Of(Triggering unit) as 2 of (Key (Triggering unit)) in Triplestrike
-


Hashtable - Save hits as 1 of (Key (Triggering unit)) in Triplestrike
-


Unit Group - Add (Triggering unit) to triplestrikers
-
-
-
Triple Slash Hits
-

Events
-


Time - Every 0.10 seconds of game time
-
-

Conditions
-

Actions
-


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



If - Conditions
-




(triplestrikers is empty) Equal to True
-
-



Then - Actions
-




Trigger - Turn off (This trigger)
-
-



Else - Actions
-
-


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



Loop - Actions
-




Set Target_TripleSlash = (Load 0 of (Key (Picked unit)) in Triplestrike)
-




Set TripleSlasher = (Load 2 of (Key (Picked unit)) in Triplestrike)
-




Set hits = (Load 1 of (Key (Picked unit)) from Triplestrike)
-




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





If - Conditions
-






hits Greater than or equal to 1
-
-





Then - Actions
-






Animation - Play TripleSlasher's attack animation
-






Unit - Cause TripleSlasher to damage Target_TripleSlash, dealing ((Real((Level of Triple Slash // for TripleSlasher))) x (Real(TripleSlashInt[1]))) damage of attack type Normal and damage type Normal
-






Set hits = (hits - 1)
-






Hashtable - Save hits as 1 of (Key (Picked unit)) in Triplestrike
-
-





Else - Actions
-






Unit - Unpause TripleSlasher
-






Animation - Change TripleSlasher's animation speed to 100.00% of its original speed
-






Unit - Unpause Target_TripleSlash
-






Unit Group - Remove (Picked unit) from triplestrikers
-






Hashtable - Clear all child hashtables of child (Key (Picked unit)) in Triplestrike
-
-
-
-
-
-




