Core/Pvp: Add config option to enable warmode/pvptalents
This commit is contained in:
@@ -1080,8 +1080,8 @@ namespace Game
|
||||
|
||||
features.CharUndeleteEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemCharacterUndeleteEnabled);
|
||||
features.BpayStoreEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemBpayStoreEnabled);
|
||||
features.WarModeFeatureEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemWarModeEnabled);
|
||||
features.IsMuted = !CanSpeak();
|
||||
features.WarModeFeatureEnabled = true;
|
||||
|
||||
SendPacket(features);
|
||||
}
|
||||
|
||||
@@ -871,6 +871,7 @@ namespace Game
|
||||
Values[WorldCfg.FeatureSystemBpayStoreEnabled] = GetDefaultValue("FeatureSystem.BpayStore.Enabled", false);
|
||||
Values[WorldCfg.FeatureSystemCharacterUndeleteEnabled] = GetDefaultValue("FeatureSystem.CharacterUndelete.Enabled", false);
|
||||
Values[WorldCfg.FeatureSystemCharacterUndeleteCooldown] = GetDefaultValue("FeatureSystem.CharacterUndelete.Cooldown", 2592000);
|
||||
Values[WorldCfg.FeatureSystemWarModeEnabled] = GetDefaultValue("FeatureSystem.WarMode.Enabled", false);
|
||||
|
||||
// Dungeon finder
|
||||
Values[WorldCfg.LfgOptionsmask] = GetDefaultValue("DungeonFinder.OptionsMask", 1);
|
||||
|
||||
Reference in New Issue
Block a user