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
+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()