Skip to content

Commit

Permalink
Core/Spells: Fixed initializing spell power costs (#24579)
Browse files Browse the repository at this point in the history
Closes #24315
  • Loading branch information
DuelistRag3 committed May 6, 2020
1 parent d157232 commit dfdabdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Spells/Spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfdabdb

Please sign in to comment.