Jump to content

[9253][fix]Deadly Poison AP bonus


Guest laise

Recommended Posts

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

fixes Deadly Poison attack power bonus (3.1 patch notes)

For which repository revision was the patch created?

9138

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/SpellAuras.cpp b/src/game/SpellAuras.cpp
index dcb9c60..85327d1 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -4753,8 +4753,8 @@ void Aura::HandlePeriodicDamage(bool apply, bool Real)
                // Deadly Poison
                if (m_spellProto->SpellFamilyFlags & UI64LIT(0x0000000000010000))
                {
-                    // 0.08*$AP / 4 * amount of stack
-                    m_modifier.m_amount += int32(caster->GetTotalAttackPowerValue(BASE_ATTACK) * 2 * GetStackAmount() / 100);
+                    // 0.12*$AP / 4 * amount of stack
+                    m_modifier.m_amount += int32(caster->GetTotalAttackPowerValue(BASE_ATTACK) * 3 * GetStackAmount() / 100);
                    return;
                }
                break;

Link to comment
Share on other sites

  • 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