mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Fix typo in 9d90c8245b and unintended change in b08900d033b51632e9adef8cb227a71a1061be5f.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user