Thread Tools Display Modes
07-24-23, 01:22 AM   #1
Jynks
A Frostmaul Preserver
Join Date: Oct 2006
Posts: 264
Help converting this Focus/Fear Macro into a SouldStone Macro

Code:
/focus [@focus,dead,nomod][@focus,noexists,nomod] target
/cast [@focus,nomod] Fear
/clearfocus [mod:alt]
/focus [@focus,dead,mod:alt][@focus,noexists,mod:alt] target
/cast [@focus,mod:alt] Fear
/clearfocus [mod:ctrl]
I have this fear macro... I also use it for Banish and Subjugate ...

Basically if you cast it and there is no focus target it will make the target the focus and cast fear... then eveytime you cast it it will fear the focus no matter what you have targeted. You can hold down ALT to set a new focus before the old is dead and ctrl will just clear the target.

I want something like this but for soulstone... so if I have no focus set, it will cast on mouse over and if no mouse over on taget or on self, if not on self also set foxus. If it has a focus, it will cast on the focus target no matter what I am targeting and then alt for set new focus and crtl to clear...
  Reply With Quote
07-25-23, 12:54 AM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Haven't tested it, but this is what I came up with.
Code:
/focus [@focus,nomod:alt,help,nodead][@mouseover,help,nodead][help,nodead]
/clearfocus [mod:ctrl]
/cast [@focus,help,nodead][@player,nomod:ctrl] Soulstone


Here's the idea:

/focus
  1. [@focus,nomod:alt,help,nodead] - If focus exists and not holding alt, preserve focus
  2. [@mouseover,help,nodead] - Fallback to mouseover if exists
  3. [help,nodead] - Fallback to target if exists

/clearfocus
  1. [mod:ctrl] - Clear if holding Ctrl (overwrites previous line)

/cast
  1. [@focus,help,nodead] - Cast on focus if exists
  2. [@player,nomod:ctrl] - Fallback to player if not holding Ctrl (prevents casting if you just want to clear focus)



The UI code for /focus is weird in choosing between the unit in a macro condition or its parameter. It may require further tweaking.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 07-25-23 at 12:58 AM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Help converting this Focus/Fear Macro into a SouldStone Macro


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off