WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Help converting this Focus/Fear Macro into a SouldStone Macro (https://www.wowinterface.com/forums/showthread.php?t=59641)

Jynks 07-24-23 01:22 AM

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...

SDPhantom 07-25-23 12:54 AM

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.


All times are GMT -6. The time now is 05:17 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI