少年修仙传客户端代码仓库
hch
2024-11-19 d34f7243f254c959cd7927f0e133b9784da61900
0312 死亡问题测试
1个文件已修改
8 ■■■■■ 已修改文件
System/PlayerDead/PlayerDeadModel.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/PlayerDead/PlayerDeadModel.cs
@@ -15,10 +15,12 @@
    public override void Init()
    {
        Debug.Log("PlayerDeadModel 初始化");
        isKillByPlayer = false;
        FuncConfigConfig funcConfig = FuncConfigConfig.Get("RebornArguments");
        dungeonKillArray = ConfigParse.GetMultipleStr<int>(funcConfig.Numerical2);
        RebornConditions = ConfigParse.GetMultipleStr<int>(funcConfig.Numerical1);
        Debug.Log("PlayerDeadModel 初始化 二阶段" + funcConfig.Numerical1);
        FuncConfigConfig RebornTime = FuncConfigConfig.Get("DuplicatesRebornTime");
        duplicatesRebornDict = ConfigParse.GetDic<int, int>(RebornTime.Numerical1);
        FuncConfigConfig ElderBattlefieldRobot = FuncConfigConfig.Get("ElderBattlefieldRobot");
@@ -164,6 +166,12 @@
            return;
        }
        _tagMapModel = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
        if (RebornConditions == null)
        {
            Debug.Log("PlayerDeadModel 初始化 失败 RebornConditions == null");
        }
        rebornTiredNum = RebornConditions[0];
        rebornPrice = RebornConditions[2];
        if (_tagMapModel.MapFBType == 0 || PlayerDatas.Instance.baseData.MapID == 31020)