少年修仙传客户端代码仓库
client_linchunjie
2019-03-18 e202cb5fe7168101b0c40a15b320299ce4a01d88
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
1个文件已修改
30 ■■■■ 已修改文件
System/MainInterfacePanel/PlayerMainDate.cs 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/PlayerMainDate.cs
@@ -104,9 +104,6 @@
    {
        WindowCenter.Instance.Get<MainInterfaceWin>().IsShowButtonGroup();
    }
    //-----是否在自动强化中
    public bool StrengthegingBool = false;//是否再自动强化中
    public int StrengthegingAddFight = 0;//存取需要添加的战斗力值
    // --用于任务仙玉不足购买飞鞋
    public bool IsFlyShoseBool = false;
    public int FlyShoseTaskID = 0;
@@ -296,8 +293,6 @@
    {
        FlyShoseTaskID = 0;
        IsFlyShoseBool = false;
        StrengthegingAddFight = 0;
        StrengthegingBool = false;
        IsTipBool = true;
        prowNum = 0;
        ProwNumAdd = 0;
@@ -387,19 +382,12 @@
            if (power > prowNum)
            {
                ProwNumAdd = power - prowNum;
                if (StrengthegingBool || StrengthegingAddFight != 0)
                {
                    StrengthegingAddFight += ProwNumAdd;
                }
                prowNum = power;
                if (!StrengthegingBool && StrengthegingAddFight == 0)
                if (WindowCenter.Instance.IsOpen<PowerAddWin>())
                {
                    if (WindowCenter.Instance.IsOpen<PowerAddWin>())
                    {
                        WindowCenter.Instance.Close<PowerAddWin>();
                    }
                    WindowCenter.Instance.Open<PowerAddWin>();
                    WindowCenter.Instance.CloseImmediately("PowerAddWin");
                }
                WindowCenter.Instance.Open<PowerAddWin>();
            }
            else
@@ -407,18 +395,6 @@
                prowNum = power;
            }
        }
    }
    IEnumerator LoadingIE()
    {
        yield return new WaitForSeconds(0.5f);
        ProwNumAdd = StrengthegingAddFight;
        StrengthegingAddFight = 0;
        if (WindowCenter.Instance.IsOpen<PowerAddWin>())
        {
            WindowCenter.Instance.Close<PowerAddWin>();
        }
        WindowCenter.Instance.Open<PowerAddWin>();
    }
    public void FabaoPowerAdd(int power)