Jump to content

[fix] Runic Healing Injector


Guest lavinelu

Recommended Posts

Restores 2700 to 4500 health. Increased effect for engineers!

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

Increased effect for engineers! with 25%

For which repository revision was the patch created?

10401

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

No

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

me

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 99e74fe..470f309 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3352,6 +3352,13 @@ void Spell::EffectHeal(SpellEffectIndex /*eff_idx*/)

            addhealth += tickheal * tickcount;
        }
+        // Runic Healing Injector
+        else if (m_spellInfo->Id == 67489 && unitTarget->GetTypeId() == TYPEID_PLAYER)
+        {
+            Player* player = (Player*)unitTarget;
+            if (player->HasSkill(SKILL_ENGINERING))
+                addhealth *= 1.25;
+        }

        // Chain Healing
        if (m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN && m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000000100)) 

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