Clean up old (and partially unused) Aggro() function and use EnterCombat() instead + fix some minor enum-typos (INTURRUPT -> INTERRUPT)
(fix by Azazel) --HG-- branch : trunk
This commit is contained in:
@@ -96,7 +96,7 @@ struct boss_noxxionAI : public ScriptedAI
|
||||
//Adds_Timer
|
||||
if (!Invisible && Adds_Timer <= diff)
|
||||
{
|
||||
//Inturrupt any spell casting
|
||||
//Interrupt any spell casting
|
||||
//me->m_canMove = true;
|
||||
me->InterruptNonMeleeSpells(false);
|
||||
me->setFaction(35);
|
||||
|
||||
@@ -325,7 +325,7 @@ struct npc_muglashAI : public npc_escortAI
|
||||
}
|
||||
}
|
||||
|
||||
void Aggro(Unit* /*pWho*/)
|
||||
void EnterCombat(Unit* /*pWho*/)
|
||||
{
|
||||
if (HasEscortState(STATE_ESCORT_PAUSED))
|
||||
{
|
||||
|
||||
@@ -125,7 +125,7 @@ struct npc_giltharesAI : public npc_escortAI
|
||||
}
|
||||
}
|
||||
|
||||
void Aggro(Unit* pWho)
|
||||
void EnterCombat(Unit* pWho)
|
||||
{
|
||||
//not always use
|
||||
if (rand()%4)
|
||||
|
||||
Reference in New Issue
Block a user