From fa5545ee71d5db55a8b7ec9eeb25967704af1be9 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Sun, 8 Oct 2023 20:11:00 +0800 Subject: [PATCH] bot revive --- src/strategy/actions/UseMeetingStoneAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/actions/UseMeetingStoneAction.cpp b/src/strategy/actions/UseMeetingStoneAction.cpp index f0348ae4..f0bfeeef 100644 --- a/src/strategy/actions/UseMeetingStoneAction.cpp +++ b/src/strategy/actions/UseMeetingStoneAction.cpp @@ -173,7 +173,7 @@ bool SummonAction::Teleport(Player* summoner, Player* player) if (summoner->IsWithinLOS(x, y, z)) { - if (sPlayerbotAIConfig->botReviveWhenSummon && bot->isDead() && botAI->GetMaster()->IsAlive()) + if (sPlayerbotAIConfig->botReviveWhenSummon && bot->isDead()) { bot->ResurrectPlayer(1.0f, false); bot->DurabilityRepairAll(false, 1.0f, false);