Core\Misc: Fix build
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user