From eac4427f5efeda2d7bd9986c0c90e294ca5887a7 Mon Sep 17 00:00:00 2001 From: GL <2365963573@qq.com> Date: Tue, 24 Dec 2024 09:36:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Role/Role.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Role/Role.cs b/Role/Role.cs index 916896f..5f2ae79 100644 --- a/Role/Role.cs +++ b/Role/Role.cs @@ -36,6 +36,7 @@ public enum Camp public class Role : Fun { [Header("Id")] public string id; + [Header("Ãû³Æ")] public string Name; [Header("ÕóÓª")] public Camp camp ; [Header("ѪÁ¿")] public float hp = 100f;//ѪÁ¿ private float maxHp; @@ -439,7 +440,7 @@ public class Role : Fun { if (id ==character.Id) { - + Name = character.Name; MinAttack = int.Parse(character.MinAttack); MaxAttack = int.Parse(character.MaxAttack); AttackCD = float.Parse(character.AttackCD);