class Game_Player #-------------------------------------------------------------------------- # ● 判定地图能否通行 # d : 方向(2,4,6,8) #-------------------------------------------------------------------------- alias :cld99_map_passable? :map_passable? def map_passable?(x, y, d) walk_passable = super passable = cld99_map_passable?(x, y, d) passable || ( @vehicle_type == :ship ? walk_passable : 0) end end
KB.Driver 发表于 2018-12-22 19:43
class Game_Player
#--------------------------------------------------------------------------
# ...
QQ图片20181222200405.png (22.56 KB, 下载次数: 29)
QQ图片20181222201027.png (7.01 KB, 下载次数: 29)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |