mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-19 20:17:12 +08:00
(client) chore:属性变量类型与策划交流调整为整数类型
This commit is contained in:
committed by
TheRedApricot
parent
65ed09a6a7
commit
3bdbec02fe
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user