[11289] Partially revert [11287] and try to do it properly this time.

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-03-26 08:04:36 +01:00
parent 989d229968
commit 40d87bfabf
3 changed files with 4 additions and 11 deletions

View file

@ -2148,6 +2148,9 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
// Sleeping Sleep
unitTarget->CastSpell(unitTarget, 62248, true);
unitTarget->setFaction(190); // Ambient (neutral)
unitTarget->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
return;
}
case 64385: // Spinning (from Unusual Compass)