Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect

Port From (https://github.com/TrinityCore/TrinityCore/commit/622eed752bc69fc4c34bb568d96d51913258f852)
This commit is contained in:
hondacrx
2023-06-13 04:48:55 -04:00
parent 533e1162f2
commit 160849fec1
9 changed files with 14 additions and 16 deletions
+1 -1
View File
@@ -401,7 +401,7 @@ namespace Scripts.Spells.Monk
public override bool Validate(SpellInfo spellInfo)
{
return ValidateSpellInfo(SpellIds.StaggerDamageAura)
&& !Global.SpellMgr.GetSpellInfo(SpellIds.StaggerDamageAura, Difficulty.None).GetEffects().Empty();
&& ValidateSpellEffect(SpellIds.StaggerDamageAura, 0);
}
public override bool Load()