Spray-
Member
- Reaction score
- 1
Hiya! I've made a Hero that uses Combo Points to boost his spells (basically like a Rogue from WoW), everything works fine except when he uses the Ability that "releases" the Combo Points (Eviscerate in this case), the Combo Points arent reset' and stays at the "max". Trigger:
Why does this happen?
Trigger:
- Eviscerate
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Eviscerate (Rogue)
- Actions
- Unit - Order (Casting unit) to Attack-Move To (Position of (Casting unit))
- Unit Group - Pick every unit in (Units within 200.00 of (Position of (Casting unit)) matching ((Owner of (Matching unit)) Equal to Player 12 (Brown))) and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) is alive) Equal to True
- Then - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Objects\Spawnmodels\Orc\OrcLargeDeathExplode\OrcLargeDeathExplode.mdl
- Unit - Cause (Casting unit) to damage (Picked unit), dealing (25.00 x ((Real((Level of Eviscerate (Rogue) for (Casting unit)))) x (Real(Combo)))) damage of attack type Normal and damage type Normal
- Wait 0.50 seconds
- Set Combo = 0
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Events
Why does this happen?