mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core: Blood Furnace - Broggok event
Move prisoners back in cages after respawn. They didn't reset correctly for players which were still in the instance after wipe
This commit is contained in:
@@ -316,6 +316,7 @@ class instance_blood_furnace : public InstanceMapScript
|
||||
if (!prisoner->isAlive())
|
||||
prisoner->Respawn(true);
|
||||
prisoner->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC | UNIT_FLAG_IMMUNE_TO_NPC | UNIT_FLAG_NON_ATTACKABLE);
|
||||
prisoner->GetMotionMaster()->MoveTargetedHome();
|
||||
}
|
||||
|
||||
void StorePrisoner(Creature* creature)
|
||||
|
||||
Reference in New Issue
Block a user