*Remove some unused containers from Spell class.
--HG-- branch : trunk
This commit is contained in:
1 parent
c3343638cb
commit
77bd968c63
4 files changed
+5
-27
No files matched your search
@@ -1773,7 +1773,7 @@ void Spell::EffectDummy(uint32 i)
|
||||
}
|
||||
|
||||
targets.setUnitTarget(unitTarget);
|
||||
Spell* spell = new Spell(m_caster, spellInfo, triggered, m_originalCasterGUID, NULL, true);
|
||||
Spell* spell = new Spell(m_caster, spellInfo, triggered, m_originalCasterGUID, true);
|
||||
if (bp) spell->m_currentBasePoints[0] = SpellMgr::CalculateSpellEffectBaseAmount(bp, spellInfo, 0);
|
||||
spell->prepare(&targets);
|
||||
}
|
||||
@@ -1957,8 +1957,7 @@ void Spell::EffectTriggerSpell(uint32 effIndex)
|
||||
if (unitTarget->ToPlayer()->HasSpellCooldown(spellId))
|
||||
unitTarget->ToPlayer()->RemoveSpellCooldown(spellId);
|
||||
|
||||
// Push stealth to list because it must be handled after combat remove
|
||||
m_TriggerSpells.push_back(spellInfo);
|
||||
triggered_spell_id = spellId;
|
||||
return;
|
||||
}
|
||||
// Demonic Empowerment -- succubus
|
||||
|
||||
Reference in new issue
Block a user