Can someone help me? i want to make Widow’s Ultimate to deal damage over time for each shot the enemy receives, like Ana’s weapon.
Player Dealt Damage
Conditions:
- Hero of/Hero Duplicating == Hero(Widowmaker)
- Event Ability == Button(Primary Fire)
- Is Using Ultimate
- (Optional to make it scoped only), Is Using Secondary Fire
Actions:
- Start Damage Over Time(event player (damage credit), victim (deal damage to), {Time to deal damage for}, {amount to deal per second})
- Wait({Time to deal damage for}) (prevent the damage over time triggering a damage over time)
(this script was no tested in-game, as if it was i would’ve just copied pasted the snippet, instead of writing a mock up from memory, but i believe it’ll work)
edit: oh & in case you want it as a global effect not just the widowmaker do:
Player Took Damage
Conditions:
- Is True for Any(players on hero(widowmaker, opposite team of(team of(event player), is using ultimate(current array element)
Actions:
- Start Damage Over Time(attacker (damage credit), event player(deal damage to), {Time to deal damage for}, {amount to deal per second})
- Wait({Time to deal damage for}) (prevent the damage over time triggering a damage over time)
Okay, thank u <3 I’ll try it, because i want to make Widow’s Ultimate more useful in combat.
Edit: i think i did something wrong because it doesn’t work at all