This commit is contained in:
Revision
2024-07-12 13:48:46 +02:00
parent b60a4a3531
commit 031dd2c7be
4 changed files with 6 additions and 6 deletions

View File

@@ -197,7 +197,7 @@ bool SummonAction::Teleport(Player* summoner, Player* player)
return false;
}
if (sPlayerbotAIConfig->botReviveWhenSummon == 2 || (sPlayerbotAIConfig->botReviveWhenSummon == 1 && !master->IsInCombat() && master->IsAlive()))
if (bot->isDead() && sPlayerbotAIConfig->reviveBotWhenSummoned)
{
bot->ResurrectPlayer(1.0f, false);
botAI->TellMasterNoFacing("I live, again!");