| | |
| | | public int TotalEffectWaves; |
| | | |
| | | /// <summary> |
| | | /// 记录玩家选择该buff的次数 |
| | | /// 记录被玩家选择的次数 |
| | | /// </summary> |
| | | public int SelectCount; |
| | | } |
| | |
| | | private static List<EndlessBuffConfig> randomBuffList; |
| | | |
| | | /// <summary> |
| | | /// 一次性出现的buff id列表 |
| | | /// 被移除掉的buff id 列表 |
| | | /// </summary> |
| | | private static List<int> removedIdList; |
| | | |
| | |
| | | new Color(68f / 255f, 148f / 255f, 57f / 255f), |
| | | new Color(74f / 255f, 124f / 255f, 207f / 255f), |
| | | new Color(149f / 255f, 79f / 255f, 214f / 255f), |
| | | new Color(220f / 255f, 96f / 255f, 63f / 255f), |
| | | }; |
| | | |
| | | public static void Init() |
| | |
| | | /// <returns></returns> |
| | | public static EndlessBuffConfig GetBuffById(int id) |
| | | { |
| | | for (int i = 0; i < endlessBuffPool.Count; ++i) |
| | | for (int i = 0; i < allEndlessConfig.Count; ++i) |
| | | { |
| | | if (endlessBuffPool[i].Config.id == id) |
| | | return endlessBuffPool[i]; |
| | | if (allEndlessConfig[i].Config.id == id) |
| | | return allEndlessConfig[i]; |
| | | } |
| | | |
| | | return null; |