(client) feat:添加行为树和工作类

This commit is contained in:
m0_75251201
2025-07-20 20:41:37 +08:00
parent 9dcc67d710
commit a48ccca5f4
12 changed files with 350 additions and 44 deletions

View File

@ -11,5 +11,18 @@ namespace Data
public int attackSpeed = 2;
public int attackRange = 3;
public int attackTargetCount = 1;
public AttributesDef Clone()
{
return new AttributesDef
{
health = this.health,
moveSpeed = this.moveSpeed,
attack = this.attack,
defense = this.defense,
attackSpeed = this.attackSpeed,
attackRange = this.attackRange,
attackTargetCount = this.attackTargetCount
};
}
}
}