mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
This commit is contained in:
@@ -35,8 +35,6 @@ enum TorchSpells
|
||||
// 45724 - Braziers Hit!
|
||||
class spell_midsummer_braziers_hit : public AuraScript
|
||||
{
|
||||
PrepareAuraScript(spell_midsummer_braziers_hit);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo(
|
||||
@@ -73,8 +71,6 @@ class spell_midsummer_braziers_hit : public AuraScript
|
||||
// 45907 - Torch Target Picker
|
||||
class spell_midsummer_torch_target_picker : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_midsummer_torch_target_picker);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({ SPELL_TARGET_INDICATOR_COSMETIC, SPELL_TARGET_INDICATOR });
|
||||
@@ -96,8 +92,6 @@ class spell_midsummer_torch_target_picker : public SpellScript
|
||||
// 46054 - Torch Toss (land)
|
||||
class spell_midsummer_torch_toss_land : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_midsummer_torch_toss_land);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({ SPELL_BRAZIERS_HIT });
|
||||
@@ -128,8 +122,6 @@ enum RibbonPoleData
|
||||
// 29705, 29726, 29727 - Test Ribbon Pole Channel
|
||||
class spell_midsummer_test_ribbon_pole_channel : public AuraScript
|
||||
{
|
||||
PrepareAuraScript(spell_midsummer_test_ribbon_pole_channel);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo(
|
||||
@@ -173,8 +165,6 @@ class spell_midsummer_test_ribbon_pole_channel : public AuraScript
|
||||
// 45406 - Holiday - Midsummer, Ribbon Pole Periodic Visual
|
||||
class spell_midsummer_ribbon_pole_periodic_visual : public AuraScript
|
||||
{
|
||||
PrepareAuraScript(spell_midsummer_ribbon_pole_periodic_visual);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo(
|
||||
@@ -220,8 +210,6 @@ enum JugglingTorch
|
||||
// 45819 - Throw Torch
|
||||
class spell_midsummer_juggle_torch : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_midsummer_juggle_torch);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({
|
||||
@@ -277,8 +265,6 @@ class spell_midsummer_juggle_torch : public SpellScript
|
||||
// 45644 - Juggle Torch (Catch)
|
||||
class spell_midsummer_torch_catch : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_midsummer_torch_catch);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({ SPELL_GIVE_TORCH });
|
||||
@@ -314,8 +300,6 @@ enum FlingTorch
|
||||
// 46747 - Fling torch
|
||||
class spell_midsummer_fling_torch : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_midsummer_fling_torch);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({ SPELL_FLING_TORCH_TRIGGERED, SPELL_FLING_TORCH_SHADOW });
|
||||
@@ -337,8 +321,6 @@ class spell_midsummer_fling_torch : public SpellScript
|
||||
// 45669 - Fling Torch
|
||||
class spell_midsummer_fling_torch_triggered : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_midsummer_fling_torch_triggered);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({ SPELL_JUGGLE_TORCH_MISSED });
|
||||
@@ -366,8 +348,6 @@ class spell_midsummer_fling_torch_triggered : public SpellScript
|
||||
// 45671 - Juggle Torch (Catch, Quest)
|
||||
class spell_midsummer_fling_torch_catch : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_midsummer_fling_torch_catch);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({
|
||||
@@ -427,8 +407,6 @@ class spell_midsummer_fling_torch_catch : public SpellScript
|
||||
// 45676 - Juggle Torch (Quest, Missed)
|
||||
class spell_midsummer_fling_torch_missed : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_midsummer_fling_torch_missed);
|
||||
|
||||
void FilterTargets(std::list<WorldObject*>& targets)
|
||||
{
|
||||
// This spell only hits the caster
|
||||
|
||||
Reference in New Issue
Block a user