Core/Pvp: Add config option to enable warmode/pvptalents
This commit is contained in:
@@ -1169,6 +1169,7 @@ namespace Framework.Constants
|
|||||||
FeatureSystemBpayStoreEnabled,
|
FeatureSystemBpayStoreEnabled,
|
||||||
FeatureSystemCharacterUndeleteCooldown,
|
FeatureSystemCharacterUndeleteCooldown,
|
||||||
FeatureSystemCharacterUndeleteEnabled,
|
FeatureSystemCharacterUndeleteEnabled,
|
||||||
|
FeatureSystemWarModeEnabled,
|
||||||
ForceShutdownThreshold,
|
ForceShutdownThreshold,
|
||||||
GameobjectCheckInvalidPostion,
|
GameobjectCheckInvalidPostion,
|
||||||
GameType,
|
GameType,
|
||||||
|
|||||||
@@ -1080,8 +1080,8 @@ namespace Game
|
|||||||
|
|
||||||
features.CharUndeleteEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemCharacterUndeleteEnabled);
|
features.CharUndeleteEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemCharacterUndeleteEnabled);
|
||||||
features.BpayStoreEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemBpayStoreEnabled);
|
features.BpayStoreEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemBpayStoreEnabled);
|
||||||
|
features.WarModeFeatureEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemWarModeEnabled);
|
||||||
features.IsMuted = !CanSpeak();
|
features.IsMuted = !CanSpeak();
|
||||||
features.WarModeFeatureEnabled = true;
|
|
||||||
|
|
||||||
SendPacket(features);
|
SendPacket(features);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -871,6 +871,7 @@ namespace Game
|
|||||||
Values[WorldCfg.FeatureSystemBpayStoreEnabled] = GetDefaultValue("FeatureSystem.BpayStore.Enabled", false);
|
Values[WorldCfg.FeatureSystemBpayStoreEnabled] = GetDefaultValue("FeatureSystem.BpayStore.Enabled", false);
|
||||||
Values[WorldCfg.FeatureSystemCharacterUndeleteEnabled] = GetDefaultValue("FeatureSystem.CharacterUndelete.Enabled", false);
|
Values[WorldCfg.FeatureSystemCharacterUndeleteEnabled] = GetDefaultValue("FeatureSystem.CharacterUndelete.Enabled", false);
|
||||||
Values[WorldCfg.FeatureSystemCharacterUndeleteCooldown] = GetDefaultValue("FeatureSystem.CharacterUndelete.Cooldown", 2592000);
|
Values[WorldCfg.FeatureSystemCharacterUndeleteCooldown] = GetDefaultValue("FeatureSystem.CharacterUndelete.Cooldown", 2592000);
|
||||||
|
Values[WorldCfg.FeatureSystemWarModeEnabled] = GetDefaultValue("FeatureSystem.WarMode.Enabled", false);
|
||||||
|
|
||||||
// Dungeon finder
|
// Dungeon finder
|
||||||
Values[WorldCfg.LfgOptionsmask] = GetDefaultValue("DungeonFinder.OptionsMask", 1);
|
Values[WorldCfg.LfgOptionsmask] = GetDefaultValue("DungeonFinder.OptionsMask", 1);
|
||||||
|
|||||||
@@ -1268,6 +1268,14 @@ FeatureSystem.CharacterUndelete.Enabled = 0
|
|||||||
|
|
||||||
FeatureSystem.CharacterUndelete.Cooldown = 2592000
|
FeatureSystem.CharacterUndelete.Cooldown = 2592000
|
||||||
|
|
||||||
|
#
|
||||||
|
# FeatureSystem.WarMode.Enabled
|
||||||
|
# Description: Enables Warmode with access to PvpTalents.
|
||||||
|
# Default: 0 - (Disabled)
|
||||||
|
# 1 - (Enabled, Experimental)
|
||||||
|
|
||||||
|
FeatureSystem.WarMode.Enabled = 0
|
||||||
|
|
||||||
#
|
#
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user