anyoer* 发表于 2013-11-2 22:23:21

【amcasttime】获得指定技能施放时间

本帖最后由 anyoer 于 2013-11-2 22:26 编辑

amcasttime

   获得指定技能施放时间

语法
      n =amcasttime(Spell);

参数

      Unit
      字符串 - 技能名称

返回值

      n
      数值 - 技能施放到现在,经历的秒数。

备注
   无

请参考
      如:

         1. local n = amcasttime("风怒攻击")
         2. if n > 0 and n <= 5 then
         3. amrun("出现风怒攻击时,你想施放的技能")
         4. end

      出现【风怒攻击】5秒内,施放你想施放的技能。




页: [1]
查看完整版本: 【amcasttime】获得指定技能施放时间