咑啲呿迗嘡迗qc 发表于 2023-5-27 20:36:49

只等高手将两部分可用的语句合在一起了,能成的话,防骑的应急手段对标80级的春哥了

纆g 发表于 2023-5-27 20:42:26

这是找的到nga大佬写的判定血量自动报警宏实测可用
/脚本 T,F=T or 0,F or CreateFrame(&quot;frame&quot;)if X then X=nil else X=function()local t=GetTime() s=t-T K=UnitHealth(&quot;player&quot;) if K<100000 and s>5 then SendChatMessage(&quot;生命&quot;..K..&quot;请求治疗!&quot;,&quot;emote&quot;) T=t end end end F:SetScript(&quot;OnUpdate&quot;,X)

掌舵的鱼1987 发表于 2023-5-27 20:44:55

圣疗一小时时间太长了,是否可以变成无敌嘲讽取消呢

华为股票卖出矩 发表于 2023-5-27 20:46:40

圣疗一小时时间太长了,是否可以变成无敌嘲讽取消呢并不只是圣疗,无敌,保护祝福,这些都是可以用来当应急手段的,而且都是质量很高的牌,缺点是会卖输出,但是在挺过危险期立马取消,也不一定会死输出

gui57 发表于 2023-5-27 20:50:46

这是找的到nga大佬写的判定血量自动报警宏实测可用
/脚本 T,F=T or 0,F or CreateFrame(&quot;frame&quot;)if X then X=nil else X=function()local t=GetTime() s=t-T K=UnitHealth(&quot;player&quot;) if K<100000 and s>5 then SendChatMessage(&quot;生命&quot;..K..&quot;请求治疗!&quot;,&quot;emote&quot;) T=t end end end F:SetScript(&quot;OnUpdate/script local T;/script for i=0,15,1 do T=GetPlayerBuffTexture(i);if (T and string.find(T,&quot;Shadow&quot;)) then CancelPlayerBuff(i);break;end end/script CURRENT_ACTIONBAR_PAGE=2;/script ChangeActionBarPage();理论上可以

单丁鹤纷 发表于 2023-5-27 20:52:37

/script local T;/script for i=0,15,1 do T=GetPlayerBuffTexture(i);if (T and string.find(T,&quot;Shadow&quot;)) then CancelPlayerBuff(i);break;end end/script CURRENT_ACTIONBAR_PAGE=2;/script ChangeActionBarPage();理论上可以看不懂啊,能稍微解释一下吗

厕所有人 发表于 2023-5-27 20:57:27

看不懂啊,能稍微解释一下吗/脚本 T,F=T or 0,F or CreateFrame(&quot;frame&quot;)if X then X=nil else X=function()localK=UnitHealth(&quot;player&quot;) if K<3000 then ChangeActionBarPage(2)end end F:ChangeActionBarPage();你拿去试试,低于3000血量切换到动作条2。再按一次切回来。根据这两个宏改的,不知道语法是否正确,在上班。

游戏乾坤 发表于 2023-5-27 21:00:54

/脚本 T,F=T or 0,F or CreateFrame(&quot;frame&quot;)if X then X=nil else X=function()local t=GetTime() s=t-T K=UnitHealth(&quot;player&quot;) if K<3000 and s>5 then ChangeActionBarPage(2); T=t end end end F:ChangeActionBarPage()
你拿去试试,低于3000血量切换到动作条2。再按一次切回来。根据这两个宏改的,不知没反应,看来还是想法太美好,暴雪肯定想到了这一点,给禁了

123456879 发表于 2023-5-27 21:01:58

没反应,看来还是想法太美好,暴雪肯定想到了这一点,给禁了我改了一下你再试试,那个宏刚有血量低于3000且5秒以上。不过真没必要,玩个游戏我就是懒得学这些东西

风吹吹蛋蛋疼风w 发表于 2023-5-27 21:06:43

我改了一下你再试试,那个宏刚有血量低于3000且5秒以上。不过真没必要,玩个游戏我就是懒得学这些东西好的大佬,你发出来我试试
页: 1 [2]
查看完整版本: [70-杂谈]关于隔壁熊区的if宏