mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
Merge pull request #986 from regneq/master
Faction conning indifferent regardless of faction level in no-combat zones.
This commit is contained in:
commit
1d907564e9
@ -7797,6 +7797,8 @@ FACTION_VALUE Client::GetFactionLevel(uint32 char_id, uint32 npc_id, uint32 p_ra
|
||||
// few optimizations
|
||||
if (GetFeigned())
|
||||
return FACTION_INDIFFERENT;
|
||||
if(!zone->CanDoCombat())
|
||||
return FACTION_INDIFFERENT;
|
||||
if (invisible_undead && tnpc && !tnpc->SeeInvisibleUndead())
|
||||
return FACTION_INDIFFERENT;
|
||||
if (IsInvisible(tnpc))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user