mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 04:22:26 +00:00
Level 50+ NPCs will now respond to yells for help regardless of con color
This commit is contained in:
parent
e89fa01d89
commit
1d12f92934
@ -508,7 +508,7 @@ void EntityList::AIYellForHelp(Mob* sender, Mob* attacker) {
|
|||||||
{
|
{
|
||||||
//if they are in range, make sure we are not green...
|
//if they are in range, make sure we are not green...
|
||||||
//then jump in if they are our friend
|
//then jump in if they are our friend
|
||||||
if(attacker->GetLevelCon(mob->GetLevel()) != CON_GREEN)
|
if(mob->GetLevel() >= 50 || attacker->GetLevelCon(mob->GetLevel()) != CON_GREEN)
|
||||||
{
|
{
|
||||||
bool useprimfaction = false;
|
bool useprimfaction = false;
|
||||||
if(mob->GetPrimaryFaction() == sender->CastToNPC()->GetPrimaryFaction())
|
if(mob->GetPrimaryFaction() == sender->CastToNPC()->GetPrimaryFaction())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user