Core/Spells: Fixed initializing spell power costs

Port From (https://github.com/TrinityCore/TrinityCore/commit/dfdabdb97bdd776da4add3cd4f19cf5793160abf)
This commit is contained in:
hondacrx
2020-05-20 20:05:49 -04:00
parent ea80678e9a
commit 87b63b0975
+1 -1
View File
@@ -2386,7 +2386,7 @@ namespace Game.Spells
LoadScripts();
// Fill cost data (not use power for item casts
if (m_CastItem)
if (m_CastItem == null)
m_powerCost = m_spellInfo.CalcPowerCost(m_caster, m_spellSchoolMask, this);
// Set combo point requirement