From d6017f3ef82e08b5620f6aaee2db90a5fdff3c53 Mon Sep 17 00:00:00 2001 From: maximius Date: Sun, 30 Aug 2009 04:08:50 -0700 Subject: *Brutallus, move intro start to MoveInLoneOfSight (works for other bosses..), translate some comments --HG-- branch : trunk --- .../eastern_kingdoms/sunwell_plateau/boss_brutallus.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_brutallus.cpp b/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_brutallus.cpp index 98733c845a5..67deee09d0b 100644 --- a/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_brutallus.cpp +++ b/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_brutallus.cpp @@ -106,12 +106,12 @@ struct TRINITY_DLL_DECL boss_brutallusAI : public ScriptedAI m_creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); Madrigosa = Unit::GetUnit(*m_creature, pInstance->GetData64(DATA_MADRIGOSA)); //Creature* boss = Unit::GetCreature((*m_creature),AzgalorGUID); - if (!Madrigosa) error_log("Madrigosa ist nicht zu finden"); + if (!Madrigosa) error_log("Madrigosa was not found"); if (Intro && Madrigosa){ if (!Madrigosa->isAlive()) EndIntro(); - else error_log("Madrigosa is Tod"); + else error_log("Madrigosa is dead"); } else EndIntro(); @@ -160,15 +160,15 @@ struct TRINITY_DLL_DECL boss_brutallusAI : public ScriptedAI Madrigosa->setActive(true); IsIntro = true; } - error_log("Starte das Intro"); + error_log("Start Intro"); } void EndIntro() { - error_log("Beende das Intro"); m_creature->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); Intro = false; IsIntro = false; + error_log("End Intro"); } void DoIntro() @@ -251,13 +251,13 @@ struct TRINITY_DLL_DECL boss_brutallusAI : public ScriptedAI { if (pInstance && Intro) pInstance->SetData(DATA_BRUTALLUS_EVENT, SPECIAL); - } - void UpdateAI(const uint32 diff) - { if (Intro && !IsIntro) StartIntro(); + } + void UpdateAI(const uint32 diff) + { if (IsIntro) { if (IntroPhaseTimer < diff){ -- cgit v1.2.3