Core\Misc: Fix build

This commit is contained in:
hondacrx
2018-03-12 15:00:01 -04:00
parent 517afda91e
commit 5c59995b3a
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -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);
+2 -2
View File
@@ -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()