diff --git a/common/src/comp/inventory/item/tool.rs b/common/src/comp/inventory/item/tool.rs index 2c3fb66fee..dc48336150 100644 --- a/common/src/comp/inventory/item/tool.rs +++ b/common/src/comp/inventory/item/tool.rs @@ -179,27 +179,27 @@ impl Tool { stage_data: vec![ combo_melee::Stage { stage: 1, - base_damage: (80.0 * self.base_power()) as u32, - max_damage: (120.0 * self.base_power()) as u32, + base_damage: (90.0 * self.base_power()) as u32, + max_damage: (110.0 * self.base_power()) as u32, damage_increase: (10.0 * self.base_power()) as u32, knockback: 8.0, range: 3.5, angle: 50.0, base_buildup_duration: Duration::from_millis(350), - base_swing_duration: Duration::from_millis(75), //75 + base_swing_duration: Duration::from_millis(75), base_recover_duration: Duration::from_millis(400), forward_movement: 0.5, }, combo_melee::Stage { stage: 2, - base_damage: (100.0 * self.base_power()) as u32, - max_damage: (190.0 * self.base_power()) as u32, + base_damage: (130.0 * self.base_power()) as u32, + max_damage: (160.0 * self.base_power()) as u32, damage_increase: (15.0 * self.base_power()) as u32, knockback: 12.0, range: 3.5, angle: 30.0, base_buildup_duration: Duration::from_millis(500), - base_swing_duration: Duration::from_millis(100), //75 + base_swing_duration: Duration::from_millis(100), base_recover_duration: Duration::from_millis(500), forward_movement: 0.25, }, @@ -209,7 +209,7 @@ impl Tool { energy_increase: 20, speed_increase: 0.05, max_speed_increase: 1.6, - is_interruptible: true, + is_interruptible: false, }, SpinMelee { buildup_duration: Duration::from_millis(100), @@ -243,8 +243,8 @@ impl Tool { ComboMelee { stage_data: vec![combo_melee::Stage { stage: 1, - base_damage: (80.0 * self.base_power()) as u32, - max_damage: (120.0 * self.base_power()) as u32, + base_damage: (120.0 * self.base_power()) as u32, + max_damage: (150.0 * self.base_power()) as u32, damage_increase: (10.0 * self.base_power()) as u32, knockback: 8.0, range: 3.5, @@ -259,7 +259,7 @@ impl Tool { energy_increase: 20, speed_increase: 0.05, max_speed_increase: 1.4, - is_interruptible: true, + is_interruptible: false, }, ChargedMelee { energy_cost: 1, @@ -479,7 +479,7 @@ impl Tool { }), projectile_gravity: Some(Gravity(0.5)), projectile_speed: 40.0, - can_continue: true, + can_continue: false, }, ], Staff => vec![ diff --git a/common/src/states/combo_melee.rs b/common/src/states/combo_melee.rs index 7e8939a023..ad3a3aae84 100644 --- a/common/src/states/combo_melee.rs +++ b/common/src/states/combo_melee.rs @@ -98,8 +98,9 @@ impl CharacterBehavior for Data { } } - let speed_modifer = 1.0 + self.static_data.max_speed_increase - * (1.0 - self.static_data.speed_increase.powi(self.combo as i32)); + let speed_modifer = 1.0 + + self.static_data.max_speed_increase + * (1.0 - self.static_data.speed_increase.powi(self.combo as i32)); match self.stage_section { StageSection::Buildup => { diff --git a/voxygen/src/scene/figure/mod.rs b/voxygen/src/scene/figure/mod.rs index 1a4da6d428..c9cf99ae27 100644 --- a/voxygen/src/scene/figure/mod.rs +++ b/voxygen/src/scene/figure/mod.rs @@ -1134,34 +1134,27 @@ impl FigureMgr { }, CharacterState::ComboMelee(s) => { let stage_index = (s.stage - 1) as usize; - - let stage_progress = match active_tool_kind { - Some(_) => { - let stage_time = s.timer.as_secs_f64(); - //let stage_progress = match s.stage_section { - match s.stage_section { - StageSection::Buildup => { - stage_time - / s.static_data.stage_data[stage_index] - .base_buildup_duration - .as_secs_f64() - }, - StageSection::Swing => { - stage_time - / s.static_data.stage_data[stage_index] - .base_swing_duration - .as_secs_f64() - }, - StageSection::Recover => { - stage_time - / s.static_data.stage_data[stage_index] - .base_recover_duration - .as_secs_f64() - }, - _ => 0.0, - } + let stage_time = s.timer.as_secs_f64(); + let stage_progress = match s.stage_section { + StageSection::Buildup => { + stage_time + / s.static_data.stage_data[stage_index] + .base_buildup_duration + .as_secs_f64() }, - None => state.state_time, + StageSection::Swing => { + stage_time + / s.static_data.stage_data[stage_index] + .base_swing_duration + .as_secs_f64() + }, + StageSection::Recover => { + stage_time + / s.static_data.stage_data[stage_index] + .base_recover_duration + .as_secs_f64() + }, + _ => 0.0, }; match s.stage { 1 => anim::character::AlphaAnimation::update_skeleton(