aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/3.3.5/2016_12_30_00_world_335.sql1
-rw-r--r--src/server/scripts/Spells/spell_rogue.cpp34
2 files changed, 1 insertions, 34 deletions
diff --git a/sql/updates/world/3.3.5/2016_12_30_00_world_335.sql b/sql/updates/world/3.3.5/2016_12_30_00_world_335.sql
new file mode 100644
index 00000000000..8fb35ad279f
--- /dev/null
+++ b/sql/updates/world/3.3.5/2016_12_30_00_world_335.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_rog_turn_the_tables_proc';
diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp
index ad5dafff0c4..78c84048aec 100644
--- a/src/server/scripts/Spells/spell_rogue.cpp
+++ b/src/server/scripts/Spells/spell_rogue.cpp
@@ -1117,39 +1117,6 @@ class spell_rog_turn_the_tables : public SpellScriptLoader
}
};
-// 52910,52914,52915 - Turn the Tables proc
-class spell_rog_turn_the_tables_proc : public SpellScriptLoader
-{
- public:
- spell_rog_turn_the_tables_proc() : SpellScriptLoader("spell_rog_turn_the_tables_proc") { }
-
- class spell_rog_turn_the_tables_proc_SpellScript : public SpellScript
- {
- PrepareSpellScript(spell_rog_turn_the_tables_proc_SpellScript);
-
- void FilterTargets(std::list<WorldObject*>& targets)
- {
- targets.clear();
-
- Unit* target = GetOriginalCaster();
- if (!target)
- return;
-
- targets.push_back(target);
- }
-
- void Register() override
- {
- OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_rog_turn_the_tables_proc_SpellScript::FilterTargets, EFFECT_0, TARGET_UNIT_CASTER_AREA_RAID);
- }
- };
-
- SpellScript* GetSpellScript() const override
- {
- return new spell_rog_turn_the_tables_proc_SpellScript();
- }
-};
-
void AddSC_rogue_spell_scripts()
{
new spell_rog_blade_flurry();
@@ -1172,5 +1139,4 @@ void AddSC_rogue_spell_scripts()
new spell_rog_honor_among_thieves();
new spell_rog_honor_among_thieves_proc();
new spell_rog_turn_the_tables();
- new spell_rog_turn_the_tables_proc();
}