- Joined
- Jun 24, 2009
- Messages
- 1,408
Before anyone mention that I miss the event and the condition, I'm using a system that calls the spell most efficiently. The system works perfectly, all other spells work.
I'm making a simple MPI spell similar to the Windrunner's ultimate in DotA. The difference is that I just give her minor attack speed bonus and won't reduce damage. But when I cast the spell it don't gives the hero the attack speed increase ability.
I'm making a simple MPI spell similar to the Windrunner's ultimate in DotA. The difference is that I just give her minor attack speed bonus and won't reduce damage. But when I cast the spell it don't gives the hero the attack speed increase ability.
-
Focus
-

Events
-

Conditions
-

Actions
-


Set TempInt = (Player number of (Triggering player))
-


Set TempInt2 = (Strength[TempInt] - 14)
-


Set FCaster[TempInt] = (Triggering unit)
-


Set FTarget[TempInt] = (Target unit of ability being cast)
-


Unit - Add % speed to FCaster[TempInt]
-


Unit - Set level of % speed for FCaster[TempInt] to TempInt2
-


Unit - Order FCaster[TempInt] to Attack FTarget[TempInt]
-
-
-
Focus Check
-

Events
-


Unit - A unit Is issued an order targeting an object
-
-

Conditions
-

Actions
-


Set TempInt = (Player number of (Triggering player))
-


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



If - Conditions
-




(Issued order) Equal to (Order(attack))
-
-



Then - Actions
-




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





If - Conditions
-






(Attacking unit) Equal to FCaster[TempInt]
-






(Attacked unit) Equal to FTarget[TempInt]
-
-





Then - Actions
-





Else - Actions
-






Unit - Remove % speed from FCaster[TempInt]
-






Set FCaster[TempInt] = No unit
-






Set FTarget[TempInt] = No unit
-
-
-
-



Else - Actions
-




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





If - Conditions
-






(Issued order) Not equal to (Order(move))
-
-





Then - Actions
-






Unit - Remove % speed from FCaster[TempInt]
-






Set FCaster[TempInt] = No unit
-






Set FTarget[TempInt] = No unit
-
-





Else - Actions
-
-
-
-
-





