Jump to content

Recommended Posts

Posted

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

adds correct triggered spell

For which repository revision was the patch created?

should work on latest

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

http://getmangos.eu/community/viewtopic.php?id=10886

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 d89e39c..ea3d998 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -7238,6 +7238,13 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB

            break;
        }
+        // Blessing of Ancient Kings
+        case 64411:
+        {
+            trigger_spell_id = 64413;
+            basepoints[0] = int32(damage * 0.15f);
+            break;
+        }
    }
    // Blade Barrier
    if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && auraSpellInfo->SpellIconID == 85)

  • 39 years later...
  • 2 months later...
Posted

update for 9531

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 9fe0d9f..d275558 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5678,6 +5678,17 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                    pVictim->RemoveSpellsCausingAura(SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
                    return true;
                }
+                // Blessing of Ancient Kings
+                case 64411:
+                {
+                    // for DOT procs
+                    if (!IsPositiveSpell(procSpell->Id))
+                        return false;
+
+                    triggered_spell_id = 64413;
+                    basepoints[0] = damage * 15 / 100;
+                    break;
+                }
            }
            break;
        }

Guest
This topic is now closed to further replies.
×
×
  • 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