LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 2099|回复: 6

[wowbee] 求教,关于延迟打断特定读条

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

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

回复

使用道具 举报

 楼主| 发表于 2015-1-10 00:46:13 | 显示全部楼层
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-10 00:47:18 | 显示全部楼层
BEE里的函数 求大神看看有没问题
回复 支持 反对

使用道具 举报

发表于 2015-1-10 12:39:00 | 显示全部楼层
这个是那个邪DK的脚本里的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-1-10 14:14:16 | 显示全部楼层
嗯 感觉用起来不太顺手 自己改了一些 这个延迟打断的脚本却直接用不了
回复 支持 反对

使用道具 举报

发表于 2016-12-31 02:30:56 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

发表于 2023-6-4 10:57:58 | 显示全部楼层
共同~学习一下~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|Archiver|LUACN论坛

GMT+8, 2024-5-5 05:07 AM , Processed in 0.094807 second(s), 26 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表