mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Spells: Fixed initializing spell power costs (#24579)
Closes #24315
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user