| 
 
| 赞 | 15 |  
| VIP | 320 |  
| 好人卡 | 64 |  
| 积分 | 3 |  
| 经验 | 112963 |  
| 最后登录 | 2022-8-25 |  
| 在线时间 | 2355 小时 |  
 Lv2.观梦者 (暗夜天使) 
	梦石0 星屑266 在线时间2355 小时注册时间2009-3-13帖子2309 
 | 
| 本帖最后由 Sion 于 2013-6-23 23:00 编辑 
 大概像这样就可以了 开关1打开的时候速度变成2倍。复制代码class Scene_Battle
  def update
    super
    ($game_switches[1] ? 2 : 1).times {
      if BattleManager.in_turn?
        process_event
        process_action
      end
      BattleManager.judge_win_loss
    }
  end
  def update_basic
    super
    ($game_switches[1] ? 2 : 1).times {
      $game_timer.update
      $game_troop.update
      @spriteset.update
      update_info_viewport
      update_message_open
    }
  end
end
这个默认的update拆成2半了,合在一起写比较好。
 | 
 |