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:
click
2010-07-19 14:17:30 +02:00
parent 84c6fa001c
commit ba36f1eb23
28 changed files with 43 additions and 43 deletions
@@ -62,7 +62,7 @@ struct boss_drektharAI : public ScriptedAI
uiYellTimer = urand(20*IN_MILLISECONDS,30*IN_MILLISECONDS); //20 to 30 seconds
}
void Aggro(Unit * /*who*/)
void EnterCombat(Unit * /*who*/)
{
DoScriptText(YELL_AGGRO, me);
}
@@ -55,7 +55,7 @@ struct boss_galvangarAI : public ScriptedAI
uiResetTimer = 5*IN_MILLISECONDS;
}
void Aggro(Unit * /*who*/)
void EnterCombat(Unit * /*who*/)
{
DoScriptText(YELL_AGGRO, me);
}
@@ -60,7 +60,7 @@ struct boss_vanndarAI : public ScriptedAI
uiYellTimer = urand(20*IN_MILLISECONDS,30*IN_MILLISECONDS);
}
void Aggro(Unit * /*who*/)
void EnterCombat(Unit * /*who*/)
{
DoScriptText(YELL_AGGRO, me);
}