# ■ Steps_HP_MP
#------------------------------------------------------------------------------
# 處理利用步數回血回魔的腳本。
# 腳本處理:雲的彼方
# 腳本構思:逍遙風巽
# 構思來源:神鵰俠侶[DOS版]
#==============================================================================
class Game_Player
HP_STEP_50rpg = 3 #走X步加血
SP_STEP_50rpg = 5 #走X步加魔
HP_UP_50rpg = 1 #一次加X血
SP_UP_50rpg = 1 #一次加X魔
@@step_HP_50rpg = 0
@@step_SP_50rpg = 0
alias hp_mp_upup_50rpg increase_steps
def increase_steps
hp_mp_upup_50rpg
@@step_HP_50rpg += 1
@@step_SP_50rpg += 1
if @@step_HP_50rpg >= HP_STEP_50rpg
for i in 0...$game_party.actors.size
$game_party.actors[i].hp += HP_UP_50rpg
end
@@step_HP_50rpg = 0
end
if @@step_SP_50rpg >= SP_STEP_50rpg
for i in 0...$game_party.actors.size
$game_party.actors[i].sp += SP_UP_50rpg
end
@@step_SP_50rpg = 0
end
end
end
#==■■■==■■■==請==http://www.50rpg.com/web/==此==■==■==■■■==■■■==#
#==■======■==■======http://www.50rpg.com/web/======■■====■==■==■==■==#
#==■■■==■==■==保==http://www.50rpg.com/web/==訊==■======■■■==■■■==#
#======■==■==■======http://www.50rpg.com/web/======■======■==========■==#
#==■■■==■■■==留==http://www.50rpg.com/web/==息==■======■======■■■==