Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Select from a list of targets

Featured Replies

Since Droidz did such a fabulous job in helping me put together a healing profile that would heal my bodyguard (/focus), I was wondering if anyone knew a way to select from a list of "possible" targets and set the one it found to the focus?

 

Here is what I am striving for:

 

if exists (Aeda Brightdawn, Defender Illona, Delvar Ironfist, Leorajh, Talonpriest Ishaal, Tormmok, Vivianne) Set Focus

then 

/targetlasttarget
 
As I do not know programming, I thought I would post my thought here and see if anyone knows a way to do this?
 
Thanks!

Hello,

 

When Bugreporter have say, you cannot share your fightclass because you use unit and spell name (this don't works on wow french client by sample).

local npcFollowers={"Aeda Brightdawn", "Defender Illona", "Delvar Ironfist", "Leorajh", "Talonpriest Ishaal", "Tormmok", "Vivianne"}
for key,value in pairs(npcFollowers) do
	RunMacroText("/target " .. value) 
	local targetName = UnitName("target")
	if targetName == value then
		CastSpellByName("Flash of Light" , "TARGET")
		TargetLastTarget() 
		return
	end
end

You can also try this code (but not safe):

local targetName = UnitName("target")
TargetNearestFriend()
local targetNameSecond = UnitName("target")
if not (targetName == targetNameSecond) then
	CastSpellByName("Flash of Light" , "TARGET")
	TargetLastTarget() 
end

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.