Jump to content

[fix][8692] Doomfire


Guest DonTomika

Recommended Posts

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

This patch should fix spell #31944 used by Archimonde.

For which repository revision was the patch created?

8220

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

Didn't find any.

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index b791240..e715b53 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -1618,8 +1618,13 @@ void Aura::TriggerSpell()
                    }
//                    // Bloodmyst Tesla
//                    case 31611: break;
-//                    // Doomfire
-//                    case 31944: break;
+                    // Doomfire
+                    case 31944:
+                    {
+                        int32 damage = m_modifier.m_amount * ((float)(GetAuraDuration() + m_modifier.periodictime) / GetAuraMaxDuration());
+                        target->CastCustomSpell(target, 31969, &damage, 0, 0, true, NULL, NULL, 0);
+                        return;
+                    }
//                    // Teleport Test
//                    case 32236: break;
//                    // Earthquake

Link to comment
Share on other sites

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