mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Implemented Draco's fixes for Luigi
This commit is contained in:
parent
6d6d94fcde
commit
c0e1579fce
1 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
-- name: Character Movesets
|
||||
-- incompatible: moveset
|
||||
-- description: Gives each character unique abilities and stats.
|
||||
-- description: Gives each character unique abilities and stats.\n\nContributors: djoslin0, TheGag96, Draco, steven
|
||||
|
||||
ANGLE_QUEUE_SIZE = 9
|
||||
SPIN_TIMER_SUCCESSFUL_INPUT = 4
|
||||
|
@ -140,9 +140,11 @@ function luigi_before_phys_step(m)
|
|||
|
||||
-- faster swimming
|
||||
if (m.action & ACT_FLAG_SWIMMING) ~= 0 then
|
||||
hScale = hScale * 1.5
|
||||
if m.action ~= ACT_WATER_PLUNGE then
|
||||
vScale = vScale * 1.5
|
||||
if m.action ~= ACT_BACKWARD_WATER_KB and m.action ~= ACT_FORWARD_WATER_KB then
|
||||
hScale = hScale * 1.5
|
||||
if m.action ~= ACT_WATER_PLUNGE then
|
||||
vScale = vScale * 1.5
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -156,6 +158,7 @@ function luigi_before_phys_step(m)
|
|||
end
|
||||
|
||||
-- acceleration
|
||||
local floorClass = mario_get_floor_class(m)
|
||||
if (m.action == ACT_WALKING) then
|
||||
if (floorClass == 19 or floorClass == 20) then
|
||||
hScale = -(m.forwardVel / 64) + 1.5
|
||||
|
|
Loading…
Reference in a new issue