From ef7fa1acde08cee12a0c7f2156e28c159e1551cd Mon Sep 17 00:00:00 2001 From: Olion Date: Sun, 25 Jun 2017 01:02:18 +0300 Subject: [PATCH] Prevent Racial leaders PvP dropping due to faction rules --- src/game/Object/Creature.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/Object/Creature.cpp b/src/game/Object/Creature.cpp index f5324364..c5fc9267 100644 --- a/src/game/Object/Creature.cpp +++ b/src/game/Object/Creature.cpp @@ -456,7 +456,8 @@ bool Creature::UpdateEntry(uint32 Entry, Team team, const CreatureData* data /*= if (factionTemplate->factionFlags & FACTION_TEMPLATE_FLAG_PVP) SetPvP(true); else - SetPvP(false); + if (!IsRacialLeader()) + SetPvP(false); } // Try difficulty dependend version before falling back to base entry