赞 | 0 |
VIP | 157 |
好人卡 | 6 |
积分 | 1 |
经验 | 113829 |
最后登录 | 2014-1-16 |
在线时间 | 26 小时 |
Lv1.梦旅人 B
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 26 小时
- 注册时间
- 2007-8-26
- 帖子
- 3693
|
本帖最后由 ONEWateR 于 2009-7-3 00:30 编辑
最后一次这样蔓延伸手党的风气了~- class Scene_Battle
- def phase3_setup_command_window
- @状态编号 = 3
- @party_command_window.active = false
- @party_command_window.visible = false
- @actor_command_window.active = true
- @actor_command_window.visible = true
- @actor_command_window.x = @actor_index * 160
- for i in 0..2
- @actor_command_window.draw_item(i,Color.new(255, 255, 255, 255))
- @actor_command_window.disable_item(i) if $game_party.actors[@actor_index].state?(@状态编号)
- end
- @actor_command_window.index = 0
- end
- def update_phase3_basic_command
- if Input.trigger?(Input::B)
- $game_system.se_play($data_system.cancel_se)
- phase3_prior_actor
- return
- end
- if Input.trigger?(Input::C)
- case @actor_command_window.index
- when 0
- if $game_party.actors[@actor_index].state?(@状态编号)
- $game_system.se_play($data_system.buzzer_se)
- return
- end
- $game_system.se_play($data_system.decision_se)
- @active_battler.current_action.kind = 0
- @active_battler.current_action.basic = 0
- start_enemy_select
- when 1
- if $game_party.actors[@actor_index].state?(@状态编号)
- $game_system.se_play($data_system.buzzer_se)
- return
- end
- $game_system.se_play($data_system.decision_se)
- @active_battler.current_action.kind = 1
- start_skill_select
- when 2
- if $game_party.actors[@actor_index].state?(@状态编号)
- $game_system.se_play($data_system.buzzer_se)
- return
- end
- $game_system.se_play($data_system.decision_se)
- @active_battler.current_action.kind = 0
- @active_battler.current_action.basic = 1
- phase3_next_actor
- when 3 # 物品
- $game_system.se_play($data_system.decision_se)
- @active_battler.current_action.kind = 2
- start_item_select
- end
- return
- end
- end
- end
复制代码 |
|