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:
Gacko
2012-09-03 20:08:17 +02:00
parent 2fe8c2f41e
commit 153e88a16b

View File

@@ -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)