This commit is contained in:
GL 2024-12-24 14:10:43 +08:00
commit 4e76a26618

View File

@ -39,6 +39,8 @@ public class Role : Fun
[Header("名称")] public string Name;
[Header("阵营")] public Camp camp ;
[Header("血量")] public float hp = 100f;//血量
[Header("技能")] public List<Skill> 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];
}
}
}*/
}