Core/Spells: Fixed initializing spell power costs
Port From (https://github.com/TrinityCore/TrinityCore/commit/dfdabdb97bdd776da4add3cd4f19cf5793160abf)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user