少年修仙传客户端代码仓库
QD-PangDeRong
2018-08-09 1b2a902d635669056b793b654eaaf80e16d6373f
System/Treasure/TreasureModel.cs
@@ -869,19 +869,17 @@
                {
                    return;
                }
                treasure.skillLevelUpRedpoint.state = RedPointState.None;
                if (treasure.state != TreasureState.Collected || !treasure.IsMaxStage())
                {
                    return;
                }
                var anyPointialLevelupAble = false;
                for (int i = 0; i < treasure.potentials.Count; i++)
                if (treasure.state == TreasureState.Collected && treasure.IsMaxStage())
                {
                    var potential = treasure.potentials[i];
                    if (SatisyPotentialLevelUp(treasure.id, potential.id))
                    for (int i = 0; i < treasure.potentials.Count; i++)
                    {
                        anyPointialLevelupAble = true;
                        break;
                        var potential = treasure.potentials[i];
                        if (SatisyPotentialLevelUp(treasure.id, potential.id))
                        {
                            anyPointialLevelupAble = true;
                            break;
                        }
                    }
                }
                treasure.skillLevelUpRedpoint.state = anyPointialLevelupAble ? RedPointState.Simple : RedPointState.None;