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
+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);