Working on hostile NPCs, fixing darklands mode for battle zone
This commit is contained in:
1 parent
2e6b93f3ac
commit
f4bd3b6bed
24 files changed
+23930
-1457
No files matched your search
@@ -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>) {
|
||||
|
||||
Reference in new issue
Block a user