fix(Script/Spells): validate all rogue spells (#9164)
This commit is contained in:
parent
cb00a336df
commit
4fc673dc4a
1 changed files with 6 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class spell_rog_cheat_death : public AuraScript
|
|||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({ SPELL_ROGUE_CHEAT_DEATH_COOLDOWN });
|
||||
return ValidateSpellInfo({ SPELL_ROGUE_CHEAT_DEATH_COOLDOWN, SPELL_ROGUE_CHEATING_DEATH });
|
||||
}
|
||||
|
||||
bool Load() override
|
||||
|
|
@ -287,6 +287,11 @@ public:
|
|||
{
|
||||
PrepareSpellScript(spell_rog_killing_spree_SpellScript);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({ SPELL_ROGUE_KILLING_SPREE });
|
||||
}
|
||||
|
||||
SpellCastResult CheckCast()
|
||||
{
|
||||
// Kologarn area, Killing Spree should not work
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue