赞 | 1 |
VIP | 255 |
好人卡 | 52 |
积分 | 1 |
经验 | 77416 |
最后登录 | 2016-1-18 |
在线时间 | 1269 小时 |
Lv1.梦旅人 薄凉看客
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 1269 小时
- 注册时间
- 2010-6-20
- 帖子
- 1316
|
你确定?放在Scene_Battle 4 以后- class Scene_Battle
- #--------------------------------------------------------------------------
- # ● 刷新画面 (主回合步骤 3 : 行动方动画)
- #--------------------------------------------------------------------------
- def update_phase4_step3
- #========================================================================
- #只是改了条件而已★★★★★★★★★★★★★
- if (@active_battler.current_action.basic == 0 and
- @active_battler.current_action.kind == 0) or
- (@active_battler.current_action.kind == 1 and
- [57, 61, 65].include?(@active_battler.current_action.skill_id))
- #=============================★★★★★★★★★★★★★
- @active_battler.startactive = "移动"
- @_move_duration = Move_Duration
- ox,oy = @active_battler.screen_x,@active_battler.screen_y
- @oldxy = [@active_battler.screen_x,@active_battler.screen_y]
- while @_move_duration > 0
- Graphics.update
- Input.update
- @spriteset.update
- tag = [@target_battlers[0].screen_x,@target_battlers[0].screen_y]
- move(@active_battler, tag, ox, oy)
- @_move_duration -= 1
- end
- @active_battler.startactive = "待机"
- end
- # 行动方动画 (ID 为 0 的情况下是白色闪烁)
- if @animation1_id == 0
- @active_battler.white_flash = true
- else
- @active_battler.animation_id = @animation1_id
- @active_battler.animation_hit = true
- end
- for target in @target_battlers
- target.animation_id = @animation2_id
- target.animation_hit = (target.damage != "Miss")
- end
- # 移至步骤 4
- @phase4_step = 4
- end
- #--------------------------------------------------------------------------
- # ● 刷新画面 (主回合步骤 5 : 显示伤害)
- #--------------------------------------------------------------------------
- def update_phase4_step5
- # 隐藏帮助窗口
- @help_window.visible = false
-
- #========================================================================
- #只是改了条件而已★★★★★★★★★★★★★
- if (@active_battler.current_action.basic == 0 and
- @active_battler.current_action.kind == 0) or
- (@active_battler.current_action.kind == 1 and
- [57, 61, 65].include?(@active_battler.current_action.skill_id))
- #=============================★★★★★★★★★★★★★
- @active_battler.startactive = "返回"
- @_move_duration = Move_Duration
- ox,oy = @active_battler.screen_x - @active_battler.movex,\
- @active_battler.screen_y - @active_battler.movey
- while @_move_duration > 0
- Graphics.update
- Input.update
- @spriteset.update
- move(@active_battler, @oldxy, ox, oy, true)
- @_move_duration -= 1
- end
- @active_battler.startactive = "待机"
- end
-
- @phase4_step = 6
- return
- end
- end
复制代码 |
|