mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core/Spells: Strikes of Opportunity and Elemental Overload now have a 100ms internal cooldown according to blueposts
This commit is contained in:
2
sql/updates/world/custom/custom_2019_02_17_01_world.sql
Normal file
2
sql/updates/world/custom/custom_2019_02_17_01_world.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
UPDATE `spell_proc` SET `Cooldown`= 100 WHERE `SpellId`= 76838;
|
||||
UPDATE `spell_proc` SET `SpellPhaseMask`= 1, `Cooldown`= 100 WHERE `SpellId`= 77222;
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user