All pastes #597227 Raw Edit

Miscellany

public text v1 · immutable
#597227 ·published 2007-06-30 13:52 UTC
rendered paste body
	if(m_spellInfo->Id == 32379 || m_spellInfo->Id == 32996)
	{
		uint32 curHealth = unitTarget->GetHealth();  
        uint32 SpellDamage = damage;

		if(curHealth > uint32 (SpellDamage))
			m_caster->ModifyHealth(-SpellDamage);
	}