test values

This commit is contained in:
Monty Marz 2020-08-31 01:03:38 +02:00 committed by Sam
parent bcda944af9
commit 2b8d1e6fb9
2 changed files with 17 additions and 4 deletions

View File

@ -0,0 +1,13 @@
Item(
name: "Naturalist Walking Stick",
description: "Heals your allies with the power of nature.",
kind: Tool(
(
kind: Staff("Sceptre"),
stats: (
equip_time_millis: 400,
power: 0.50,
),
)
),
)

View File

@ -306,15 +306,15 @@ impl Tool {
energy_cost: 0,
buildup_duration: Duration::from_millis(250),
recover_duration: Duration::from_millis(250),
base_hps: (100.0 * self.base_power()) as u32,
base_dps: (80.0 * self.base_power()) as u32,
base_hps: (60.0 * self.base_power()) as u32,
base_dps: (40.0 * self.base_power()) as u32,
range: 25.0,
max_angle: 1.0,
lifesteal_eff: 0.25,
energy_regen: 120,
energy_regen: 10,
},
BasicRanged {
energy_cost: 400,
energy_cost: 800,
holdable: true,
prepare_duration: Duration::from_millis(800),
recover_duration: Duration::from_millis(50),