diff --git a/conf/AutoBalance.conf.dist b/conf/AutoBalance.conf.dist index b15d35a..dae1e96 100644 --- a/conf/AutoBalance.conf.dist +++ b/conf/AutoBalance.conf.dist @@ -824,22 +824,6 @@ AutoBalance.LevelScaling.DynamicLevel.PerInstance="229 -1 -1 1, 230 0 0" # 189 - Scarlet Monastery AutoBalance.LevelScaling.DynamicLevel.DistanceCheck.PerInstance="189 500" -# -# AutoBalance.LevelScaling.LevelEndGameBoost -# -# NOTICE: This setting is currently not implemented pending a rewrite. -# Enabling it here has NO effect. -# -# See: https://github.com/azerothcore/mod-autobalance/issues/156 -# -# Old description: -# End game creatures have an exponential (not linear) regression -# that is not correctly handled by db values. Keep this enabled -# to have stats as near possible to the official ones. -# -# Default: 0 (1 = ON, 0 = OFF) -AutoBalance.LevelScaling.EndGameBoost = 0 # setting to 1 does not do anything - ########################## # # Reward Scaling diff --git a/src/ABConfig.cpp b/src/ABConfig.cpp index 5b38abc..760ac95 100644 --- a/src/ABConfig.cpp +++ b/src/ABConfig.cpp @@ -88,7 +88,7 @@ uint32 MinPlayerReward; bool Announcement; -bool LevelScalingEndGameBoost; + bool PlayerChangeNotify; bool rewardEnabled; diff --git a/src/ABConfig.h b/src/ABConfig.h index 4e0ddc7..bf01645 100644 --- a/src/ABConfig.h +++ b/src/ABConfig.h @@ -58,7 +58,7 @@ extern uint32 MinPlayerRe extern bool Announcement; -extern bool LevelScalingEndGameBoost; + extern bool PlayerChangeNotify; extern bool rewardEnabled; diff --git a/src/ABWorldScript.cpp b/src/ABWorldScript.cpp index 87503e2..b7ae787 100644 --- a/src/ABWorldScript.cpp +++ b/src/ABWorldScript.cpp @@ -461,16 +461,7 @@ void AutoBalance_WorldScript::SetInitialWorldSettings() LevelScalingDynamicLevelCeilingHeroicRaids = sConfigMgr->GetOption("AutoBalance.LevelScaling.DynamicLevel.Ceiling.HeroicRaids", 3); LevelScalingDynamicLevelFloorHeroicRaids = sConfigMgr->GetOption("AutoBalance.LevelScaling.DynamicLevel.Floor.HeroicRaids", 5); - if (sConfigMgr->GetOption("AutoBalance.LevelEndGameBoost", false, false)) - LOG_WARN("server.loading", "mod-autobalance: deprecated value `AutoBalance.LevelEndGameBoost` defined in `AutoBalance.conf`. This variable will be removed in a future release. Please see `AutoBalance.conf.dist` for more details."); - LevelScalingEndGameBoost = sConfigMgr->GetOption("AutoBalance.LevelScaling.EndGameBoost", sConfigMgr->GetOption("AutoBalance.LevelEndGameBoost", 1, false), true); - - if (LevelScalingEndGameBoost) - { - LOG_WARN("server.loading", "mod-autobalance: `AutoBalance.LevelScaling.EndGameBoost` is enabled in the configuration, but is not currently implemented. No effect."); - LevelScalingEndGameBoost = 0; - } // // RewardScaling.*