mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-01 22:56:39 +01:00
Core/Spells: Fixed spell effect value calculation
This commit is contained in:
@@ -568,6 +568,8 @@ int32 SpellEffectInfo::CalcValue(Unit const* caster /*= nullptr*/, int32 const*
|
||||
level = 0;
|
||||
value += level * basePointsPerLevel;
|
||||
}
|
||||
|
||||
basePoints = int32(round(value));
|
||||
}
|
||||
|
||||
float value = float(basePoints);
|
||||
|
||||
Reference in New Issue
Block a user