From 3bdbec02fef8053958883735624e50b0b7494b17 Mon Sep 17 00:00:00 2001 From: m0_75251201 Date: Mon, 14 Jul 2025 15:05:29 +0800 Subject: [PATCH] =?UTF-8?q?(client)=20chore:=E5=B1=9E=E6=80=A7=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E7=B1=BB=E5=9E=8B=E4=B8=8E=E7=AD=96=E5=88=92=E4=BA=A4?= =?UTF-8?q?=E6=B5=81=E8=B0=83=E6=95=B4=E4=B8=BA=E6=95=B4=E6=95=B0=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Scripts/Data/AttributesDefine.cs | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Client/Assets/Scripts/Data/AttributesDefine.cs b/Client/Assets/Scripts/Data/AttributesDefine.cs index 0a678b2..e85fcf2 100644 --- a/Client/Assets/Scripts/Data/AttributesDefine.cs +++ b/Client/Assets/Scripts/Data/AttributesDefine.cs @@ -5,33 +5,33 @@ namespace Data public class CharacterAttributesDef : Define { public int health = 10; - public float moveSpeed = 1; + public int moveSpeed = 1; } public class WeaponAttributesDef : Define { - public float attack = 1; - public float defense = 0; - public float attackSpeed = 2; - public float attackRange = 3; + 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 float moveSpeed = 1; - public float attack = 1; - public float defense = 0; - public float attackSpeed = 2; - public float attackRange = 3; + 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 float attack = 1; - public float defense = 0; - public float attackSpeed = 2; - public float attackRange = 3; + public int attack = 1; + public int defense = 0; + public int attackSpeed = 2; + public int attackRange = 3; public int attackTargetCount = 1; } } \ No newline at end of file