All pastes #597160 Raw Edit

Untitled

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

		if(curHealth > uint32 (damage))
		{
			unitTarget->ModifyHealth(-damage);
			m_caster->ModifyHealth(-damage);
		}
		else 
		{
			unitTarget->ModifyHealth(-damage);
		}
	}