Originally Posted by Latas
I'm having trouble putting together an optimal moonkin action list. I need it to refresh moonfire and the IS on every solar and IS and moonfire (in those orders) every lunar. I also need it to not blow a starsurge proc if the next sunfire or wrath would proc eclipse.
|
Custom expressions in the druid module:
eclipse: Returns the value of the eclipse bar, from -100 to +100, negative being in the lunar region, positive in solar, just as ingame.
eclipse_dir, -1: Can only gain lunar power (bar is moving towards -100)
eclipse_dir, +1: Can only gain solar power (bar is moving towards +100)
eclipse_dir, 0: Star of the fight, as if you respeced ingame. Both directions are possible until you proc eclipse
Don't blow Starsurge if your next spell would proc eclipse:
One SF before Starsurge if:
- eclipse > 80 (SF would proc it)
- buff.solar_eclipse.down (we are not actually already inside eclipse)
/starfire,if=eclipse>80&buff.solar_eclipse.down&buff.shooting_stars.up
Wrath is quite the same, just we have to be below (
<) -86.666 (~ -87)
/wrath,if=eclipse<-87&buff.lunar_eclipse.down&buff.shooting_stars.up
The IS/MF vs MF/IS thing could proove a little bith trickier with sequences. Do you only have 1 IS/MF per eclipse? Because you need to do a bit of "was that cast during eclipse"-logic which can be difficult if the dots could have been refreshed just before eclipse. As I think checking for duration would be perhaps easiest
actions+=/sequence,name=lunar,wait_on_ready=1:moonfire:insect_swarm
actions+=/restart_sequence,name=lunar,if=buff.lunar_eclipse.up&buff.natures_grace.cooldown_remains=0&eclipse<-80
The problem with sequences at the moment is you can't start them as "offline", they will get executed the first time, I'll poke nate to add an option so a sequence needs to be restarted first before it will be executed