mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 01:19:08 +00:00
Pvp Prohibited Areas
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->GetZoneId());
|
||||
return !sPlayerbotAIConfig->IsPvpProhibited(bot->GetZoneId(), bot->GetAreaId());
|
||||
}
|
||||
|
||||
bool AttackEnemyFlagCarrierAction::isUseful()
|
||||
|
||||
Reference in New Issue
Block a user