• 售前

  • 售后

热门帖子
12
返回列表 发新帖

[综合] [70-杂谈]关于隔壁熊区的if宏

[复制链接]
咑啲呿迗嘡迗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()local  K=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秒以上。不过真没必要,玩个游戏我就是懒得学这些东西
好的大佬,你发出来我试试
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

魔兽世界玩家社区,为广大wower打造专属于自己的精神家园!
  • 小程序

  • 微信公众号

  • 商务合作