在新窗口中打开脚本页
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
| $VIPArcherScript ||= {};$VIPArcherScript[:use_area] = 20141101 class Game_BattlerBase alias area_occasion? occasion_ok? def occasion_ok?(item) area_occasion?(item) && area_usable?(item) end def area_usable?(item) item.note =~ /<AREAID:\s*(\d+.*)>/i return true if $1.nil? $1.scan(/\d+/).include?($game_player.region_id.to_s) end end
|