PDA

Просмотр полной версии : [patch] Lifebloom


PSZ
25.01.2010, 17:00
Сейчас при 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/showthread.php?8802-%5BBug%5D-Lifebloom-final-heal-coef-Rev-8099&p=80950&viewfull=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
Добавил авторство.