*Fix forbearance.
*Fix new ranks of Holy Nova. *Fix Imp. holy concentration. --HG-- branch : trunk
This commit is contained in:
1 parent
98b8e2eeb6
commit
50d2fc34ec
3 files changed
+30
-8
No files matched your search
+14
-8
@@ -1127,7 +1127,20 @@ void Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask)
|
||||
|
||||
// Apply additional spell effects to target
|
||||
if (m_preCastSpell)
|
||||
m_caster->CastSpell(unit,m_preCastSpell, true, m_CastItem);
|
||||
{
|
||||
// Special spell id
|
||||
// TODO: Handle all of special spells in one place?
|
||||
if(m_preCastSpell==61988)
|
||||
{
|
||||
//Cast forbearance
|
||||
m_caster->CastSpell(unit,25771, true, m_CastItem);
|
||||
// Cast Avenging Wrath Marker
|
||||
m_caster->CastSpell(unit,61987, true, m_CastItem);
|
||||
}
|
||||
else
|
||||
m_caster->CastSpell(unit,m_preCastSpell, true, m_CastItem);
|
||||
}
|
||||
|
||||
|
||||
for(uint32 effectNumber=0;effectNumber<3;effectNumber++)
|
||||
{
|
||||
@@ -2179,13 +2192,6 @@ void Spell::cast(bool skipCheck)
|
||||
m_preCastSpell = 23230; // Blood Fury - Healing Reduction
|
||||
break;
|
||||
}
|
||||
|
||||
case SPELLFAMILY_PRIEST:
|
||||
{
|
||||
if (m_spellInfo->Id == 47585) // Dispersion (transform)
|
||||
m_preCastSpell = 60069; // Dispersion (mana regen)
|
||||
break;
|
||||
}
|
||||
}
|
||||
// traded items have trade slot instead of guid in m_itemTargetGUID
|
||||
// set to real guid to be sent later to the client
|
||||
|
||||
Reference in new issue
Block a user