-
Raging Strike
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Raging Strike
-
-
Actions
-
Set Ragingstrikerandomint = (Random integer number between 1 and 3)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Ragingstrikerandomint Equal to 1
-
-
Then - Actions
-
Set Ragingstrikepoint = (Position of (Casting unit))
-
Special Effect - Create a special effect at Ragingstrikepoint using Abilities\Spells\Items\AIsm\AIsmTarget.mdl
-
Set Ragingstrikeactive = (Last created special effect)
-
Unit - Add Item Damage Bonus (+50) to (Triggering unit)
-
Wait 1.00 seconds
-
Special Effect - Destroy Ragingstrikeactive
-
Wait 29.00 seconds
-
Unit - Remove Item Damage Bonus (+50) from (Triggering unit)
-
Custom script: call RemoveLocation( udg_Ragingstrikepoint )
-
-
Else - Actions
-
-
-
Having trouble removing:
Variables
Ragingstrikerandomint : (Line: 7) Location - Removed: No
Ragingstrikepoint : (Line: 12) Location - Removed: Yes
Ragingstrikeactive : (Line: 14) Unit Group - Removed: No
Ragingstrikerandomint = integar
Ragingstrikeactive = special effect
Basicly when you use this ability you have a 1/3 chance of gaing +50dam for 30 seconds, and i want it to show a special effect to let the user know they have the buff