diff --git a/Configs/GameConfig/Datas/SystemConfig.xlsx b/Configs/GameConfig/Datas/SystemConfig.xlsx index 2a994241..1e456995 100644 Binary files a/Configs/GameConfig/Datas/SystemConfig.xlsx and b/Configs/GameConfig/Datas/SystemConfig.xlsx differ diff --git a/UnityProject/Assets/AssetRaw/Configs/bytes/systemconfig_tbsystemconfig.bytes b/UnityProject/Assets/AssetRaw/Configs/bytes/systemconfig_tbsystemconfig.bytes index d453a9ef..dfb79b6d 100644 Binary files a/UnityProject/Assets/AssetRaw/Configs/bytes/systemconfig_tbsystemconfig.bytes and b/UnityProject/Assets/AssetRaw/Configs/bytes/systemconfig_tbsystemconfig.bytes differ diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs index 6c06311b..e3ad7989 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs @@ -159,7 +159,7 @@ namespace GameLogic private void AddMyPush() { // 最终结果值 = 初始推力+玩家数量 + 永久增加推力值 - m_AddPush = EventConts.InitPower + m_ListUnitPlayDatas.Count + m_AllAddPush; + m_AddPush = EventConts.InitPower + (m_ListUnitPlayDatas.Count * EventConts.PlayerScale) + m_AllAddPush ; foreach (var item in m_Buffs) { diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Common/EventConts.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Common/EventConts.cs index 4b478e8f..d005bd17 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Common/EventConts.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Common/EventConts.cs @@ -12,6 +12,7 @@ namespace GameLogic public static int MaxPlayerIds = 23; // 最多九个位置 public static int InitPower = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).InitPower; // 初始推力 + public static float PlayerScale = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).PlayerScale; // 初始推力 public static string GmPass = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).GmPassworld; // Gm解锁密码 public static bool isGmPass = false; // 是否解锁 public const int isZoneTimerBuffId = 6;// 特殊Buff diff --git a/UnityProject/Assets/GameScripts/HotFix/GameProto/GameConfig/systemConfig/SystemConfig.cs b/UnityProject/Assets/GameScripts/HotFix/GameProto/GameConfig/systemConfig/SystemConfig.cs index 8d3e3f0c..45ad71d0 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameProto/GameConfig/systemConfig/SystemConfig.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameProto/GameConfig/systemConfig/SystemConfig.cs @@ -22,6 +22,7 @@ public sealed partial class SystemConfig : Luban.BeanBase MaxPlayerId = _buf.ReadInt(); InitPower = _buf.ReadInt(); YongJiuPower = _buf.ReadInt(); + PlayerScale = _buf.ReadFloat(); GmPassworld = _buf.ReadString(); } @@ -55,6 +56,10 @@ public sealed partial class SystemConfig : Luban.BeanBase /// public readonly int YongJiuPower; /// + /// 玩家系数 + /// + public readonly float PlayerScale; + /// /// Gm解锁密码 /// public readonly string GmPassworld; @@ -75,6 +80,7 @@ public sealed partial class SystemConfig : Luban.BeanBase + "MaxPlayerId:" + MaxPlayerId + "," + "InitPower:" + InitPower + "," + "YongJiuPower:" + YongJiuPower + "," + + "PlayerScale:" + PlayerScale + "," + "GmPassworld:" + GmPassworld + "," + "}"; }