How to set status using ability damage not event player dmg

If i was Widowmaker and i used ability 2 and the enemy got poisoned can i set the status for the victim frozen for 2s without using player dealt damage , i Don’t wanna use ability 2 and then use primary or secondary fire or punch the victim and he gets frozen status without even getting poisoned , can i do that by normal ability 2 damage? And is that possible? And if not is there something else i can do ? Please reply and help Thanks <3

You can check which ability was used to deal the damage by using Event Ability - in this case, you want to do the condition Event Ability == Button(Ability 2).

Though keep in mind that the venom mine is a damage over time, which means it’s gonna send out a lot of damage ticks over a short period of time, so you might want to add a wait for the duration of the poison (the wiki says it’s 5 seconds) at the very end of the rule, basically shutting it down for that time and preventing any new damage ticks from freezing the player again.

Ok so if i used the event ability Button 2 and event ability condition does that means the event player damage wont effect the status by dealing other dmgs ? And do i need to add player dealt damage? and lately i was trying to add the same for echo like her bombs freezes the enemies and i did and i faced the same problem , should i add the same condition for echo?

Yeah, if you set the event to Player Dealt Damage, the hero to Widowmaker, and the condition to Event Ability == Button(Ability 2), it will only trigger if Widow hurts someone with her venom mine.

If you want to do this with Echo, it’s pretty much the same thing, except you obviously replace the hero with Echo and the button in the condition with Secondary Fire.

Ok great but if the enemy got poisoned and while that i started damage the other enemies by any other damage like primary or secondary fire or melee except ability 2 are they going to get frozen status too ? And Anyways thank you so much for fast replying and helping , when i come back i will check if its working and message you back for any updates

If you damage anyone else through any ability other than venom mine, they should not be frozen.

Alright thanks for the help too <3