Hey guys,
I trying to make this work. Can someone help me?
creaturescripts.xml
<event type="healthchange" name="crit" script="crit.lua" />
crit.lua
function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)...