Jump to content

[fix]Warrior t10 dps set bonuses


Guest laise

Recommended Posts

What bug does the patch fix? What features does the patch add?

fixes of 2p set bonus and fix 4p set bonus (not includes gcd part)

For which repository revision was the patch created?

9427

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

haven't seen any

Who has been writing this patch? Please include either forum user names or email addresses.

me

diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 0611853..0cb960c 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2602,6 +2602,15 @@ void Spell::cast(bool skipCheck)
                AddPrecastSpell(41425);                     // Hypothermia
            break;
        }
+        case SPELLFAMILY_WARRIOR:
+        {
+            // Item - Warrior T10 Melee 4P Bonus
+            if (m_spellInfo->Id == 46916 || m_spellInfo->Id == 52437)
+                if (Aura *aur = m_caster->GetAura(70847, EFFECT_INDEX_0))
+                    if (roll_chance_i(aur->GetModifier()->m_amount))
+                        AddTriggeredSpell(70849);
+            break;
+        }
        case SPELLFAMILY_PRIEST:
        {
            // Power Word: Shield

/*Item - Warrior T10 Melee 2P Bonus*/
DELETE FROM `spell_proc_event` WHERE entry = 70854;
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES('70854','0','5','0',0x00000010,'0','0','0','0','0','0');

Link to comment
Share on other sites

  • 8 months later...
  • 6 months later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use