Avaleirra
Is back. Probably.
- Reaction score
- 128
Here, I made the spell, but I haven't tested it (It might not work at all).
Trigger:
- Ice Block Cast
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Ice Block
- Actions
- Unit - Add Sphere (Vengeance - Level 1) to (Triggering unit)
Trigger:
- Ice Block Cancel
- Events
- Unit - A unit Stops casting an ability
- Unit - A unit Finishes casting an ability
- Unit - A unit Dies
- Conditions
- (Level of Sphere (Vengeance - Level 1) for (Triggering unit)) Equal to 1
- Actions
- Unit - Add Sphere (Vengeance - Level 1) to (Triggering unit)
- Unit - Remove Sphere (Vengeance - Level 1) from (Triggering unit)
Trigger:
- Hero Purchase
- Events
- Unit - A unit Sells a unit
- Conditions
- (Unit-type of (Sold unit)) Equal to Ice Caster Hero
- Actions
- Trigger - Add to Damage Reflect <gen> the event (Unit - (Sold unit) Takes damage)
Trigger:
- Damage Reflect
- Events
- Conditions
- (Level of Sphere (Vengeance - Level 1) for (Triggering unit)) Equal to 1
- Actions
- Set tmpReal = ((0.50 + (0.50 x (Real((Level of Ice Block for (Triggering unit)))))) x (Damage taken))
- Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (Damage taken))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Life of (Damage source)) Greater than tmpReal
- Then - Actions
- Unit - Set life of (Damage source) to ((Life of (Damage source)) - tmpReal)
- Else - Actions
- Unit - Set life of (Damage source) to 1.00
Sorry, I have another question . Do I have to set the duration of this ability in the OE? And I also want the caster to be invulnerable for the 1.5 second duration, so where should I add the invulnerable part?