aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2024-12-20 21:15:15 +0100
committerOvahlord <dreadkiller@gmx.de>2024-12-20 21:15:15 +0100
commita2925358f00a41b601b53f7ea62ee10a9b75fc45 (patch)
tree4d5938dd01894b50e2201d144f34bba50c05a6d8
parentb356decda9430b45ed8f06fda7d85cc774c85c14 (diff)
Core/Spells: allow RealPointsPerLevel to always apply when no scaling coefficient is provided
-rw-r--r--src/server/game/Spells/SpellInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp
index 7237bf123e6..3d4b590a59b 100644
--- a/src/server/game/Spells/SpellInfo.cpp
+++ b/src/server/game/Spells/SpellInfo.cpp
@@ -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)
{