Workshop.codes
Login
Create
MushaSnazz

Overwatch 2 Reworked (Defunct)

+ 2 sources

This code is over 6 months old. The code may have expired and might no longer function.

21 Comments

Log in or Sign up to leave a comment.
Macros over 3 years ago

This doesn't work anymore

van#12564 over 3 years ago

for some reason i can only use tank characters how do i fix this

oreoslurpee almost 4 years ago

i have another request, would it be fine if you could copy a rule below this comment where it only reduces sombra's hack duration to 3 seconds while giving her a 0.5 second cast time on hack? if thats not possible to do then her current 0.65 cast is fine

MushaSnazz#1563 creator almost 4 years ago

you'd have to replace hack entirely for it to work, so here's what i did!

variables
{
player:
67: SombraHackTarget
}

rule("Sombra Hack")
{
event
{
Ongoing - Each Player;
All;
Sombra;
}

conditions
{
Is Button Held(Event Player, Button(Secondary Fire)) == True;
Ability Cooldown(Event Player, Button(Secondary Fire)) == 0;
Is Alive(Event Player) == True;
}

actions
{
Wait(0.500, Abort When False);
If(Is In Line of Sight(Event Player, Player Closest To Reticle(Event Player, Opposite Team Of(Team Of(Event Player))),
Enemy Barriers Block LOS) == True);
Event Player.SombraHackTarget = Filtered Array(Player Closest To Reticle(Event Player, Opposite Team Of(Team Of(Event Player))), (
Is Alive(Current Array Element) && Distance Between(Event Player, Current Array Element) <= 20) == True);
End;
Abort If(Event Player.SombraHackTarget == 0);
Set Ability Cooldown(Event Player, Button(Secondary Fire), 6);
Set Status(Event Player.SombraHackTarget, Event Player, Hacked, 3);
Wait(3, Ignore Condition);
Event Player.SombraHackTarget = 0;
}
}

oreoslurpee almost 4 years ago

thanks!, real quick, shouldnt there be a action like "cancel primary action (event player)" to prevent the cast from completing? that way making the hack be 5 seconds?

MushaSnazz#1563 creator almost 4 years ago

i just turned the whole ability off in the hero settings but that would work too

Superjunior about 4 years ago

Or any stat exactly as you want?

Superjunior about 4 years ago

I always wondered how do you increase a characters hp exactly as you want?

oreoslurpee about 4 years ago

wow the work you did here is really amazing! i just have a request, can you reply to this comment with the role queue rule please? i want brig and doom to be tanks and sym as a support. ty <3

MushaSnazz#1563 creator about 4 years ago

here! i did u a solid and put brig, doom and symmetra where you wanted them <3

rule("Role Queue")
{
event
{
Ongoing - Each Player;
All;
All;
}

actions
{
If(Slot Of(Event Player) == 0);
Set Player Allowed Heroes(Event Player, Remove From Array(Allowed Heroes(Event Player), Remove From Array(All Heroes,
Append To Array(All Tank Heroes, Array(Hero(Doomfist), Hero(Brigitte))))));
Else If(Slot Of(Event Player) == 1 || Slot Of(Event Player) == 2);
Set Player Allowed Heroes(Event Player, Remove From Array(Allowed Heroes(Event Player), Remove From Array(All Heroes,
Remove From Array(All Damage Heroes, Array(Hero(Doomfist), Hero(Symmetra))))));
Else;
Set Player Allowed Heroes(Event Player, Remove From Array(Allowed Heroes(Event Player), Remove From Array(All Heroes, Array(Hero(
Ana), Hero(Baptiste), Hero(Lúcio), Hero(Mercy), Hero(Moira), Hero(Symmetra), Hero(Zenyatta)))));
End;
}
}

oreoslurpee about 4 years ago

it works, however when you select DPS echo doesnt show up as enabled anywhere. like not in the dps slot, tank slot or support slot

MushaSnazz#1563 creator about 4 years ago

so, um... i'm not having this issue at all. check your settings again, maybe? i think it's something else that's causing your issue

oreoslurpee about 4 years ago

im back! my bad, i thought she was disabled but i was wrong. however i have one more request, whats the rule snippet for making moira's self heal 30 instead of 24?

MushaSnazz#1563 creator about 4 years ago

i'm not sure what i did would work for you (i had two separate rules for her primary and secondary fire, and biotic orb's a nonissue for me), so here's something different. it might cause biotic orb to behave weirdly, so beware of that

rule("Moira Self-Healing Multiplier")
{
event
{
Ongoing - Each Player;
All;
Moira;
}

conditions
{
Is Firing Secondary(Event Player) == True;
}

actions
{
Set Healing Dealt(Event Player, 125);
Wait Until(Is Firing Secondary(Event Player) == False, 99999);
Set Healing Dealt(Event Player, 100);
}
}

MushaSnazz#1563 creator about 4 years ago

that’s… odd. i’ll try to fix that once i get the chance

oreoslurpee about 4 years ago

thank you so much, ive been wanting to do this for so long but didnt know how it worked!!

RafaelaCarrá#2933 about 4 years ago

hmmm I think that is not actually working this code

MushaSnazz#1563 creator about 4 years ago

what's not working for you? i can try to fix any bug you might find

RafaelaCarrá#2933 about 4 years ago

for example: I cant select any supports heroes

MushaSnazz#1563 creator about 4 years ago *

that's probably the role queue, did you put yourself in the bottom two slots? that should probably help

RafaelaCarrá#2933 about 4 years ago

oohh okay, now it works, tanks <3

Workshop.codes