Merge branch 'main' of http://shu.sheziwanglo.cn:3000/shurongsen/UnityCommon
This commit is contained in:
commit
4e76a26618
22
Role/Role.cs
22
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<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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user