mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
fix(Core/AI): Don't set boss state to none if already complete (#19139)
This commit is contained in:
@@ -653,7 +653,7 @@ void BossAI::_JustEngagedWith()
|
||||
void BossAI::_EnterEvadeMode(EvadeReason why)
|
||||
{
|
||||
CreatureAI::EnterEvadeMode(why);
|
||||
if (instance)
|
||||
if (instance && instance->GetBossState(_bossId) != DONE)
|
||||
{
|
||||
instance->SetBossState(_bossId, NOT_STARTED);
|
||||
instance->SaveToDB();
|
||||
|
||||
Reference in New Issue
Block a user