From 5c59995b3aaa4c917cc29bc48b057181768ceb7e Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 12 Mar 2018 15:00:01 -0400 Subject: [PATCH] Core\Misc: Fix build --- Source/Game/Spells/SpellManager.cs | 1 + Source/Scripts/Spells/Generic.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index 924b2934a..4083fca12 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -2635,6 +2635,7 @@ namespace Game.Entities case 70936: // Summon Suppressor (needs target selection script) spellInfo.GetEffect(0).TargetA = new SpellImplicitTargetInfo(Targets.UnitAny); spellInfo.GetEffect(0).TargetB = new SpellImplicitTargetInfo(); + spellInfo.RangeEntry = CliDB.SpellRangeStorage.LookupByKey(157); // 90yd break; case 70598: // Sindragosa's Fury spellInfo.GetEffect(0).TargetA = new SpellImplicitTargetInfo(Targets.DestDest); diff --git a/Source/Scripts/Spells/Generic.cs b/Source/Scripts/Spells/Generic.cs index 349023245..3885544ab 100644 --- a/Source/Scripts/Spells/Generic.cs +++ b/Source/Scripts/Spells/Generic.cs @@ -1977,7 +1977,7 @@ namespace Scripts.Spells.Generic { public override bool Validate(SpellInfo spellInfo) { - return ValidateSpellInfo(SPELL_PARALYSIS); + return ValidateSpellInfo(SpellIds.Paralysis); } void HandleStun(AuraEffect aurEff, AuraEffectHandleModes mode) @@ -1985,7 +1985,7 @@ namespace Scripts.Spells.Generic if (GetTargetApplication().GetRemoveMode() != AuraRemoveMode.Expire) return; - GetTarget().CastSpell((Unit)null, SPELL_PARALYSIS, true, null, aurEff); + GetTarget().CastSpell((Unit)null, SpellIds.Paralysis, true, null, aurEff); } public override void Register()