From 87b63b0975a22dcdacbadf4cf3040db27fc8e566 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 20 May 2020 20:05:49 -0400 Subject: [PATCH] Core/Spells: Fixed initializing spell power costs Port From (https://github.com/TrinityCore/TrinityCore/commit/dfdabdb97bdd776da4add3cd4f19cf5793160abf) --- Source/Game/Spells/Spell.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index a0044967e..b5e2ac770 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -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