| | |
| | | break;
|
| | | }
|
| | | }
|
| | | m_SpecialProperty.DisplayUpper(config.specialProperty, config.AddAttrNum[index]);
|
| | | m_SpecialProperty.DisplayColon(config.specialProperty, config.AddAttrNum[index]);
|
| | | m_HurtRemind.text = UIHelper.ReplaceNewLine(Language.Get("RealmSuppressHurt", UIHelper.GetTextColorByItemColor(config.Quality, config.Name), (float)model.realmSuppressHurt / 1000));
|
| | | }
|
| | | }
|
| | |
| | | config.ISPercentage == 1 ? "%" : string.Empty);
|
| | | }
|
| | | }
|
| | |
|
| | | public void DisplayColon(int _property, int _value)
|
| | | {
|
| | | var config = ConfigManager.Instance.GetTemplate<PlayerPropertyConfig>(_property);
|
| | | if (config != null)
|
| | | {
|
| | | m_PropertyName.text = StringUtility.Contact(config.Name, ":");
|
| | | m_PropertyValue.text = StringUtility.Contact("+", UIHelper.ReplaceLargeNum(UIHelper.ReplacePercentage(_value, config.ISPercentage)),
|
| | | config.ISPercentage == 1 ? "%" : string.Empty);
|
| | | }
|
| | | }
|
| | | }
|
| | | } |
| | | |