diff options
author | Mykhailo Redko <ovitnez@gmail.com> | 2024-02-21 12:38:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 11:38:37 +0100 |
commit | 4ed1cc5cf023ee7a14feb4483a4ab19bcdca2112 (patch) | |
tree | a0f159a13287ffa6300e5c6f5655191560e99ee3 /src | |
parent | f90d55e1ba0fe3def209e9ec401d48d0f8e2984d (diff) |
Core/Spells: Changed unintuitive behavior of SPELLVALUE_CRIT_CHANCE (#29730)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index bcef84cbdbe..d3937ff3147 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -7780,7 +7780,7 @@ void Spell::SetSpellValue(SpellValueMod mod, int32 value) m_spellValue->AuraStackAmount = uint8(value); break; case SPELLVALUE_CRIT_CHANCE: - m_spellValue->CriticalChance = value / 100.0f; // @todo ugly /100 remove when basepoints are double + m_spellValue->CriticalChance = value; break; } } |