mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-11 04:11:39 +00:00
Level 50+ NPCs will now respond to yells for help regardless of con color
This commit is contained in:
1 parent
e89fa01d89
commit
1d12f92934
1 file changed
+1
-1
+1
-1
@@ -508,7 +508,7 @@ void EntityList::AIYellForHelp(Mob* sender, Mob* attacker) {
|
||||
{
|
||||
//if they are in range, make sure we are not green...
|
||||
//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;
|
||||
if(mob->GetPrimaryFaction() == sender->CastToNPC()->GetPrimaryFaction())
|
||||
|
||||
Reference in new issue
Block a user