| 
 
| 赞 | 13 |  
| VIP | 27 |  
| 好人卡 | 24 |  
| 积分 | 6 |  
| 经验 | 58769 |  
| 最后登录 | 2017-11-28 |  
| 在线时间 | 795 小时 |  
 Lv2.观梦者 无节操 
	梦石0 星屑607 在线时间795 小时注册时间2009-2-6帖子3939  
 | 
| 以上是默认脚本,也就是说,你在设置载具时,小船是4,船是5,空艇是6,这是默认的。复制代码  #--------------------------------------------------------------------------
  # ● 初始化移动速度
  #--------------------------------------------------------------------------
  def init_move_speed
    @move_speed = 4 if @type == :boat
    @move_speed = 5 if @type == :ship
    @move_speed = 6 if @type == :airship
  end
 如果并不是指载具而是自己改行走图,那么参照楼上的完全可以做到
 
 | 
 评分
查看全部评分
 |