| | |
| | | {
|
| | | var fightPower = GetHorseSkillFightPower(_id, lv);
|
| | | var horseUpConfig = HorseUpConfig.GetHorseIDAndLV(_id, lv);
|
| | | if (horseUpConfig == null)
|
| | | {
|
| | | return 0;
|
| | | }
|
| | | Dictionary<int, int> dict = new Dictionary<int, int>();
|
| | | int[] propertys = horseUpConfig.AttrType;
|
| | | int[] values = horseUpConfig.AttrValue;
|
| | |
| | | for (int i = 0; i < horses.Count; i++)
|
| | | {
|
| | | HorseUpConfig horseUpConfig = HorseUpConfig.GetHorseIDAndLV(horses[i].id, horses[i].lv);
|
| | | if (horseUpConfig == null)
|
| | | {
|
| | | continue;
|
| | | }
|
| | | GetHorseProperty(horses[i].id, horses[i].lv, ref propertyDict);
|
| | | int[] propertys = horseUpConfig.AttrType;
|
| | | int[] values = horseUpConfig.AttrValue;
|
| | |
| | | return x.id == condition;
|
| | | });
|
| | | HorseUpConfig horseUpConfig = HorseUpConfig.GetHorseIDAndLV(horseInfo.id, horseInfo.lv);
|
| | | if (horseUpConfig == null)
|
| | | {
|
| | | return dict;
|
| | | }
|
| | | int[] propertys = horseUpConfig.AttrType;
|
| | | int[] values = horseUpConfig.AttrValue;
|
| | | for (int k = 0; k < propertys.Length; k++)
|
| | |
| | | for (int i = 0; i < horses.Count; i++)
|
| | | {
|
| | | HorseConfig horseConfig = Config.Instance.Get<HorseConfig>(horses[i].id);
|
| | | if (horseConfig == null)
|
| | | {
|
| | | continue;
|
| | | }
|
| | | if (horseConfig.Quality == condition)
|
| | | {
|
| | | HorseUpConfig horseUpConfig = HorseUpConfig.GetHorseIDAndLV(horses[i].id, horses[i].lv);
|