Knocksious
Sweet, I got 2 little green bars!
- Reaction score
- 46
Could someone please tell me if this type of setup is going to leak on me?
Code:
Bloody Spear 1
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to The Bloody Spear
Actions
Unit Group - Add (Target unit of ability being cast) to Bloody_Spear_Group
Code:
Bloody Spear 2
Events
Time - Every 3.00 seconds of game time
Conditions
Actions
Custom script: local location Target
Unit Group - Pick every unit in Bloody_Spear_Group and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has buff Bloody Spear ) Equal to True
Then - Actions
Unit - Cause The Castle Redemption 0131 <gen> to damage (Picked unit), dealing 50.00 damage of attack type Spells and damage type Normal
Set Target = (Position of (Picked unit))
Special Effect - Create a special effect at Target using Objects\Spawnmodels\Human\HumanBlood\HeroBloodElfBlood.mdl
Else - Actions
Custom script: call RemoveLocation (Target)