diff --git a/common/src/comp/body.rs b/common/src/comp/body.rs index ee87f053df..b685d0bb99 100644 --- a/common/src/comp/body.rs +++ b/common/src/comp/body.rs @@ -149,7 +149,6 @@ impl Body { Body::Golem(_) => 5.0, Body::QuadrupedLow(_) => 0.5, Body::Object(_) => 0.6, - // _ => 0.5, } } diff --git a/common/src/states/dash_melee.rs b/common/src/states/dash_melee.rs index 557b4fa3a4..c8130c1bb5 100644 --- a/common/src/states/dash_melee.rs +++ b/common/src/states/dash_melee.rs @@ -1,5 +1,5 @@ use crate::{ - comp::{Attacking, CharacterState, EnergySource, StateUpdate}, + comp::{Attacking, CharacterState, StateUpdate}, states::utils::*, sys::character_behavior::*, }; diff --git a/common/src/states/leap_melee.rs b/common/src/states/leap_melee.rs index 8dcfcd36c5..91f2422f97 100644 --- a/common/src/states/leap_melee.rs +++ b/common/src/states/leap_melee.rs @@ -1,5 +1,5 @@ use crate::{ - comp::{Attacking, CharacterState, EnergySource, StateUpdate}, + comp::{Attacking, CharacterState, StateUpdate}, states::utils::*, sys::character_behavior::*, }; diff --git a/common/src/states/triple_strike.rs b/common/src/states/triple_strike.rs index 1224cd08a1..fcb62f5846 100644 --- a/common/src/states/triple_strike.rs +++ b/common/src/states/triple_strike.rs @@ -70,6 +70,8 @@ impl CharacterBehavior for Data { fn behavior(&self, data: &JoinData) -> StateUpdate { let mut update = StateUpdate::from(data); + handle_move(data, &mut update, 0.3); + #[allow(clippy::or_fun_call)] // TODO: Pending review in #587 let stage_time_active = self .stage_time_active @@ -126,8 +128,6 @@ impl CharacterBehavior for Data { update.vel.0 = update.vel.0.normalized() * BASE_SPEED; } }; - // update.vel.0 = Vec3::new(data.inputs.move_dir.x, - // data.inputs.move_dir.y, 0.0) * 5.0; } else { handle_orientation(data, &mut update, 50.0); }