Core/Spells: allow RealPointsPerLevel to always apply when no scaling coefficient is provided

This commit is contained in:
Ovahlord
2024-12-20 21:15:15 +01:00
parent b356decda9
commit a2925358f0

View File

@@ -528,7 +528,7 @@ int32 SpellEffectInfo::CalcValue(WorldObject const* caster /*= nullptr*/, int32
if (Scaling.ResourceCoefficient)
comboDamage = Scaling.ResourceCoefficient * value;
}
else if (GetScalingExpectedStat() == ExpectedStatType::None)
else
{
if (casterUnit && basePointsPerLevel != 0.0)
{