Skip to content

Commit 73d4ad3

Browse files
Fix #218 Bad value defined - EndGameBoost (#221)
1 parent ef87d78 commit 73d4ad3

4 files changed

Lines changed: 2 additions & 27 deletions

File tree

conf/AutoBalance.conf.dist

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -824,22 +824,6 @@ AutoBalance.LevelScaling.DynamicLevel.PerInstance="229 -1 -1 1, 230 0 0"
824824
# 189 - Scarlet Monastery
825825
AutoBalance.LevelScaling.DynamicLevel.DistanceCheck.PerInstance="189 500"
826826

827-
#
828-
# AutoBalance.LevelScaling.LevelEndGameBoost
829-
#
830-
# NOTICE: This setting is currently not implemented pending a rewrite.
831-
# Enabling it here has NO effect.
832-
#
833-
# See: https://github.com/azerothcore/mod-autobalance/issues/156
834-
#
835-
# Old description:
836-
# End game creatures have an exponential (not linear) regression
837-
# that is not correctly handled by db values. Keep this enabled
838-
# to have stats as near possible to the official ones.
839-
#
840-
# Default: 0 (1 = ON, 0 = OFF)
841-
AutoBalance.LevelScaling.EndGameBoost = 0 # setting to 1 does not do anything
842-
843827
##########################
844828
#
845829
# Reward Scaling

src/ABConfig.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ uint32 MinPlayerReward;
8888

8989
bool Announcement;
9090

91-
bool LevelScalingEndGameBoost;
91+
9292
bool PlayerChangeNotify;
9393
bool rewardEnabled;
9494

src/ABConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extern uint32 MinPlayerRe
5858

5959
extern bool Announcement;
6060

61-
extern bool LevelScalingEndGameBoost;
61+
6262
extern bool PlayerChangeNotify;
6363
extern bool rewardEnabled;
6464

src/ABWorldScript.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -461,16 +461,7 @@ void AutoBalance_WorldScript::SetInitialWorldSettings()
461461
LevelScalingDynamicLevelCeilingHeroicRaids = sConfigMgr->GetOption<uint8>("AutoBalance.LevelScaling.DynamicLevel.Ceiling.HeroicRaids", 3);
462462
LevelScalingDynamicLevelFloorHeroicRaids = sConfigMgr->GetOption<uint8>("AutoBalance.LevelScaling.DynamicLevel.Floor.HeroicRaids", 5);
463463

464-
if (sConfigMgr->GetOption<float>("AutoBalance.LevelEndGameBoost", false, false))
465-
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.");
466464

467-
LevelScalingEndGameBoost = sConfigMgr->GetOption<bool>("AutoBalance.LevelScaling.EndGameBoost", sConfigMgr->GetOption<bool>("AutoBalance.LevelEndGameBoost", 1, false), true);
468-
469-
if (LevelScalingEndGameBoost)
470-
{
471-
LOG_WARN("server.loading", "mod-autobalance: `AutoBalance.LevelScaling.EndGameBoost` is enabled in the configuration, but is not currently implemented. No effect.");
472-
LevelScalingEndGameBoost = 0;
473-
}
474465

475466
//
476467
// RewardScaling.*

0 commit comments

Comments
 (0)