This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-06-14 16:01:00 +08:00
parent 9b12d3bdbf
commit 50ad57bb03
5 changed files with 8 additions and 1 deletions

View File

@ -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)
{

View File

@ -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

View File

@ -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
/// </summary>
public readonly int YongJiuPower;
/// <summary>
/// 玩家系数
/// </summary>
public readonly float PlayerScale;
/// <summary>
/// Gm解锁密码
/// </summary>
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 + ","
+ "}";
}