Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions conf/AutoBalance.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ABConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ uint32 MinPlayerReward;

bool Announcement;

bool LevelScalingEndGameBoost;

bool PlayerChangeNotify;
bool rewardEnabled;

Expand Down
2 changes: 1 addition & 1 deletion src/ABConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ extern uint32 MinPlayerRe

extern bool Announcement;

extern bool LevelScalingEndGameBoost;

extern bool PlayerChangeNotify;
extern bool rewardEnabled;

Expand Down
9 changes: 0 additions & 9 deletions src/ABWorldScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,16 +461,7 @@ void AutoBalance_WorldScript::SetInitialWorldSettings()
LevelScalingDynamicLevelCeilingHeroicRaids = sConfigMgr->GetOption<uint8>("AutoBalance.LevelScaling.DynamicLevel.Ceiling.HeroicRaids", 3);
LevelScalingDynamicLevelFloorHeroicRaids = sConfigMgr->GetOption<uint8>("AutoBalance.LevelScaling.DynamicLevel.Floor.HeroicRaids", 5);

if (sConfigMgr->GetOption<float>("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<bool>("AutoBalance.LevelScaling.EndGameBoost", sConfigMgr->GetOption<bool>("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.*
Expand Down