zero9x
Active Member
- Reaction score
- 1
When i play LoL, i found an ability that will "The third consecutive attack the same target deals 4/5/6/7% of the target's maximum Health.
Here's the trigger:
with Weep's GDD system.
Here's the trigger:
Trigger:
- Events
- Game - GDD_Event becomes Equal to 0.00
- Conditions
- (Level of Mercury Arrow for GDD_DamageSource) Greater than (>) 0
- Actions
- Set MercuryArrow_Integer[0] = (Custom value of GDD_DamagedUnit)
- Set MercuryArrow_Integer[MercuryArrow_Integer[0]] = (MercuryArrow_Integer[MercuryArrow_Integer[0]] + 1)
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- MercuryArrow_Integer[MercuryArrow_Integer[0]] Equal to (==) 3
- Then - Actions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (GDD_DamagedUnit is A structure) Equal to (==) True
- Then - Actions
- Do nothing
- Else - Actions
- Unit - Cause GDD_DamageSource to damage GDD_DamagedUnit, dealing ((0.04 + (0.01 x (Real((Level of Mercury Arrow for GDD_DamageSource))))) x (Max life of GDD_DamagedUnit)) damage of attack type Chaos and damage type Normal
- Special Effect - Create a special effect attached to the chest of GDD_DamagedUnit using Abilities\Spells\Undead\DeathandDecay\DeathandDecayTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Set MercuryArrow_Integer[MercuryArrow_Integer[0]] = 0
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
with Weep's GDD system.