| | |
| | | public int RealMapID; // 数据地图ID 79,
|
| | | public uint Tick; // 当前Tick 89,
|
| | | public int luckValue; //气运 101
|
| | | public int luckPer; //气运百分比 151
|
| | | public int battleValEx1; // <攻速 136
|
| | | public int battleValEx3; // <增加伤害 138
|
| | | public int damageReduceRate; // <减少伤害 132
|
| | |
| | | }
|
| | | break;
|
| | | case PlayerDataType.LuckPer:
|
| | | extersion.luckPer = (int)value;
|
| | | break;
|
| | | case PlayerDataType.PetDamPer:
|
| | | extersion.PetDamPer = (int)value;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public void DisplayPlayerProperty(int _property, int _value, int _add)
|
| | | public void DisplayReiki(int _property, int _value, int _add)
|
| | | {
|
| | | m_PropertyName.text = GetPropertyName(_property);
|
| | | if (_property == (int)PropertyType.ATK)
|
| | | {
|
| | | m_PropertyValue.text = StringUtility.Contact(GetAddValueLabel(_property, PlayerDatas.Instance.extersion.MINATK)
|
| | | m_PropertyValue.text = StringUtility.Contact(GetValueLabel(_property, PlayerDatas.Instance.extersion.MINATK)
|
| | | , "-", GetValueLabel(_property, PlayerDatas.Instance.extersion.MAXATK));
|
| | | }
|
| | | else if (_property == (int)PropertyType.LuckPer)
|
| | | {
|
| | | m_PropertyValue.text = GetValueLabel((int)PropertyType.Luck,
|
| | | UIHelper.GetPropertyValue(PropertyType.Luck));
|
| | | }
|
| | | else
|
| | | {
|
| | | m_PropertyValue.text = GetAddValueLabel(_property, _value);
|
| | | m_PropertyValue.text = GetValueLabel(_property, _value);
|
| | | }
|
| | | DisplayAddLabel(_property, _add);
|
| | | }
|
| | |
| | | var compareValue = currentPropertyDict[property];
|
| | | var add = upPropertyDict.ContainsKey(property) ?
|
| | | (upPropertyDict[property] - compareValue) : 0;
|
| | | m_Propertys[index].DisplayPlayerProperty(property, value, add);
|
| | | m_Propertys[index].DisplayReiki(property, value, add);
|
| | | }
|
| | | index++;
|
| | | }
|
| | |
| | | SkillAtkRateReduce = 148, ///技能减伤
|
| | | Damageper = 149, ///<增加伤害 149
|
| | | SpeedValue = 150, ///<移动速度 150
|
| | | LuckPer = 151, ///副本功能线路Id 151
|
| | | LuckPer = 151, ///暂时没用 151
|
| | | PetDamPer = 152, ///<灵兽增加伤害 152
|
| | | IgnoreDefRateReduce = 153, ///<无视防御抗性 153
|
| | | DamChanceDef = 154, ///<抵御 154
|
| | |
| | | return PlayerDatas.Instance.extersion.NpcHurtAddPer;
|
| | | case PropertyType.Luck:
|
| | | return PlayerDatas.Instance.extersion.luckValue;
|
| | | case PropertyType.LuckPer:
|
| | | return PlayerDatas.Instance.extersion.luckPer;
|
| | | case PropertyType.Mater:
|
| | | return PlayerDatas.Instance.baseData.mater;
|
| | | case PropertyType.Wood:
|