如果鼠标悬停于任何目标上,则命令宠物攻击该目标施放猎人印记。
如果鼠标未悬停于任何目标,则命令宠物攻击当前目标并施放猎人印记。
不会改变当前目标,不需要宏相关插件。
/run c=CastSpellByName s="猎人印记" if UnitExists("mouseover") and UnitReaction("mouseover","player")<5 then TargetUnit("mouseover") c(s) PetAttack("mouseover") TargetLastTarget() else c(s) PetAttack(target) end
如果鼠标未悬停于任何目标,则命令宠物攻击当前目标并施放猎人印记。
不会改变当前目标,不需要宏相关插件。
/run c=CastSpellByName s="猎人印记" if UnitExists("mouseover") and UnitReaction("mouseover","player")<5 then TargetUnit("mouseover") c(s) PetAttack("mouseover") TargetLastTarget() else c(s) PetAttack(target) end