function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
if getPlayerSlotItem(attacker, CONST_SLOT_ARMOR).itemid == 2494 then if primaryType ~= COMBAT_HEALING then
return primaryDamage * 1.08 , primaryType, secondaryDamage, secondaryType
end
end
-- end
return primaryDamage , primaryType, secondaryDamage , secondaryType
end
function onManaChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType)
if getPlayerSlotItem(attacker, CONST_SLOT_ARMOR).itemid == 2494 then
return primaryDamage * 1.08 , primaryType, secondaryDamage, secondaryType
end
return primaryDamage , primaryType, secondaryDamage , secondaryType
end