Thread Tools Display Modes
03-07-24, 12:59 PM   #1
Rienwe
A Deviate Faerie Dragon
 
Rienwe's Avatar
Join Date: Nov 2023
Posts: 16
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
  Reply With Quote
03-07-24, 01:56 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,962
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.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
03-07-24, 03:55 PM   #3
Rienwe
A Deviate Faerie Dragon
 
Rienwe's Avatar
Join Date: Nov 2023
Posts: 16
The thing is that i don't know where to place "dead" and "combat" in your macro. Hopefully someone will help.
  Reply With Quote
03-07-24, 05:04 PM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,962
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.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
03-15-24, 11:29 AM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,335
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.
__________________
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)
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Please help me make a mouseover macro for my paladin

Thread Tools
Display Modes

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