BOWHIT trigger in stats triggers on melee hits too

Summary

the onBowHit trigger also triggers for melee hits when used as the trigger in a damage_bonus stat

Steps to reproduce

Add a damage_bonus stat that uses trigger BOWHIT and melee attack with the bow

Current behavior

It triggers for both bow hits and melee hits

Intended correct behavior

It should only trigger for arrows hitting

Server log file

https://pastebin.com/H2cAGzj4

Debug log snippet debug doesn't show anything

Assignee Loading
Time tracking Loading