mangosR2/scriptdev2 — comment on commit 52b501d176bd180c84fdc0577cb7108f9b802e6d
File: scripts/northrend/nexus/oculus/boss_drakos.cpp line 198
By Reamer:

better:
new variable:
float m_fNextMagicPull
in reset:
m_fNextMagicPull = 80
in updateAI
if (m_creature->GetHealthPercent() < m_fNextMagicPull)
{
if (DoCastSpellIfCan(m_creature, SPELL_MAGIC_PULL) == CAST_OK)
{
m_fNextMagicPull = m_fNextMagicPull -20.0f;
switch(urand(0,3))
case ...:
DoScriptText(....)
}
}

now you can delete this 4 bool(s) and a lot of code.