aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2017-06-15 04:19:12 +0200
committertreeston <treeston.mmoc@gmail.com>2017-06-15 04:19:28 +0200
commit4b6351e6a5a2e2c986f3c0ea8e25bc76055c5b2c (patch)
tree0a1c6c50006aefe85f46550f7ae4a65b73971920 /src/server/scripts/Commands
parentd58fe103bf48b2b16cd0625f12d612b2918d291b (diff)
Fixes to all-reputation and all-skill custom option handling:
- Move on-create customs (all explored, all reputations) to CharacterHandler::HandlePlayerLogin for first login. Fixes #19839. - Add Wrath factions to all reputations custom (it only had BC factions). - Remove unused ReputationMgr::SendStates. Add ReputationMgr::SendState handling for sending all updated states in arbitrary order if nullptr is passed (used in point #1). - Fix all weapon skills max custom to properly apply on learning new weapon skills.
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp
index 5eadcf0e07d..cc38cd50f7d 100644
--- a/src/server/scripts/Commands/cs_misc.cpp
+++ b/src/server/scripts/Commands/cs_misc.cpp
@@ -1424,7 +1424,7 @@ public:
}
// each skills that have max skill value dependent from level seted to current level max skill value
- player->UpdateSkillsToMaxSkillsForLevel();
+ player->UpdateWeaponsSkillsToMaxSkillsForLevel();
return true;
}