mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9154] Implement spell 20375 targets amount depndence from triggering source spell.
This commit is contained in:
parent
799919edc5
commit
3b64d57b02
2 changed files with 13 additions and 1 deletions
|
|
@ -1351,6 +1351,18 @@ void Spell::SetTargetMap(uint32 effIndex, uint32 targetMode, UnitList& targetUni
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case SPELLFAMILY_PALADIN:
|
||||||
|
if (m_spellInfo->Id == 20424) // Seal of Command (2 more target for single targeted spell)
|
||||||
|
{
|
||||||
|
// overwrite EffectChainTarget for non single target spell
|
||||||
|
if (Spell* currSpell = m_caster->GetCurrentSpell(CURRENT_GENERIC_SPELL))
|
||||||
|
if (currSpell->m_spellInfo->MaxAffectedTargets > 0 ||
|
||||||
|
currSpell->m_spellInfo->EffectChainTarget[0] > 0 ||
|
||||||
|
currSpell->m_spellInfo->EffectChainTarget[1] > 0 ||
|
||||||
|
currSpell->m_spellInfo->EffectChainTarget[2] > 0)
|
||||||
|
EffectChainTarget = 0; // no chain targets
|
||||||
|
}
|
||||||
|
break;
|
||||||
case SPELLFAMILY_DRUID:
|
case SPELLFAMILY_DRUID:
|
||||||
{
|
{
|
||||||
if (m_spellInfo->SpellFamilyFlags2 & 0x00000100)// Starfall
|
if (m_spellInfo->SpellFamilyFlags2 & 0x00000100)// Starfall
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9153"
|
#define REVISION_NR "9154"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue