mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Faction always conned indifferent in no combat zone such as PoK, Nexus, etc regardless of faction level as evident with Planar Traveler's Manual (faction modifier) and restocking high quality ore (faction reward) in Bazaar and PoK.
This commit is contained in:
parent
dce5dea609
commit
1b15ee141d
@ -7797,6 +7797,8 @@ FACTION_VALUE Client::GetFactionLevel(uint32 char_id, uint32 npc_id, uint32 p_ra
|
|||||||
// few optimizations
|
// few optimizations
|
||||||
if (GetFeigned())
|
if (GetFeigned())
|
||||||
return FACTION_INDIFFERENT;
|
return FACTION_INDIFFERENT;
|
||||||
|
if(!zone->CanDoCombat())
|
||||||
|
return FACTION_INDIFFERENT;
|
||||||
if (invisible_undead && tnpc && !tnpc->SeeInvisibleUndead())
|
if (invisible_undead && tnpc && !tnpc->SeeInvisibleUndead())
|
||||||
return FACTION_INDIFFERENT;
|
return FACTION_INDIFFERENT;
|
||||||
if (IsInvisible(tnpc))
|
if (IsInvisible(tnpc))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user