mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
*Corrected factions in two scripts
--HG-- branch : trunk
This commit is contained in:
@@ -975,7 +975,8 @@ bool QuestAccept_npc_bessy(Player* player, Creature* creature, Quest const* ques
|
||||
{
|
||||
if (quest->GetQuestId() == Q_ALMABTRIEB)
|
||||
{
|
||||
creature->setFaction(1603);
|
||||
creature->setFaction(113);
|
||||
creature->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||
((npc_escortAI*)(creature->AI()))->Start(true, true, false, player->GetGUID());
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -126,8 +126,9 @@ bool QuestAccept_npc_ame(Player* player, Creature* creature, Quest const* quest)
|
||||
{
|
||||
((npc_escortAI*)(creature->AI()))->Start(false, true, false, player->GetGUID());
|
||||
DoScriptText(SAY_READY, creature, player);
|
||||
creature->SetUInt32Value(UNIT_FIELD_BYTES_1,0);
|
||||
// Change faction so mobs attack
|
||||
creature->setFaction(775);
|
||||
creature->setFaction(113);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user