I just started modding, and I'm trying to make a skill that returns damage to attackers. Is there a way to do this? I've looked into the Berserker tree and understand how to apply a buff when attacked, but can't find a way to cast something on an attacking enemy.
If it's targeted it will target the attacking enemy (or at least it should given the playerHitEffectBuffs for certain items).