| | |
| | | { |
| | | Equation.Instance.Clear(); |
| | | Equation.Instance.AddKeyValue("equipScoreTotal", CountEquipScore(level)); |
| | | var power = 0; |
| | | power = Equation.Instance.Eval<int>(scoreFormula); |
| | | var power = Equation.Instance.Eval<int>(scoreFormula); |
| | | |
| | | var propertyContainer = new Properties(); |
| | | CountProperties(level, ref propertyContainer); |
| | |
| | | if (serverInfo.Keys.Contains("UserData")) |
| | | { |
| | | var userDataJson = serverInfo["UserData"]; |
| | | |
| | | |
| | | |
| | | |
| | | if (userDataJson.Keys.Contains("17") && userDataJson.Keys.Contains("19")) |
| | | { |
| | | var count = Mathf.Min(userDataJson["17"].Count, userDataJson["19"].Count); |
| | | for (int i = 0; i < count; i++) |
| | | { |
| | | legendProperties.Add(new Int2((int)userDataJson["17"][i], (int)userDataJson["19"][i])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | } |