Prevent Racial leaders PvP dropping due to faction rules
This commit is contained in:
parent
09f2a1f64d
commit
ef7fa1acde
@ -456,7 +456,8 @@ bool Creature::UpdateEntry(uint32 Entry, Team team, const CreatureData* data /*=
|
|||||||
if (factionTemplate->factionFlags & FACTION_TEMPLATE_FLAG_PVP)
|
if (factionTemplate->factionFlags & FACTION_TEMPLATE_FLAG_PVP)
|
||||||
SetPvP(true);
|
SetPvP(true);
|
||||||
else
|
else
|
||||||
SetPvP(false);
|
if (!IsRacialLeader())
|
||||||
|
SetPvP(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try difficulty dependend version before falling back to base entry
|
// Try difficulty dependend version before falling back to base entry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user