diff options
author | Ovahlord <dreadkiller@gmx.de> | 2024-12-20 21:15:15 +0100 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-12-20 21:15:15 +0100 |
commit | a2925358f00a41b601b53f7ea62ee10a9b75fc45 (patch) | |
tree | 4d5938dd01894b50e2201d144f34bba50c05a6d8 | |
parent | b356decda9430b45ed8f06fda7d85cc774c85c14 (diff) |
Core/Spells: allow RealPointsPerLevel to always apply when no scaling coefficient is provided
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 2 |
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) { |