(client) feat:添加角色定义,为匿名定义建立索引,修复一些数据定义中的错误 (#39)
Co-authored-by: zzdxxz <2079238449@qq.com> Co-committed-by: zzdxxz <2079238449@qq.com>
This commit is contained in:
@ -2,32 +2,10 @@
|
||||
|
||||
namespace Data
|
||||
{
|
||||
public class CharacterAttributesDef : Define
|
||||
public class AttributesDef : Define
|
||||
{
|
||||
public int health = 10;
|
||||
public int moveSpeed = 1;
|
||||
}
|
||||
public class WeaponAttributesDef : Define
|
||||
{
|
||||
public int attack = 1;
|
||||
public int defense = 0;
|
||||
public int attackSpeed = 2;
|
||||
public int attackRange = 3;
|
||||
public int attackTargetCount = 1;
|
||||
}
|
||||
public class MonsterAttributesDef : Define
|
||||
{
|
||||
public int health = 10;
|
||||
public int moveSpeed = 1;
|
||||
public int attack = 1;
|
||||
public int defense = 0;
|
||||
public int attackSpeed = 2;
|
||||
public int attackRange = 3;
|
||||
public int attackTargetCount = 1;
|
||||
}
|
||||
public class BuildingAttributesDef : Define
|
||||
{
|
||||
public int health = 10;
|
||||
public int attack = 1;
|
||||
public int defense = 0;
|
||||
public int attackSpeed = 2;
|
||||
|
Reference in New Issue
Block a user