少年修仙传客户端代码仓库
client_Wu Xijin
2018-11-24 38549c277cd72814dc800444a1c00c6c268eff41
4747 【前端】【1.3】修改自动进入封魔坛的规则。
2个文件已修改
4 ■■■ 已修改文件
System/FindPrecious/FindPreciousModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GeneralConfig/GeneralDefine.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/FindPreciousModel.cs
@@ -558,7 +558,7 @@
                return false;
            }
            if (PlayerDatas.Instance.hero != null && Time.realtimeSinceStartup - PlayerDatas.Instance.hero.calculAutoFightTime < 60f)
            if (PlayerDatas.Instance.hero != null && Time.realtimeSinceStartup - PlayerDatas.Instance.hero.calculAutoFightTime < GeneralDefine.DemonJarAutoTime)
            {
                return false;
            }
System/GeneralConfig/GeneralDefine.cs
@@ -153,6 +153,7 @@
    public static int fairyLandBuffCondition { get; private set; }
    public static int fairyLandBuffId { get; private set; }
    public static int achievementEarlierStageLevel { get; private set; }
    public static int DemonJarAutoTime { get; private set; }
    public static void Init()
    {
@@ -535,6 +536,7 @@
            PreloadSkillEffect = new int[2][];
            PreloadSkillEffect[0] = GetIntArray("PreloadSkillEffect");
            PreloadSkillEffect[1] = GetIntArray("PreloadSkillEffect", 2);
            DemonJarAutoTime = GetInt("DemonJarAutoTime");
        }
        catch (Exception ex)
        {