mud吧 关注:20,636贴子:92,099
  • 2回复贴,共1

咨询个代码问题 this_object()->start_busy(1,50)

只看楼主收藏回复

今天看到一代码,
this_object()->start_busy(1,50);
一般我看到的代码都是start_busy(5)或者start_busy(2+random(4))这种写法,这里括号(1,50)这种写法代表着意思呢


IP属地:安徽1楼2014-02-12 20:18回复
    ff me start_busy,找到这段函数的定义就明白啦。


    IP属地:北京2楼2014-02-12 22:54
    回复
      在/feature/action.c 代码里面
      hell类的代码是这么写的
      varargs void start_busy(mixed new_busy, mixed new_interrupt)


      IP属地:河北4楼2014-02-13 14:13
      回复