30ac4f5 follow-up. (Finally, Keader. Finally.)

(cherry picked from commit c81f221e4817271a2778938bdc427734413ae42c)
This commit is contained in:
treeston
2020-07-16 22:00:29 +02:00
committed by Carbenium
parent ec9fbaceb0
commit 64baba77b6
@@ -82,7 +82,7 @@ void HomeMovementGenerator<Creature>::DoFinalize(Creature* owner)
owner->SetWalk(true);
owner->LoadCreaturesAddon();
owner->AI()->JustReachedHome();
if (owner->isRegeneratingHealth() && (owner->IsDungeonBoss() || owner->isWorldBoss()))
if (owner->isRegeneratingHealth())
{
owner->SetFullHealth();
owner->SetPower(POWER_MANA, owner->GetMaxPower(POWER_MANA));