From f4deb08a408b1712a82dd72b6b2e2610a4b83dbe Mon Sep 17 00:00:00 2001 From: Pascal Fuhrmann Date: Tue, 2 Feb 2021 16:51:04 +0000 Subject: [PATCH] fixing #944 - LeapMelee fall damage fix & adjustments --- assets/common/abilities/hammer/leap.ron | 2 +- common/src/comp/ability.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/assets/common/abilities/hammer/leap.ron b/assets/common/abilities/hammer/leap.ron index 079773f94a..a407fae032 100644 --- a/assets/common/abilities/hammer/leap.ron +++ b/assets/common/abilities/hammer/leap.ron @@ -9,6 +9,6 @@ LeapMelee( knockback: 25.0, range: 4.5, max_angle: 360.0, - forward_leap_strength: 28.0, + forward_leap_strength: 24.0, vertical_leap_strength: 8.0, ) diff --git a/common/src/comp/ability.rs b/common/src/comp/ability.rs index dea43e0a92..bf689049c1 100644 --- a/common/src/comp/ability.rs +++ b/common/src/comp/ability.rs @@ -408,7 +408,6 @@ impl CharacterAbility { }, LeapMelee { ref mut buildup_duration, - ref mut movement_duration, ref mut swing_duration, ref mut recover_duration, ref mut base_damage, @@ -416,7 +415,6 @@ impl CharacterAbility { .. } => { *buildup_duration = (*buildup_duration as f32 / speed) as u64; - *movement_duration = (*movement_duration as f32 / speed) as u64; *swing_duration = (*swing_duration as f32 / speed) as u64; *recover_duration = (*recover_duration as f32 / speed) as u64; *base_damage = (*base_damage as f32 * power) as u32;