Changed default main and secondary tool from Some(empty) to None.

weapon fixes
This commit is contained in:
Sam 2020-11-23 21:54:12 -06:00
parent aad9734055
commit 8ab2d2524a
3 changed files with 6 additions and 6 deletions

View File

@ -27,8 +27,8 @@ ComboMelee(
forward_movement: 0.25, forward_movement: 0.25,
), ),
], ],
initial_energy_gain: 220, initial_energy_gain: 0,
max_energy_gain: 220, max_energy_gain: 100,
energy_increase: 20, energy_increase: 20,
speed_increase: 0.05, speed_increase: 0.05,
max_speed_increase: 1.6, max_speed_increase: 1.6,

View File

@ -12,8 +12,8 @@ ComboMelee(
base_recover_duration: 300, base_recover_duration: 300,
forward_movement: 0.0, forward_movement: 0.0,
)], )],
initial_energy_gain: 250, initial_energy_gain: 0,
max_energy_gain: 250, max_energy_gain: 100,
energy_increase: 20, energy_increase: 20,
speed_increase: 0.05, speed_increase: 0.05,
max_speed_increase: 1.4, max_speed_increase: 1.4,

View File

@ -37,8 +37,8 @@ impl EntityInfo {
alignment: Alignment::Wild, alignment: Alignment::Wild,
body: Body::Humanoid(humanoid::Body::random()), body: Body::Humanoid(humanoid::Body::random()),
name: None, name: None,
main_tool: Some(Item::empty()), main_tool: None,
second_tool: Some(Item::empty()), second_tool: None,
scale: 1.0, scale: 1.0,
level: None, level: None,
loot_drop: None, loot_drop: None,