Core/Players: Remove deprecated skill related config AlwaysMaxWeaponSkill and command .maxskill

Port From (https://github.com/TrinityCore/TrinityCore/commit/bbdabd7d776a86dcb25954faf119797d52c2a425)
This commit is contained in:
hondacrx
2020-07-12 00:44:24 -04:00
parent c06baf1bf5
commit 0f5801d9f4
7 changed files with 7 additions and 71 deletions
-3
View File
@@ -5409,9 +5409,6 @@ namespace Game.Entities
UpdateAllStats();
if (WorldConfig.GetBoolValue(WorldCfg.AlwaysMaxskill)) // Max weapon skill when leveling up
UpdateSkillsToMaxSkillsForLevel();
_ApplyAllLevelScaleItemMods(true); // Moved to above SetFullHealth so player will have full health from Heirlooms
Aura artifactAura = GetAura(PlayerConst.ArtifactsAllWeaponsGeneralWeaponEquippedPassive);