mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Scripts/Spells: fix Hypothermia
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user