@@ -194,9 +194,7 @@ public:
|
||||
if (HasEscortState(STATE_ESCORT_ESCORTING))
|
||||
{
|
||||
if (m_uiChatTimer <= uiDiff)
|
||||
{
|
||||
m_uiChatTimer = 12000;
|
||||
}
|
||||
else
|
||||
m_uiChatTimer -= uiDiff;
|
||||
}
|
||||
@@ -209,9 +207,7 @@ public:
|
||||
{
|
||||
DoScriptText(SAY_QUEST_ACCEPT, creature);
|
||||
if (Creature* Mrfloppy = GetClosestCreatureWithEntry(creature, NPC_MRFLOPPY, 180.0f))
|
||||
{
|
||||
Mrfloppy->GetMotionMaster()->MoveFollow(creature, PET_FOLLOW_DIST, PET_FOLLOW_ANGLE);
|
||||
}
|
||||
|
||||
if (npc_escortAI* pEscortAI = CAST_AI(npc_emily::npc_emilyAI, (creature->AI())))
|
||||
pEscortAI->Start(true, false, player->GetGUID());
|
||||
@@ -318,7 +314,7 @@ public:
|
||||
void SpellHit(Unit* pCaster, const SpellInfo* pSpell)
|
||||
{
|
||||
if (pSpell->Id == SPELL_OUTHOUSE_GROANS)
|
||||
{
|
||||
{
|
||||
++m_counter;
|
||||
if (m_counter < 5)
|
||||
DoCast(pCaster, SPELL_CAMERA_SHAKE, true);
|
||||
@@ -503,7 +499,6 @@ public:
|
||||
me->SetStandState(UNIT_STAND_STATE_STAND);
|
||||
me->DespawnOrUnsummon(DespawnTimer);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -511,6 +506,7 @@ public:
|
||||
{
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
@@ -695,12 +691,12 @@ public:
|
||||
|
||||
void AddSC_grizzly_hills()
|
||||
{
|
||||
new npc_emily;
|
||||
new npc_mrfloppy;
|
||||
new npc_outhouse_bunny;
|
||||
new npc_tallhorn_stag;
|
||||
new npc_amberpine_woodsman;
|
||||
new npc_wounded_skirmisher;
|
||||
new npc_emily();
|
||||
new npc_mrfloppy();
|
||||
new npc_outhouse_bunny();
|
||||
new npc_tallhorn_stag();
|
||||
new npc_amberpine_woodsman();
|
||||
new npc_wounded_skirmisher();
|
||||
new npc_lightning_sentry();
|
||||
new npc_venture_co_straggler();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user