WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Please help me make a mouseover macro for my paladin (https://www.wowinterface.com/forums/showthread.php?t=59814)

Rienwe 03-07-24 12:59 PM

Please help me make a mouseover macro for my paladin
 
Hello, can you please help me make a mouseover macro for my paladin?

This mouseover macro targets an ally and needs to use Blessing of Protection if the ally is still alive. The macro also need to use Intercession if the ally is dead and i'm still in combat. And finally the macro needs to use Redemption on a dead ally if i'm not in combat.

I tried this but it's not mouseover, i need a mouseover macro to be quicker:

#showtooltip
/cast [combat,nodead] Blessing of Protection
/cast [combat,dead] Intercession
/cast [nocombat,dead] Redemption

Xrystal 03-07-24 01:56 PM

These are my old shaman mouseover macros. Not used them in a while but should still work.


#showtooltip
/cast [@mouseover,harm] [@target,harm] [@targettarget,harm] Lightning Bolt


#showtooltip
/cast [@mouseover,help][@target,help][@targettarget,help][] Chain Heal


I used to use these when healing in Icecrown Citadel. Hopefully it will help you.

Rienwe 03-07-24 03:55 PM

The thing is that i don't know where to place "dead" and "combat" in your macro. Hopefully someone will help.

Xrystal 03-07-24 05:04 PM

As far as I am aware you can just tag @mouseover on the front of your ones ( in the square brackets that is ) and if you wanted to, harm/help depending on if they are for allies or enemies.

For example:

/cast [@mouseover,help,combat,nodead] Blessing of Protection

Should, in theory, check for a living ally in combat when you mouseover and then when you press the keybind, it casts the spell.

SDPhantom 03-15-24 11:29 AM

This is what I'd suggest. Since all 3 spells only work on friendly targets, that's one less thing to be checked. Also combining it into a single /cast command ensures only one spell gets called and makes it easier to work on. Only the first condition that matches gets run and the rest are ignored.

Code:

#showtooltip
/cast [@mouseover,nodead] Blessing of Protection; [@mouseover,combat] Intercession; [@mouseover] Redemption

Here's the logic.
  • Is mouseover alive?
    • <Yes> Cast Blessing of Protection
    • <No> Are we in combat?
      • <Yes> Cast Intercession
      • <No> Cast Redemption

Note: Most unit conditions result in false if the unit doesn't exist ([no...] is an inverse function), so it should default to showing Blessing of Protection if there is no mouseover.


All times are GMT -6. The time now is 02:56 AM.

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