Context - I have set Genji’s Damage to 200% but it doubles the Damage of all deflected Projectiles and I don’t want it to, can I fix it?
You have to use workshop for that.
rule("100% dmg deflect")
{
event
{
Ongoing - Each Player;
All;
Genji;
}
conditions
{
Is Using Ability 2(Event Player) == True;
}
actions
{
Set Damage Dealt(Event Player, 50);
Wait Until(Is Using Ability 2(Event Player) == False, 99999);
Set Damage Dealt(Event Player, 100);
}
}
This rule activates when Genji is using Deflect (ability 2). It sets his damage to 50% (100% if you set it to 200% using the hero settings) and reverts to 100% (200%). The one problem I see is if Genji deflects a projectile and stops using Deflect, that projectile will deal 200%.
Thanks Man, I’ll test it and I’ll reply again in case it doesn’t work
How did it work? I’m having a hard time in my pve mode where, if genji player deflect the turret or molten core from ai torb, they will insta kill my bosses😂
It worked fine, the coding process sometimes bugged out so it process the code, so I’d put it as the one of the higher codes, I do that for all my fixes to ensure it stops bugging, good luck with you making your Custom