Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect
Port From (https://github.com/TrinityCore/TrinityCore/commit/622eed752bc69fc4c34bb568d96d51913258f852)
This commit is contained in:
@@ -1134,7 +1134,7 @@ namespace Scripts.Spells.Priest
|
||||
public override bool Validate(SpellInfo spellInfo)
|
||||
{
|
||||
return ValidateSpellInfo(SpellIds.PrayerOfMendingHeal, SpellIds.PrayerOfMendingAura)
|
||||
&& !Global.SpellMgr.GetSpellInfo(SpellIds.PrayerOfMendingHeal, Difficulty.None).GetEffects().Empty();
|
||||
&& ValidateSpellEffect(SpellIds.PrayerOfMendingHeal, 0);
|
||||
}
|
||||
|
||||
public override bool Load()
|
||||
|
||||
Reference in New Issue
Block a user