From 15a934bdbdbfd7cfbb31f2d6aa43cda85ce50782 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sun, 17 Feb 2019 03:05:06 +0100 Subject: [PATCH] Core/Spells: Strikes of Opportunity and Elemental Overload now have a 100ms internal cooldown according to blueposts --- sql/updates/world/custom/custom_2019_02_17_01_world.sql | 2 ++ src/server/scripts/Spells/spell_warrior.cpp | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 sql/updates/world/custom/custom_2019_02_17_01_world.sql diff --git a/sql/updates/world/custom/custom_2019_02_17_01_world.sql b/sql/updates/world/custom/custom_2019_02_17_01_world.sql new file mode 100644 index 00000000000..e4bbad304d8 --- /dev/null +++ b/sql/updates/world/custom/custom_2019_02_17_01_world.sql @@ -0,0 +1,2 @@ +UPDATE `spell_proc` SET `Cooldown`= 100 WHERE `SpellId`= 76838; +UPDATE `spell_proc` SET `SpellPhaseMask`= 1, `Cooldown`= 100 WHERE `SpellId`= 77222; diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index 6ed9decef70..be07cf44b46 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -1077,10 +1077,6 @@ class spell_warr_strikes_of_opportunity : public AuraScript bool CheckProc(ProcEventInfo& eventInfo) { - if (SpellInfo const* spell = eventInfo.GetSpellInfo()) - if (spell->Id == SPELL_WARRIOR_OPPORTUNITY_STRIKE) - return false; - return roll_chance_i(GetEffect(EFFECT_0)->GetAmount()); }