*Fix Typos in Utgarde Keep Scripts - by Anubisss

--HG--
branch : trunk
This commit is contained in:
BroodWyrm
2009-03-14 21:38:23 +01:00
parent 1b33b14f3e
commit 8695a4afaf
4 changed files with 8 additions and 10 deletions
@@ -459,16 +459,16 @@ void AddSC_boss_ingvar_the_plunderer()
newscript = new Script;
newscript->Name="boss_ingvar_the_plunderer";
newscript->GetAI = GetAI_boss_ingvar_the_plunderer;
newscript->GetAI = &GetAI_boss_ingvar_the_plunderer;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="mob_annhylde_the_caller";
newscript->GetAI = GetAI_mob_annhylde_the_caller;
newscript->GetAI = &GetAI_mob_annhylde_the_caller;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="mob_ingvar_throw_dummy";
newscript->GetAI = GetAI_mob_ingvar_throw_dummy;
newscript->GetAI = &GetAI_mob_ingvar_throw_dummy;
newscript->RegisterSelf();
}
@@ -336,6 +336,6 @@ void AddSC_boss_keleseth()
newscript = new Script;
newscript->Name="mob_vrykul_skeleton";
newscript->GetAI = GetAI_mob_vrykul_skeleton;
newscript->GetAI = &GetAI_mob_vrykul_skeleton;
newscript->RegisterSelf();
}
@@ -391,11 +391,11 @@ void AddSC_boss_skarvald_dalronn()
newscript = new Script;
newscript->Name="boss_skarvald_the_constructor";
newscript->GetAI = GetAI_boss_skarvald_the_constructor;
newscript->GetAI = &GetAI_boss_skarvald_the_constructor;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="boss_dalronn_the_controller";
newscript->GetAI = GetAI_boss_dalronn_the_controller;
newscript->GetAI = &GetAI_boss_dalronn_the_controller;
newscript->RegisterSelf();
}
@@ -43,8 +43,6 @@ struct TRINITY_DLL_DECL instance_utgarde_keep : public ScriptedInstance
uint64 Dalronn;
uint64 Ingvar;
bool IsBossDied[2];
uint32 Encounters[ENCOUNTERS];
std::string str_data;
@@ -151,7 +149,7 @@ struct TRINITY_DLL_DECL instance_utgarde_keep : public ScriptedInstance
{
//HandleGameObject(doorname, 0);
}
Encounters[3] = data; break;
Encounters[2] = data; break;
}
if (data == DONE)
@@ -166,7 +164,7 @@ struct TRINITY_DLL_DECL instance_utgarde_keep : public ScriptedInstance
{
case DATA_PRINCEKELESETH: return Encounters[0];
case DATA_SKARVALD_DALRONN_EVENT: return Encounters[1];
case DATA_INGVAR: return Encounters[3];
case DATA_INGVAR: return Encounters[2];
}
return 0;