修改错误
This commit is contained in:
parent
2ce74d4a65
commit
eac4427f5e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user