Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion conf/AutoBalance.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ AutoBalance.LevelScaling.DynamicLevel.DistanceCheck.PerInstance="189 500"
# 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


##########################
#
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