From 9413dd2b6f83c5160933a4ac4df4e01cb50a14cd Mon Sep 17 00:00:00 2001 From: Ny Bruker <robinhs@stud.ntnu.no> Date: Sun, 2 Oct 2022 16:42:14 +0200 Subject: [PATCH] Changed default values. --- MrBigsock/Assets/Code/Core/AttackStats.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MrBigsock/Assets/Code/Core/AttackStats.cs b/MrBigsock/Assets/Code/Core/AttackStats.cs index 1be13920..39cffac4 100644 --- a/MrBigsock/Assets/Code/Core/AttackStats.cs +++ b/MrBigsock/Assets/Code/Core/AttackStats.cs @@ -14,27 +14,27 @@ namespace BigSock { /* The damage of the attack. */ - public float Damage { get; set; } + public float Damage { get; set; } = 1f; /* The knockback of the attack. */ - public float Knockback { get; set; } + public float Knockback { get; set; } = 1f; /* The range of the attack. */ - public float Range { get; set; } + public float Range { get; set; } = 1f; /* The projectile speed of the attack. */ - public float ProjectileSpeed { get; set; } + public float ProjectileSpeed { get; set; } = 1f; /* The attack speed of the attack. */ - public float AttackSpeed { get; set; } + public float AttackSpeed { get; set; } = 1f; /* The source of the attack. -- GitLab