mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 12:31:31 +00:00
always_aggro flag needed to be checked on assist
This commit is contained in:
parent
07664eedc0
commit
740f84dc22
@ -3379,7 +3379,7 @@ void NPC::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 (mob->GetLevel() >= 50 || attacker->GetLevelCon(mob->GetLevel()) != CON_GRAY) {
|
if (mob->GetLevel() >= 50 || mob->AlwaysAggro() || attacker->GetLevelCon(mob->GetLevel()) != CON_GRAY) {
|
||||||
if (mob->GetPrimaryFaction() == sender->CastToNPC()->GetPrimaryFaction()) {
|
if (mob->GetPrimaryFaction() == sender->CastToNPC()->GetPrimaryFaction()) {
|
||||||
const NPCFactionList *cf = content_db.GetNPCFactionEntry(mob->CastToNPC()->GetNPCFactionID());
|
const NPCFactionList *cf = content_db.GetNPCFactionEntry(mob->CastToNPC()->GetNPCFactionID());
|
||||||
if (cf) {
|
if (cf) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user