I am trying to make an event that makes the wall hit of doom’s punch deal more damage. How do I detect the wall hit of doomfist’s punch.
Somehow, this works:
rule("Punch Verify")
{
event
{
Player Took Damage;
All;
All;
}
conditions
{
Hero Of(Attacker) == Hero(Doomfist);
Event Ability == Button(Secondary Fire);
Event Player.A == False;
}
actions
{
Wait(0.016, Ignore condition);
Event Player.A = True;
Wait(3, Ignore condition);
Event Player.A = False;
}
}
rule("Wall Damage")
{
event
{
Player Took Damage;
All;
All;
}
conditions
{
Hero Of(Attacker) == Hero(Doomfist);
Event Ability == Button(Secondary Fire);
Event Player.A == True;
}
actions
{
Damage(Event Player, Attacker, 500);
Event Player.A = False;
}
}
Wall damage is treated like Secondary Fire
(same as Punch), so, after the Punch, the next damage is Wall damage.
To test it, I increased it to 500 dmg. Just lower the number.
2 Likes
thank you very much!
1 Like