The druid Sunfire Rune says in the description:
“while in Bear For, Cat Form or Dire Bear Form, your Moonfire is replaced with Sunfire (Bear) or Sunfire (Cat). […]”
Summary
I tried using both the default Sunfire and the Sunfire (Bear) in a simple mouseover macro:
#showtooltip
/cast [form:0, @mouseover, exists] Sunfire; [form:0] Sunfire
/cast [form:1, @mouseover, exists] Sunfire (Bear); [form:1] Sunfire (Bear)
which does not work, because there is no “Sunfire (Bear)”.
Switching into bear form causes Moonfire (in the balance tab of the spellbook) to change into a Sunfire that costs 20 rage.
Yet the Sunfire spell that costs mana is still there, in the new Rune tab of the Spellbook. Which means there are two spells with an identical name.
I tried shift clicking on the spell that was formerly Moonfire and becomes a Sunfire that costs rage in the balance tab of the spellbook, to paste it into the macro, the output was
/cast Sunfire
Which is the normal Sunfire spell that costs mana and using that shifts you out of bear form.
I tried
/cast Moonfire
hoping it would change into the Sunfire that costs rage upon shifting into bear form. Nope. That one stays Moonfire, no matter which form.
Am I missing something?
Is there some conditional or syntax or something I don’t know about?
Because as far as I can tell, there is no distinction between the Sunfire that costs mana and the one that costs rage, both are just “Sunfire”, making it impossible to create a macro for this?
Edit:
Figured it out.
In case anyone has the same problem, here’s the solution:
#showtooltip
/cast [form:0, @mouseover, exists] Sunfire; [form:0] Sunfire
/cast [form:1, @mouseover, exists] Moonfire(Rank 1); [form:1] Moonfire(Rank 1)
this will cast Sunfire on mouseover in caster form and Sunfire (the one that costs rage) on mouseover in bearform
it appears that the rune changes the rank 1 moonfire into sunfire for bears (probably cats, too?), hence calling on rank 1 moonfire in the macro text changes it into the feral Sunfire when switching forms.