Project1

标题: Shift 功能反转 [打印本页]

作者: taroxd    时间: 2014-7-14 21:55
标题: Shift 功能反转
RUBY 代码复制
  1. #--------------------------------------------------------------------------
  2. # ● 反转了 Shift 的功能
  3. #--------------------------------------------------------------------------
  4. class Game_Player < Game_Character
  5.   #--------------------------------------------------------------------------
  6.   # ● 判断是否跑步
  7.   #--------------------------------------------------------------------------
  8.   def dash?
  9.     !@move_route_forcing && !$game_map.disable_dash? &&
  10.       !vehicle && !Input.press?(:A)
  11.   end
  12. end





欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1