| | |
| | | |
| | | void RefreshAttr() |
| | | { |
| | | inheritAttrText[0].text = PlayerPropertyConfig.GetFullDescription(new Int2(PlayerPropertyConfig.inheritAttrs[0], hero.heroConfig.AtkInheritPer)); |
| | | inheritAttrText[1].text = PlayerPropertyConfig.GetFullDescription(new Int2(PlayerPropertyConfig.inheritAttrs[1], hero.heroConfig.DefInheritPer)); |
| | | inheritAttrText[2].text = PlayerPropertyConfig.GetFullDescription(new Int2(PlayerPropertyConfig.inheritAttrs[2], hero.heroConfig.HPInheritPer)); |
| | | inheritAttrText[0].text = PlayerPropertyConfig.GetFullDescription(new Int2(PlayerPropertyConfig.inheritAttrs[0], |
| | | hero.GetInheritAttrPerByInheritID(PlayerPropertyConfig.inheritAttrs[0]))); |
| | | inheritAttrText[1].text = PlayerPropertyConfig.GetFullDescription(new Int2(PlayerPropertyConfig.inheritAttrs[1], |
| | | hero.GetInheritAttrPerByInheritID(PlayerPropertyConfig.inheritAttrs[1]))); |
| | | inheritAttrText[2].text = PlayerPropertyConfig.GetFullDescription(new Int2(PlayerPropertyConfig.inheritAttrs[2], |
| | | hero.GetInheritAttrPerByInheritID(PlayerPropertyConfig.inheritAttrs[2]))); |
| | | |
| | | //上阵属性 |
| | | int valuePer = hero.GetAddPer(); |