aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2021-04-11 12:48:41 +0200
committerjackpoz <giacomopoz@gmail.com>2021-04-11 12:48:41 +0200
commitf8bd46cf8c65d2066975c523eaabba665480f747 (patch)
treed0ca20b9ee0fe3e53eaf8c53f9006c4482bae7a9 /src
parent11d9a4e2518a7deef59086bdfad6803285b45724 (diff)
Core/Misc: Fix typo
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Player/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp
index f166bbdf985..51f5586c78c 100644
--- a/src/server/game/Entities/Player/Player.cpp
+++ b/src/server/game/Entities/Player/Player.cpp
@@ -20269,7 +20269,7 @@ void Player::_SaveStats(CharacterDatabaseTransaction trans) const
stmt->setFloat(index++, GetFloatValue(PLAYER_CRIT_PERCENTAGE));
stmt->setFloat(index++, GetFloatValue(PLAYER_RANGED_CRIT_PERCENTAGE));
- // Store the max spell scrit percentage out of all the possible schools
+ // Store the max spell crit percentage out of all the possible schools
float spellCrit = 0.0f;
for (int i = 0; i < MAX_SPELL_SCHOOL; ++i)
spellCrit = std::max(spellCrit, GetFloatValue(PLAYER_SPELL_CRIT_PERCENTAGE1 + i));