mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
[Quest] Kodo Roundup
by @pete318, closes #12811 Fixes the remaining bugs in the "Kodo Roundup" quest in Desolace: - removes combat status from creature 11627, Tamed Kodo - sets normal walking speed as the creature's follow speed - makes the Tamed Kodo stop at Scrabblescrew's Camp - enables quest objective count 0/5 -> 5/5, quest complete - SQL (by @tkrokli) links the missing gossip text in the DB
This commit is contained in:
@@ -88,12 +88,20 @@ public:
|
||||
DoCast(me, SPELL_KODO_KOMBO_DESPAWN_BUFF, true);
|
||||
|
||||
me->UpdateEntry(NPC_TAMED_KODO);
|
||||
me->CombatStop();
|
||||
me->DeleteThreatList();
|
||||
me->SetSpeed(MOVE_RUN, 0.6f, true);
|
||||
me->GetMotionMaster()->MoveFollow(caster, PET_FOLLOW_DIST, me->GetFollowAngle());
|
||||
me->setActive(true);
|
||||
}
|
||||
}
|
||||
else if (spell->Id == SPELL_KODO_KOMBO_GOSSIP)
|
||||
{
|
||||
me->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
|
||||
me->SetHomePosition(me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), me->GetOrientation());
|
||||
me->GetMotionMaster()->Clear();
|
||||
me->GetMotionMaster()->MoveIdle();
|
||||
me->setActive(false);
|
||||
me->DespawnOrUnsummon(60000);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user