mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-21 10:11:30 +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
|
// 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