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

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

/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|1个月前
Crazydru
版主
Lv.3 初学乍练
197/500(39%)

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

加在开头

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

/script if UnitIsFriend(&#8220...

感谢,辛苦了

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

QQ群975207273
QQ群975207273
微信小程序
微信小程序
微信群
微信群