mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
[7557] Fixed triggered spells which ImplicitTarget is 0 like 50516 and ranks Author: arrai
--HG-- branch : trunk
This commit is contained in:
@@ -539,7 +539,8 @@ void Spell::FillTargetMap()
|
||||
case SPELL_EFFECT_LEARN_SPELL:
|
||||
if(m_targets.getUnitTarget())
|
||||
tmpUnitMap.push_back(m_targets.getUnitTarget());
|
||||
else
|
||||
// Triggered spells have additional spell targets - cast them even if no explicit unit target is given (required for spell 50516 for example)
|
||||
else if(m_spellInfo->Effect[i] == SPELL_EFFECT_TRIGGER_SPELL)
|
||||
tmpUnitMap.push_back(m_caster);
|
||||
break;
|
||||
case SPELL_EFFECT_SUMMON_PLAYER:
|
||||
|
||||
Reference in New Issue
Block a user