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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user