Главная Форум Файлы
Вы находитесь: Wow-Good.Ru » WoW » Mists of Pandaria




Страница 1 из 11
Модератор форума: Влад 
Форум » TrinityCore » Патчи » Core/Spells: Execute spell procs after the healing effects o (src/server/game/Spells/Spell.cpp)
Core/Spells: Execute spell procs after the healing effects o
root Дата: Пятница, 13.04.2012, 10:55 | Сообщение # 1
HellCore Dev
Сообщений: 100
Репутация: 27
Награды: 1
else
procEx |= PROC_EX_NORMAL_HIT;

// Do triggers for unit (reflect triggers passed on hit phase for correct drop charge)
if (canEffectTrigger && missInfo != SPELL_MISS_REFLECT)
caster->ProcDamageAndSpell(unitTarget, procAttacker, procVictim, procEx, addhealth, m_attackType, m_spellInfo, m_triggeredByAuraSpell);

int32 gain = caster->HealBySpell(unitTarget, m_spellInfo, addhealth, crit);
unitTarget->getHostileRefManager().threatAssist(caster, float(gain) * 0.5f, m_spellInfo);
m_healing = gain;

// Do triggers for unit (reflect triggers passed on hit phase for correct drop charge)
if (canEffectTrigger && missInfo != SPELL_MISS_REFLECT)
caster->ProcDamageAndSpell(unitTarget, procAttacker, procVictim, procEx, addhealth, m_attackType, m_spellInfo, m_triggeredByAuraSpell);

}
// Do damage and triggers
else if (m_damage > 0)

 
Форум » TrinityCore » Патчи » Core/Spells: Execute spell procs after the healing effects o (src/server/game/Spells/Spell.cpp)
Страница 1 из 11
Поиск: