Hi!
I was wondering is there was the possibility to create a workshop rule that provides Widowmaker with 25 temp health per enemy hit by venom mine. lasting 3s
Hi!
I was wondering is there was the possibility to create a workshop rule that provides Widowmaker with 25 temp health per enemy hit by venom mine. lasting 3s
I’m very amateur at workshop but what about something like:
Event : player took damage
Condition : compare hero of attacker = hero widowmaker
Damage taken == (whatever damage each tick of the poison is)
Action: give temporary health pool normal health “X amount” to attacker
Wait 3 seconds
Remove temporary health pool?
Not sure if that’s possible or if it would conflict with other people poisoned. If so then you can maybe create a variable with her max health and make it so when someone takes damage from the poison it adds up to the max health and after 3 sec it subtracts it
25 overhealth for 3 seconds per enemy hit:
Event
Player Took Damage
All
All
Conditions
Hero Of(Attacker) == Hero(Widowmaker)
Event Ability == Button(Ability 2)
Actions
Add Health Pool To Player(Attacker, Health, 25, False, False)
Set Player Variable At Index(Attacker, A, Slot Of(Event Player), Last Created Health Pool)
Wait(3, Ignore Condition)
Remove Health Pool From Player(Value In Array(Player Variable(Attacker, A), Slot Of(Event Player)))
Wait(3, Ignore Condition)
You store the Health Pool ID to remove it after 3 seconds, using the victim’s slot as the index to make it unique.
The last wait is to prevent the rule to activate again because Venom Mine lasts for 5 seconds, so without the Wait, after removing the overhealth, you would get it again.
thank you both for the replies. This has worked thank you so much!