Fix typo in 9d90c8245b and unintended change in b08900d033b51632e9adef8cb227a71a1061be5f.

This commit is contained in:
kaelima
2011-09-07 15:09:53 +02:00
parent 5e81be4fec
commit 6078eebc45
2 changed files with 1 additions and 3 deletions

View File

@@ -726,7 +726,7 @@ void Spell::SpellDamageSchoolDmg(SpellEffIndex effIndex)
{
// Deep Freeze should deal damage to permanently stun-immune targets.
if (m_spellInfo->Id == 71757)
if (unitTarget->GetTypeId() != TYPEID_UNIT || !(unitTarget->IsImmunedToSpellEffect(sSpellMgr->GetSpellInfo(24932), 0)))
if (unitTarget->GetTypeId() != TYPEID_UNIT || !(unitTarget->IsImmunedToSpellEffect(sSpellMgr->GetSpellInfo(44572), 0)))
return;
break;
}

View File

@@ -190,7 +190,6 @@ class instance_ruby_sanctum : public InstanceMapScript
HandleGameObject(FlameWallsGUID, true);
if (Creature* zarithrian = instance->GetCreature(GeneralZarithrianGUID))
zarithrian->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
SaveToDB();
}
break;
}
@@ -201,7 +200,6 @@ class instance_ruby_sanctum : public InstanceMapScript
HandleGameObject(FlameWallsGUID, true);
if (Creature* zarithrian = instance->GetCreature(GeneralZarithrianGUID))
zarithrian->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
SaveToDB();
}
break;
}