Jump to content

[fix]t10 paladin retribution set bonus


Guest laise

Recommended Posts

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

fixes Divine Storm cooldown reset for 2p set bonus

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/Unit.cpp b/src/game/Unit.cpp
index effa97a..45ad4e9 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6541,6 +6541,15 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                    target = this;
                    break;
                }
+                // Item - Paladin T10 Retribution 2P Bonus
+                case 70765:
+                {
+                    if (GetTypeId() != TYPEID_PLAYER)
+                        return false;
+
+                    ((Player*)this)->RemoveSpellCooldown(53385, true);
+                    return true;
+                }
            }
            break;
        }

Link to comment
Share on other sites

×
×
  • 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