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]; + } + } + + + + + }*/ + + + + }