(client) chore:修改节点树加载逻辑 #30

Closed
zzdxxz wants to merge 5 commits from zzdxxz/Gen_Hack-and-Slash-Roguelite-zzdxxz:temp into main
29 changed files with 236 additions and 1937 deletions
Showing only changes of commit b4bdf5f4a0 - Show all commits

View File

@ -5,33 +5,33 @@ namespace Data
public class CharacterAttributesDef : Define public class CharacterAttributesDef : Define
{ {
public int health = 10; public int health = 10;
public float moveSpeed = 1; public int moveSpeed = 1;
} }
public class WeaponAttributesDef : Define public class WeaponAttributesDef : Define
{ {
public float attack = 1; public int attack = 1;
public float defense = 0; public int defense = 0;
public float attackSpeed = 2; public int attackSpeed = 2;
public float attackRange = 3; public int attackRange = 3;
public int attackTargetCount = 1; public int attackTargetCount = 1;
} }
public class MonsterAttributesDef : Define public class MonsterAttributesDef : Define
{ {
public int health = 10; public int health = 10;
public float moveSpeed = 1; public int moveSpeed = 1;
public float attack = 1; public int attack = 1;
public float defense = 0; public int defense = 0;
public float attackSpeed = 2; public int attackSpeed = 2;
public float attackRange = 3; public int attackRange = 3;
public int attackTargetCount = 1; public int attackTargetCount = 1;
} }
public class BuildingAttributesDef : Define public class BuildingAttributesDef : Define
{ {
public int health = 10; public int health = 10;
public float attack = 1; public int attack = 1;
public float defense = 0; public int defense = 0;
public float attackSpeed = 2; public int attackSpeed = 2;
public float attackRange = 3; public int attackRange = 3;
public int attackTargetCount = 1; public int attackTargetCount = 1;
} }
} }