在新窗口中打开脚本页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| $VIPArcherScript ||= {};$VIPArcherScript[:map_self_movem] = 20150118 class Game_Event alias self_movement update_self_movement def update_self_movement return self_movement if note_move? if @stop_count > stop_count_threshold case @move_type when 1 then move_type_random when 2 then move_type_toward_player when 3 then move_type_custom end end end def note_move? return true if @list.nil? @list.each do |command| if command.code == 108 or command.code == 408 command.parameters.each do |line| return false if line.include?("<move>") end end end end end
|