Jump to content

[s0088][Mangos-0.12] Fix [Healing Way]


Recommended Posts

Posted

http://www.wowhead.com/search?q=Healing+Way

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 3c60a5d..744213f 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8043,7 +8043,7 @@ uint32 Unit::SpellHealingBonus(SpellEntry const *spellProto, uint32 healamount,
        Unit::AuraList const& auraDummy = pVictim->GetAurasByType(SPELL_AURA_DUMMY);
        for(Unit::AuraList::const_iterator itr = auraDummy.begin(); itr!=auraDummy.end(); ++itr)
            if((*itr)->GetId() == 29203)
-                TakenTotalMod *= (*itr)->GetModifier()->m_amount;
+                TakenTotalMod *= ((*itr)->GetModifier()->m_amount+100.0f)/100.0f;
    }

    heal = (heal + TakenTotal) * TakenTotalMod;

Bug caused [s0060] Backporting in [7190]

×
×
  • 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