How do I make doomfist block be able to heal 25% dmg taken during block?
On Damage Taken(Doomfist)
Is Using Ability 2
- if you only want to heal from blocked damage add:
Is in View Angle(Event Player, Eye Position(Attacker), 60)
(60 would be then FOV and is a guess, might require fine tuning)
Heal(Event Player, Event Damage * 0.25, Event Player)
What is the script for that? Will not allow me to set that action for event player, event damage .25, event player.
rule("Rule 1")
{
event
{
Player Took Damage;
All;
Doomfist;
}
conditions
{
(Is Using Ability 2(Victim) && Is In View Angle(Victim, Eye Position(Attacker), 60)) == True;
}
actions
{
Heal(Victim, Victim, Event Damage * 0.250);
}
}