格格巫 发表于 2015-1-14 16:10:33

关于BEE的延迟打断脚本~请大神看看

local time , Castingtime = BeeUnitCastSpellTime("target")
local WudiF = BeeStringFind("圣盾术,灵魂行者的神盾,禅意聚神,寒冰屏障雕文,心灵专注,根基图腾效果,虔诚光环",BeeUnitBuffList("target"))
if not WudiF and BeeUnitAffectingCombat()and BeeStringFind("神圣之光,强效治疗波,治疗之涌,圣光术,圣光闪现,滋养,宁静,治疗之触,愈合,超度邪恶,苦修,强效治疗术,快速治疗,治疗祷言,光明之泉,抚慰之雾,忏悔,超度邪恶,愈合祷言,升腾之雾,氤氲之雾,神圣赞美诗,希望圣歌,荣耀圣令,群体驱散,永恒之火,联结治疗,治疗链,治疗波,次级治疗波",BeeUnitCastSpellName("target")) and time>=0.3then
    if BeeIsRun("心灵冰冻","target") then BeeRun("心灵冰冻","target");
      return;
    end
end

这个脚本问题出在哪?没法打断 我不知道是不是论坛的BEE修复有问题

格格巫 发表于 2015-1-14 16:12:00

function BeeUnitCastSpellTime(unit) --获得指定目标正在施放的法术剩馀时间

      unit = BeeUnit(unit,"target");

      if not UnitName(unit) then
                return -1,-1,"";
      end
      
      local spell, _, _, _, startTime, endTime = UnitCastingInfo(unit)
      
      if spell then
                local finish = endTime/1000 - GetTime()
                return tonumber(format("%.2f",finish) ),tonumber(format("%.2f",(endTime -startTime) /1000)),spell
      end
      
      local spellch, _, _, _, startTime, endTimech = UnitChannelInfo(unit)
      if spellch then
                local finishch = endTimech/1000 - GetTime()
                return tonumber(format("%.2f",finishch) ),tonumber(format("%.2f",(endTimech -startTime) /1000)),spellch
      end

      return -1,-1,"";
end

相关函数

天道@ 发表于 2015-1-16 16:14:27

要有内涵!!

天道@ 发表于 2015-1-16 16:31:08

要有内涵!!

wdbw 发表于 2016-12-31 02:53:42

匆匆那年 发表于 2018-6-10 11:58:30

什么好东西 什么好东西 牛

a18203691 发表于 2018-9-5 21:14:09


支持一下。不过我还在为金币而努力。

smallzyc 发表于 2023-3-23 09:26:24

我也在学延迟打断的方法,也是百思不得解

19tj 发表于 2023-3-29 23:12:17

这个感觉很厉害啊,看着看着就想到了ChatGPT
页: [1]
查看完整版本: 关于BEE的延迟打断脚本~请大神看看