mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[9091] Add max targets limit for spell 34861 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also implement glyph 42396 work for referenced spells.
This commit is contained in:
parent
e5dfeea31e
commit
2087aa2876
3 changed files with 12 additions and 2 deletions
|
|
@ -1332,6 +1332,16 @@ void Spell::SetTargetMap(uint32 effIndex, uint32 targetMode, UnitList& targetUni
|
|||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_PRIEST:
|
||||
if(m_spellInfo->SpellVisual[0] == 8253) // Circle of Healing
|
||||
{
|
||||
unMaxTargets = 5;
|
||||
|
||||
// Glyph of Circle of Healing
|
||||
if(Aura const* glyph = m_caster->GetDummyAura(55675))
|
||||
unMaxTargets += glyph->GetModifier()->m_amount;
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_DRUID:
|
||||
{
|
||||
if (m_spellInfo->SpellFamilyFlags2 & 0x00000100)// Starfall
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue