diff options
Diffstat (limited to 'src/scripts/northrend/icecrown.cpp')
-rw-r--r-- | src/scripts/northrend/icecrown.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/northrend/icecrown.cpp b/src/scripts/northrend/icecrown.cpp index 15f50e74fb7..362075ee1ee 100644 --- a/src/scripts/northrend/icecrown.cpp +++ b/src/scripts/northrend/icecrown.cpp @@ -191,7 +191,7 @@ struct npc_argent_valiantAI : public ScriptedAI pCreature->GetMotionMaster()->MovePoint(0,8599.258,963.951,547.553); pCreature->setFaction(35); //wrong faction in db? } - + uint32 uiChargeTimer; uint32 uiShieldBreakerTimer; @@ -200,7 +200,7 @@ struct npc_argent_valiantAI : public ScriptedAI uiChargeTimer = 7000; uiShieldBreakerTimer = 10000; } - + void MovementInform(uint32 uiType, uint32 uiId) { if (uiType != POINT_MOTION_TYPE) @@ -220,7 +220,7 @@ struct npc_argent_valiantAI : public ScriptedAI m_creature->SetHomePosition(m_creature->GetPositionX(),m_creature->GetPositionY(),m_creature->GetPositionZ(),m_creature->GetOrientation()); EnterEvadeMode(); } - } + } void UpdateAI(const uint32 uiDiff) { @@ -238,7 +238,7 @@ struct npc_argent_valiantAI : public ScriptedAI DoCastVictim(SPELL_SHIELD_BREAKER); uiShieldBreakerTimer = 10000; } else uiShieldBreakerTimer -= uiDiff; - + DoMeleeAttackIfReady(); } }; |