mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Quest/Script: Kodo Roundup
Fix faction issue and handle the gossip correctly via the script
This commit is contained in:
@@ -91,9 +91,11 @@ public:
|
||||
me->UpdateEntry(NPC_TAMED_KODO);
|
||||
me->CombatStop();
|
||||
me->GetThreatManager().ClearAllThreat();
|
||||
me->SetFaction(FACTION_FRIENDLY);
|
||||
me->SetSpeedRate(MOVE_RUN, 0.6f);
|
||||
me->GetMotionMaster()->MoveFollow(caster, PET_FOLLOW_DIST, me->GetFollowAngle());
|
||||
me->setActive(true);
|
||||
me->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
|
||||
}
|
||||
}
|
||||
else if (spell->Id == SPELL_KODO_KOMBO_GOSSIP)
|
||||
|
||||
Reference in New Issue
Block a user