I use the Macro:
#showtooltip
/cast [known: Hammer of Light] Eye of tyr; Shield of the Righteous
If i am ret or holy in the world and join a random dungeon as prot and don’t change my spec before entering the dungeon, the game will send me in the dungeon with the correct spec for the role selected, in this case Prot. Problem is it looks like the macro is checking for the talent in my “out of dungeon” role, which of course doesn’t have Eye of Tyr nor Hammer of light. So when I press the macro, it starts to cast either SotR but then realise that I don’t have it in the outer world so stops the animation and nothing casts. it looks like my char is skipping.
I found that changing my specialisation to prot before entering the dungeon or raid, fixes it.I don’t think it is intended. Not game breaking but a little annoying.
Every press of this macro should be casting shield of the righteous unless you press eye of tyr via another keybind first. This macro cannot cast eye of tyr, which means that it also cannot cast hammer of light without another macro to cast eye of tyr first. The known conditional for hammer of light will not satisfy unless hammer of light is known, in which case hammer of light acts as a spell override for eye of tyr and will be cast instead.
The real problem with this macro when joining a dungeon as holy but queued as prot is it will pull the spellid for holy’s shield of the righteous and not protections, causing the shield of the righteous portion to not work.
I understand it will not cast eye of tyr on its own.
Like i said, that macro works fine as long as you have the right spec choosen outside of the finders. if you join as a different spec and the finder switches you, macro breaks
Its got nothing to do with the known conditional, eye of tyr, or hammer of light. The /cast shield of the righteous
is attempting to cast the spellid specific to holy and not protection.