mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
fix IsInPvpProhibitedZone
This commit is contained in:
@@ -16,7 +16,7 @@ bool AttackEnemyPlayerAction::isUseful()
|
||||
if (bot->HasAura(23333) || bot->HasAura(23335) || bot->HasAura(34976))
|
||||
return false;
|
||||
|
||||
return !sPlayerbotAIConfig->IsInPvpProhibitedZone(bot->GetAreaId());
|
||||
return !sPlayerbotAIConfig->IsInPvpProhibitedZone(bot->GetZoneId());
|
||||
}
|
||||
|
||||
bool AttackEnemyFlagCarrierAction::isUseful()
|
||||
|
||||
Reference in New Issue
Block a user