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:
1 parent
2fe8c2f41e
commit
153e88a16b
1 file changed
+1
@@ -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