Core/Spells: Fixed initializing spell power costs (#24579)

Closes #24315
This commit is contained in:
DuelistRag3
2020-05-07 00:06:33 +02:00
committed by GitHub
parent d1572327d2
commit dfdabdb97b

View File

@@ -2903,7 +2903,7 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect const* triggered
LoadScripts();
// Fill cost data (do not use power for item casts)
if (m_CastItem)
if (!m_CastItem)
m_powerCost = m_spellInfo->CalcPowerCost(m_caster, m_spellSchoolMask, this);
// Set combo point requirement