From 1df708e085f1933b25cfe50eebc402574c3aa11e Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Fri, 17 Nov 2023 18:30:37 +0100 Subject: Core/Units: downgraded power types enum and disabled Death Knight rune regeneration mechanics for the time being --- src/server/game/Spells/SpellInfo.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/server/game/Spells/SpellInfo.cpp') diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 1e4d11a5a81..9276801cc6a 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -4025,9 +4025,6 @@ Optional SpellInfo::CalcPowerCost(SpellPowerEntry const* power, case POWER_MANA: powerCost += int32(CalculatePct(unitCaster->GetCreateMana(), power->PowerCostPct)); break; - case POWER_ALTERNATE_POWER: - TC_LOG_ERROR("spells", "SpellInfo::CalcPowerCost: Unknown power type POWER_ALTERNATE_POWER in spell {}", Id); - return {}; default: { if (PowerTypeEntry const* powerTypeEntry = sDB2Manager.GetPowerTypeEntry(Powers(power->PowerType))) -- cgit v1.2.3