Scripts/Spells: fix Hypothermia

This commit is contained in:
ariel-
2018-03-10 03:55:35 -03:00
parent 0c2a6dee07
commit 1a2c6f6545

View File

@@ -1002,12 +1002,12 @@ class spell_mage_ice_block : public SpellScript
bool Validate(SpellInfo const* spellInfo) override
{
return ValidateSpellInfo({ spellInfo->ExcludeTargetAuraSpell });
return ValidateSpellInfo({ spellInfo->ExcludeCasterAuraSpell });
}
void TriggerHypothermia()
{
GetCaster()->CastSpell(nullptr, GetSpellInfo()->ExcludeTargetAuraSpell, true);
GetCaster()->CastSpell(nullptr, GetSpellInfo()->ExcludeCasterAuraSpell, true);
}
void Register() override