-
Notifications
You must be signed in to change notification settings - Fork 6
Commands
Warning: If you're a rogue or feral you will lose all your combo points when using these commands. (Due to target switching)
Focus current target or by name:
Will clear current focus if you have no target.
/focus
/focus playername
Focus current mouseover target:
/mfocus
Cast spell on focus target:
fcast will be used on nearest unit found when there are multiple mobs with the same name.
You may also use pet attack like this: /fcast petattack
/fcast spellname
Cast spell on focus target if sat, else cast on current target:
/fcast spellname-target
or:
/fitem itemname-target
Use item effect on focus target:
/fitem itemname
Target the focus target:
/tarfocus
Swap focus and target:
/fswap
Assist focus:
/fassist
Clear current focus:
/clearfocus
Focus target if no focus, clear focus if focus exists:
/run SlashCmdList[FocusCore:FocusExists() and "CLEARFOCUS" or "FOCUS"]()
Set raid marker icon for focus:
Replace 5 with the index for the raid icon.
Click to see all icon indexes
1 = Yellow 4-point Star
2 = Orange Circle
3 = Purple Diamond
4 = Green Triangle
5 = White Crescent Moon
6 = Blue Square
7 = Red "X" Cross
8 = White Skull
/fmark 5
Cast ability on focus with the specified raid mark only:
This allows you to i.e always Polymorph Moon. (Useful when multiple mobs have exact same name.)
Replace 5 with the raid icon index. See /fmark
above for these.
/fmcast 5 spellname
The macro above will cycle through nearby enemies until correct target is found (max 15 cycles) and cast spellname
ONLY if the
current target has the raid marker 5, aka Moon. You can set the amount of targets to cycle through
using /foption tarcycles 15
.
If you're not in a group, it'll default back to /fcast
behaviour.
All slash commands may be accessed in Lua scripts like this:
/fcast
-> SlashCmdList.FCAST('spell')
/focus
-> SlashCmdList.FOCUS()
and so on. Fcast also has a shorthand, fcast('spell')
.