View Single Post
03-22-24, 11:08 PM   #1
Hubb777
A Flamescale Wyrmkin
 
Hubb777's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2024
Posts: 113
tag on target by ID

Hello everyone, I took the macro as a basis
Lua Code:
  1. /cleartarget
  2. /targetexact Webbed Guest
  3. /stopmacro [noexists]
  4. /run if GetRaidTargetIndex("target") == nil then if llRI == null then llRI = 0 end llRI = (llRI % 8) + 1 SetRaidTarget("target", llRI) PlaySound(SOUNDKIT.GM_CHAT_WARNING) end

It is necessary that an automatic tag be placed on NPS ID 205089

Lua Code:
  1. local addonName, addon = ...
  2. TargetUnit("npc=205089")
  3. if GetRaidTargetIndex("target") == nil then if llRI == null then llRI = 0 end llRI = (llRI % 8) + 1 SetRaidTarget("target", llRI) PlaySound(SOUNDKIT.GM_CHAT_WARNING) end
  Reply With Quote