aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Northrend
diff options
context:
space:
mode:
authoroffl <11556157+offl@users.noreply.github.com>2022-07-18 00:55:46 +0300
committerShauren <shauren.trinity@gmail.com>2022-09-05 21:18:23 +0200
commit243efd378c383a42532f485b7dc9c2c3ae6cf3fd (patch)
tree508f2d4d9b1a399a80e3e129e3667da52be81280 /src/server/scripts/Northrend
parent2102eced8f12d742a4c9c4c868393c44b7e4949f (diff)
Scripts/Spells: Script 'Hate To' spells (#28129)
(cherry picked from commit d06842d42a0c140e76571fa30131a950be6d5faa)
Diffstat (limited to 'src/server/scripts/Northrend')
-rw-r--r--src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp
index c2c22702231..03a61fee5ea 100644
--- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp
+++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp
@@ -3075,35 +3075,6 @@ class spell_yogg_saron_keeper_aura : public SpellScriptLoader // 62650, 6267
}
};
-// 63984 - Hate to Zero
-class spell_yogg_saron_hate_to_zero : public SpellScriptLoader // 63984
-{
- public:
- spell_yogg_saron_hate_to_zero() : SpellScriptLoader("spell_yogg_saron_hate_to_zero") { }
-
- class spell_yogg_saron_hate_to_zero_SpellScript : public SpellScript
- {
- PrepareSpellScript(spell_yogg_saron_hate_to_zero_SpellScript);
-
- void HandleScript(SpellEffIndex /*effIndex*/)
- {
- if (Unit* target = GetHitUnit())
- if (target->CanHaveThreatList())
- target->GetThreatManager().ModifyThreatByPercent(GetCaster(), -100);
- }
-
- void Register() override
- {
- OnEffectHitTarget += SpellEffectFn(spell_yogg_saron_hate_to_zero_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_DUMMY);
- }
- };
-
- SpellScript* GetSpellScript() const override
- {
- return new spell_yogg_saron_hate_to_zero_SpellScript();
- }
-};
-
// 64184 - In the Maws of the Old God
class spell_yogg_saron_in_the_maws_of_the_old_god : public SpellScriptLoader // 64184
{
@@ -3267,7 +3238,6 @@ void AddSC_boss_yogg_saron()
new spell_yogg_saron_insane_periodic();
new spell_yogg_saron_lunatic_gaze();
new spell_yogg_saron_keeper_aura();
- new spell_yogg_saron_hate_to_zero();
new spell_yogg_saron_in_the_maws_of_the_old_god();
new spell_yogg_saron_titanic_storm();
new spell_yogg_saron_hodirs_protective_gaze();