mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 13:59:57 +00:00
More changes to player footstep sfx
This commit is contained in:
parent
0b3fc4527b
commit
9514e2dfa3
1 changed files with 2 additions and 1 deletions
|
|
@ -282,7 +282,8 @@ class Game_Player < Game_Character
|
|||
name += '%02d' % [rand(FOOTSTEP_AMT[name]) + 1]
|
||||
end
|
||||
pitch = 85 + rand(30)
|
||||
Audio.se_play("Audio/SE/#{name}.wav", (80 * volume).to_i, pitch.to_i)
|
||||
vol = 70 + rand(20)
|
||||
Audio.se_play("Audio/SE/#{name}.wav", (vol * volume).to_i, pitch.to_i)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue