Jump to content

[Fix] [9023] Serpent Sting


Guest nos4r2zod

Recommended Posts

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

In 3.0.2, Serpent Sting was modified to give total bonus damage of 20% of the hunter's RAP rather than 10%.

For which repository revision was the patch created?

7885

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

Myself

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp

index 1a9c610..6a30da5 100644

--- a/src/game/SpellAuras.cpp

+++ b/src/game/SpellAuras.cpp

@@ -4360,8 +4360,8 @@ void Aura::HandlePeriodicDamage(bool apply, bool Real)

// Serpent Sting

if (m_spellProto->SpellFamilyFlags & 0x0000000000004000LL)

{

- // $RAP*0.1/5 bonus per tick

- m_modifier.m_amount += int32(caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 10 / 500);

+ // $RAP*0.2/5 bonus per tick

+ m_modifier.m_amount += int32(caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 20 / 500);

return;

}

// Immolation Trap

Link to comment
Share on other sites

  • 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