From 6198a1208dd290fdf613fde3206332316daae69d Mon Sep 17 00:00:00 2001 From: MysterD Date: Wed, 16 Feb 2022 20:56:38 -0800 Subject: [PATCH] character-movesets: nerfed waluigi jump height --- mods/character-movesets.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/character-movesets.lua b/mods/character-movesets.lua index d294a7e5..7f23a014 100644 --- a/mods/character-movesets.lua +++ b/mods/character-movesets.lua @@ -429,7 +429,7 @@ function waluigi_on_set_action(m) -- turn wall kick into flip elseif m.action == ACT_WALL_KICK_AIR and m.prevAction ~= ACT_HOLDING_POLE and m.prevAction ~= ACT_CLIMBING_POLE then local rc = set_mario_action(m, ACT_TRIPLE_JUMP, 0) - m.vel.y = 72.0 + m.vel.y = 60.0 if m.forwardVel < 20.0 then m.forwardVel = 20.0 @@ -439,7 +439,7 @@ function waluigi_on_set_action(m) -- less height on jumps elseif m.action == ACT_JUMP or m.action == ACT_DOUBLE_JUMP or m.action == ACT_TRIPLE_JUMP or m.action == ACT_SPECIAL_TRIPLE_JUMP or m.action == ACT_STEEP_JUMP or m.action == ACT_SIDE_FLIP or m.action == ACT_RIDING_SHELL_JUMP or m.action == ACT_BACKFLIP or m.action == ACT_WALL_KICK_AIR or m.action == ACT_LONG_JUMP then - m.vel.y = m.vel.y * 0.93 + m.vel.y = m.vel.y * 0.91 end e.lastAction = action @@ -457,7 +457,7 @@ function waluigi_update(m) -- double jump if m.action == ACT_DOUBLE_JUMP and m.actionTimer > 0 and (m.controller.buttonPressed & A_BUTTON) ~= 0 then set_mario_action(m, ACT_TRIPLE_JUMP, 0) - m.vel.y = m.vel.y * 0.94 + m.vel.y = m.vel.y * 0.8 end if m.action == ACT_DOUBLE_JUMP then m.actionTimer = m.actionTimer + 1 @@ -878,7 +878,7 @@ function wario_update(m) -- shake camera if m.action == ACT_GROUND_POUND_LAND then - set_camera_shake_from_hit(SHAKE_MED_DAMAGE) + set_camera_shake_from_point(SHAKE_POS_MEDIUM, m.pos.x, m.pos.y, m.pos.z) end -- faster ground pound