Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | |
|
| | | public class EquipTypeClass
|
| | | {
|
| | | public int AttType;
|
| | | public int AttValue;
|
| | | public string StrName;
|
| | | public int AttType;//属性类型
|
| | | public int AttValue;//属性值
|
| | | public string StrName;//属性名
|
| | | }
|
| | | public class EquipMaxLvClass
|
| | | {
|
| | |
| | | return lv;
|
| | | }
|
| | |
|
| | | public List<EquipTypeClass> GetEquipValueList(int level, int equipPlace, int addlv = 0)
|
| | | public List<EquipTypeClass> GetEquipValueList(int level, int equipPlace, int addlv = 0)//当前获得的强化属性
|
| | | {
|
| | | List<EquipTypeClass> EquipTypeList = new List<EquipTypeClass>();
|
| | | int type = GetEquipStrengthType(equipPlace);
|
| | |
| | | |
| | | private Dictionary<int, int> GetEquipLegendProperties(int itemId) |
| | | { |
| | | var legendProperties = LegendPropertyUtility.GetEquipProperties(itemId); |
| | | var legendProperties = LegendPropertyUtility.GetEquipProperties(itemId);
|
| | | var properties = new Dictionary<int, int>(); |
| | | |
| | | if (legendProperties != null)
|
| | | {
|
| | | foreach (var item in legendProperties)
|
| | | if (legendProperties != null)
|
| | | {
|
| | | properties[item.x] = item.y;
|
| | | foreach (var item in legendProperties)
|
| | | {
|
| | | properties[item.x] = item.y;
|
| | | }
|
| | | }
|
| | | } |
| | | |