Working on hostile NPCs, fixing darklands mode for battle zone

This commit is contained in:
Vladislav Khorev committed 2026-11-07 00:03:03 +06:00
1 parent 2e6b93f3ac
commit f4bd3b6bed
24 files changed
+23930 -1457

No files matched your search

+1 -2
View File
@@ -86,6 +86,7 @@ void InternalGameServer::initializeCampaign(
campaign.id = campaignId;
campaign.questsPath = questsPath;
startCampaign(campaign, zipFile, true, true);
//startCampaign(campaign, zipFile, true, false);
}
void InternalGameServer::startCampaign(
@@ -420,8 +421,6 @@ void InternalGameServer::submit(const GameCommand& command)
character->stopInPlace();
character->faceTargetId.clear();
character->attackTargetId.clear();
if (value.enabled && !character->isPlayer && character->canAttack)
character->attackTargetId = "player";
character->battle_state = 0;
}
} else if constexpr (std::is_same_v<T, ClearCharacterAttackTargetCommand>) {