Тема: [patch] Lifebloom
Показать сообщение отдельно
Старый 25.01.2010, 17:00   #1
PSZ
UDB Fixer
 
Регистрация: 10.11.2009
Сообщений: 0
Сказал(а) спасибо: 21
Поблагодарили 19 раз(а) в 8 сообщениях
PSZ На верном пути
По умолчанию [patch] Lifebloom

Сейчас при 2-х и более стаках Lifebloom на цели финальный хил не умножается на количество стаков. Должен умножаться. http://www.wowwiki.com/Lifebloom "Each Lifebloom in a stack will bloom if the stack blooms, so if a 3-stack expires the direct heal will be three times that of a single Lifebloom, and the mana returned will likewise be for the whole stack."
Автор: наверное hunuza (после написания патча наткнулся на вот это: http://getmangos.com/community/showt...ll=1#post80950)
Патч:
Код:
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 9636fda..b51ec65 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2718,8 +2718,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
                     // final heal
                     if(m_target->IsInWorld() && m_stackAmount > 0)
                     {
-                        int32 amount = m_modifier.m_amount / m_stackAmount;
-                        m_target->CastCustomSpell(m_target, 33778, &amount, NULL, NULL, true, NULL, this, GetCasterGUID());
+                        m_target->CastCustomSpell(m_target, 33778, &m_modifier.m_amount, NULL, NULL, true, NULL, this, GetCasterGUID());
 
                         if (Unit* caster = GetCaster())
                         {

Последний раз редактировалось PSZ; 27.01.2010 в 09:28.
PSZ вне форума   Ответить с цитированием
4 пользователя(ей) сказали cпасибо:
KiriX (28.01.2010), `win (26.01.2010)