How to tell how someone died
Posted: Wed May 29, 2013 3:23 am
I'm trying to trigger special effects based on how a monster was killed (so a main-hand attack triggers one effect, an off-hand attack triggers a different effects, talents and DoTs a third effect, etc.).
It looks like I could make up a last_damage_source field and set it as appropriate in preUseTalent, attackTarget, timedEffects, etc., then check it in die or on_die. But I don't know if I'm missing anything or if there's a cleaner solution.
Ideas or suggestions?
Thanks.
It looks like I could make up a last_damage_source field and set it as appropriate in preUseTalent, attackTarget, timedEffects, etc., then check it in die or on_die. But I don't know if I'm missing anything or if there's a cleaner solution.
Ideas or suggestions?
Thanks.