| | |
| | | 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; |