All pastes #480842 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-10 13:41 UTC
rendered paste body
Enraged = false;
if (!Enraged && (m_creature->GetHealth()*100 / m_creature->GetMaxHealth()) < 50)
{
//Cast
DoCast(m_creature,SPELL_ENRAGE);
Enraged = true;
}