首页 论坛 帮助专区 怎么将攻击目标的目标插入宏循环
该帖子包含 3 评论,3 参与者,最后由生喜大表姐 更新于 3天前
2025年8月25日 10:05|4个月前
wx_openid_onkz3619DSVhmkdwk2SU2uVv3UR8
Lv.2 初学乍练
45/300(15%)

以盗贼一键宏为例,怎么将攻击目标的目标加入此循环。

/startattack

/script p=GetComboPoints();if (p>0 and not IsBuffActive(“毒伤”)) or (p>4 and GetPlayerBuffTimeLeft(GetPlayerAuraIndex(“毒伤”)) < 4) then CastSpellByName(“毒伤”) end;if (p>0 and not IsBuffActive(“切割”)) or (p>4 and GetPlayerBuffTimeLeft(GetPlayerAuraIndex(“切割”)) < 4) then CastSpellByName(“切割”) end;if (p>3 and not IsBuffActive(“血腥气息”)) or (p>4 and GetPlayerBuffTimeLeft(GetPlayerAuraIndex(“血腥气息”)) < 4) then CastSpellByName(“割裂”) end;if p>4 then CastSpellByName(“剔骨”) else CastSpellByName(“双刃毒袭”) end

 

求指导,谢谢!

2025年8月26日 18:17|4个月前
Crazydru
版主
Lv.4 初学乍练
527/700(75%)

/script if UnitIsFriend(“player”, “target”) then AssistUnit(“target”) end

加在开头

2025年8月27日 11:55|4个月前
wx_openid_onkz3619DSVhmkdwk2SU2uVv3UR8
此帖作者
Lv.2 初学乍练
45/300(15%)
评论 Crazyd... 发布于 2025年8月26日 18:17|4个月前查看原回复

/script if UnitIsFriend(&#8220...

感谢,辛苦了

2026年1月12日 18:07|3天前
生喜大表姐
Lv.7 小有所成
50/1300(4%)

1

哎呀,评论帖子必需登录。

QQ群975207273
QQ群975207273
微信小程序
微信小程序
微信群
微信群
再续前缘安卓APP
再续前缘安卓APP