以下引用玄月于2008-10-3 9:55:47的发言:
#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#==============================================================================
# ————————————————————————————————————
# 本脚本来自www.66rpg.com,转载请保留此信息
# ————————————————————————————————————
#==============================================================================
# ■ Game_Player
#==============================================================================
class Game_Player
#--------------------------------------------------------------------------
# ● フレーム更新
#--------------------------------------------------------------------------
alias old_update update
def update
unless moving? or $game_system.map_interpreter.running? or
@move_route_forcing or $game_temp.message_window_showing
if Input.press?(Input::C) and $game_actors[1].hp >= 数字
# 速度変更
@move_speed = 5
for i in 1..1000
$game_party.actors[0].hp -= 30
end
else
@move_speed = 4
end
end
old_update
end
end
要加上这句吗?不知道有没有写错。。。
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |