From a3b8d260f43197fe68070a94c62ad4bb490fd3d7 Mon Sep 17 00:00:00 2001 From: wulongxiao <2545507770@qq.com> Date: Tue, 24 Dec 2024 12:04:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E8=83=BD=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Role/Role.cs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Role/Role.cs b/Role/Role.cs index f9ce56d..9c6b749 100644 --- a/Role/Role.cs +++ b/Role/Role.cs @@ -39,6 +39,8 @@ public class Role : Fun [Header("名称")] public string Name; [Header("阵营")] public Camp camp ; [Header("血量")] public float hp = 100f;//血量 + [Header("技能")] public List Myskill;//技能 + private float maxHp; [Header(("死亡动画编号"))] public int dieIndex=-1; @@ -480,5 +482,23 @@ public class Role : Fun return num; } - + + /*void ReadTable() + { + foreach (Monster character in MengyaoInfo.Instance.m_SkillData) + { + if (id == character.temp_id) + { + Myskill = character.skills[0]; + } + } + + + + + }*/ + + + + }