文本显示和Command大修
This commit is contained in:
@@ -18,8 +18,8 @@ namespace Continentis.MainGame.UI
|
||||
|
||||
public void SetInfoText(CharacterBase character)
|
||||
{
|
||||
int currentValue = character.attributeSubmodule.GetRoundCurrentGeneralAttribute(currentAttributeName);
|
||||
int maximumValue = character.attributeSubmodule.GetRoundCurrentGeneralAttribute(maximumAttributeName);
|
||||
int currentValue = character.attributeSubmodule.GetGeneralAttribute(currentAttributeName);
|
||||
int maximumValue = character.attributeSubmodule.GetGeneralAttribute(maximumAttributeName);
|
||||
string displayText = currentValue + "/" + maximumValue;
|
||||
resourceText.text = displayText;
|
||||
}
|
||||
|
||||
@@ -46,8 +46,6 @@ namespace Continentis.MainGame.UI
|
||||
{
|
||||
c.user = CombatMainManager.Instance.currentCharacter;
|
||||
c.cardLogic.RefreshCardAttributes();
|
||||
CardTextInterpreter.InterpretText(c.cardLogic);
|
||||
c.handCardView.Setup(c);
|
||||
});
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user