少年修仙传客户端代码仓库
5745 【前端】【1.5】仙盟联赛副本中死亡支持玩家使用原地复活(与现有的原地复活逻辑一致)
1个文件已修改
10 ■■■■ 已修改文件
System/PlayerDead/PlayerDeadModel.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/PlayerDead/PlayerDeadModel.cs
@@ -176,11 +176,11 @@
            return;
        }
        _tagMapModel = Config.Instance.Get<MapConfig>(PlayerDatas.Instance.baseData.MapID);
        rebornTiredNum = RebornConditions[0];
        rebornPrice = RebornConditions[2];
        if (_tagMapModel.MapFBType == 0)
        {
            IsCanReborn = true;
            rebornTiredNum = RebornConditions[0];
            rebornPrice = RebornConditions[2];
            //isBossKill = StatusManager.Instance.IsExist((int)playerId,20022);
            if (!isKillByPlayer && localBossState)
            {
@@ -240,6 +240,12 @@
                            }
                        }
                        break;
                    case 31220:
                        if (!WindowCenter.Instance.IsOpen<RebornWin>())
                        {
                            WindowCenter.Instance.Open<RebornWin>();
                        }
                        break;
                    default:
                        if (!WindowCenter.Instance.IsOpen<ReliveWin>())
                        {