Try this:
Paste it only after
<event type="statschange" name="ReflectDamage" event="script"><![CDATA[
local slotPos = {CONST_SLOT_NECKLACE, CONST_SLOT_FEET, CONST_SLOT_RING}
function onStatsChange(cid, attacker, type, combat, value)
if isCreature(cid) == true and isCreature(attacker) ==...