Fixed Forbearance. Also self-cast LoH will now correctly prevent Avenging Wrath for 30 s. Closes issue #1270. Thanks to _manuel_ for research.
--HG-- branch : trunk
This commit is contained in:
1 parent
2f17cff295
commit
20de79f6ba
4 files changed
+32
-16
No files matched your search
@@ -4757,7 +4757,11 @@ void Spell::EffectHealMaxHealth(uint32 /*i*/)
|
||||
if(m_spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN) // Lay on Hands
|
||||
{
|
||||
if (m_caster && m_caster->GetGUID() == unitTarget->GetGUID())
|
||||
m_caster->CastSpell(m_caster, 25771, true);
|
||||
{
|
||||
m_caster->CastSpell(m_caster, 25771, true); // Forbearance
|
||||
m_caster->CastSpell(m_caster, 61988, true); // Immune shield marker (serverside)
|
||||
m_caster->CastSpell(m_caster, 61987, true); // Avenging Wrath marker
|
||||
}
|
||||
|
||||
addhealth = m_caster->GetMaxHealth();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user