Jump to content

[5862][fix] Berserker Rage


Guest thenecromancer

Recommended Posts

Berserker Rage should increase rage generation from taken damage, not from damage dealt

Index: game/Player.cpp
===================================================================
--- game/Player.cpp        (revision 5456)
+++ game/Player.cpp        (working copy)
@@ -1707,13 +1707,15 @@

                // talent who gave more rage on attack
                addRage *= 1.0f + GetTotalAuraModifier(SPELL_AURA_MOD_RAGE_FROM_DAMAGE_DEALT) / 100.0f;
+        }
+        else
+        {
+                addRage = damage/rageconversion*2.5;

                // Berserker Rage effect
                if(GetAura(18499,0))
                        addRage *= 1.3;
        }
-        else
-                addRage = damage/rageconversion*2.5;

        addRage *= sWorld.getRate(RATE_POWER_RAGE_INCOME);

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 2 weeks 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