Core/Config: Remove Rate.Talent config option that is not compatible with trait system

Port From (https://github.com/TrinityCore/TrinityCore/commit/9aeaedeefe66c33bb72b5a1b16b17ba82c191633)
This commit is contained in:
Hondacrx
2025-05-19 12:52:19 -04:00
parent 258bde8e13
commit aa297eb09d
3 changed files with 0 additions and 14 deletions
-6
View File
@@ -117,12 +117,6 @@ namespace Game
Values[WorldCfg.RateAuctionCut] = GetDefaultValue("Rate.Auction.Cut", 1.0f);
Values[WorldCfg.RateHonor] = GetDefaultValue("Rate.Honor", 1.0f);
Values[WorldCfg.RateInstanceResetTime] = GetDefaultValue("Rate.InstanceResetTime", 1.0f);
Values[WorldCfg.RateTalent] = GetDefaultValue("Rate.Talent", 1.0f);
if ((float)Values[WorldCfg.RateTalent] < 0.0f)
{
Log.outError(LogFilter.ServerLoading, "Rate.Talent ({0}) must be > 0. Using 1 instead.", Values[WorldCfg.RateTalent]);
Values[WorldCfg.RateTalent] = 1.0f;
}
Values[WorldCfg.RateMovespeed] = GetDefaultValue("Rate.MoveSpeed", 1.0f);
if ((float)Values[WorldCfg.RateMovespeed] < 0.0f)
{