Jump to content

[mangos 0.12] Deep Wounds typo fix


Guest CHEGOK

Recommended Posts

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

Fix Deep Wounds typo in comment Implement SPELL_ATTR_EX4_STACK_DOT_MODIFIER support. In 2.4.3 Deep Wounds still cause 20/40/60%

For which repository revision was the patch created?

Fixes in loot roll timer work and related cleanups.

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 63feb4a..7577f5a 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6946,9 +6946,9 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB

                switch (auraSpellInfo->Id)
                {
-                    case 12834: basepoints0 = int32(weaponDamage * 16 / 100); break;
-                    case 12849: basepoints0 = int32(weaponDamage * 32 / 100); break;
-                    case 12867: basepoints0 = int32(weaponDamage * 48 / 100); break;
+                    case 12834: basepoints0 = int32(weaponDamage * 20 / 100); break;
+                    case 12849: basepoints0 = int32(weaponDamage * 40 / 100); break;
+                    case 12867: basepoints0 = int32(weaponDamage * 60 / 100); break;
                    // Impossible case
                    default:
                        sLog.outError("Unit::HandleProcTriggerSpell: DW unknown spell rank %u",auraSpellInfo->Id);

Link to comment
Share on other sites

  • 1 year 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