fix equip replace bug

This commit is contained in:
Yunfan Li
2023-07-14 14:46:02 +08:00
parent 88fcfc9c65
commit c21b534e47
5 changed files with 21 additions and 16 deletions

View File

@@ -169,6 +169,7 @@ bool SummonAction::Teleport(Player* summoner, Player* player)
if (bot->isDead() && botAI->GetMaster()->IsAlive())
{
bot->ResurrectPlayer(1.0f, false);
bot->DurabilityRepairAll(false, 1.0f, false);
botAI->TellMasterNoFacing("I live, again!");
}