if(m_spellInfo->Id == 32379 || m_spellInfo->Id == 32996) { uint32 curHealth = unitTarget->GetHealth(); uint32 SpellDamage = damage; if(curHealth > uint32 (SpellDamage)) m_caster->ModifyHealth(-SpellDamage); }