Core/Pvp: Add config option to enable warmode/pvptalents

This commit is contained in:
hondacrx
2021-01-27 00:16:20 -05:00
parent ae6affc44a
commit 869aa6bf56
4 changed files with 11 additions and 1 deletions
@@ -1169,6 +1169,7 @@ namespace Framework.Constants
FeatureSystemBpayStoreEnabled,
FeatureSystemCharacterUndeleteCooldown,
FeatureSystemCharacterUndeleteEnabled,
FeatureSystemWarModeEnabled,
ForceShutdownThreshold,
GameobjectCheckInvalidPostion,
GameType,
+1 -1
View File
@@ -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);
}
+1
View File
@@ -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);
+8
View File
@@ -1268,6 +1268,14 @@ FeatureSystem.CharacterUndelete.Enabled = 0
FeatureSystem.CharacterUndelete.Cooldown = 2592000
#
# FeatureSystem.WarMode.Enabled
# Description: Enables Warmode with access to PvpTalents.
# Default: 0 - (Disabled)
# 1 - (Enabled, Experimental)
FeatureSystem.WarMode.Enabled = 0
#
###################################################################################################