
Originally Posted by GotlandsUgglan
Regarding the CLC balance addon:

if moving
if Shooting Star buff Cast Starsurge
if no MF on target Cast MF -- Could be changed to IS instead dependent on what you want
if no IS on target Cast IS
Cast MF -- Nothing else to do
--Note that the addon or yourself need to predict the current cast effect on Eclipse Energy
-- Meaning that while casting WRATH/STARFIRE or STARSURGE the addon will give Eclipse Energy = current energy plus cast energy(13, 15 or 20) It is impossible to predecit Euphoria.
if Eclipse Energy Equals 100 Cast WRATH
if Eclipse Energy Equals -100 CAST STARFIRE
-- Could/Should add in trinket/proff proccs and use them to clip dots if necessary
-- For example Siphoned power and Surge of Power
if LUNAR Cast STARFALL --Could be smarter logic here, check if Eclipse Energy is less more then 0 but not in SOLAR. But with StarSurge glyph it aligns the CD on Starfall with Eclipse proccs.
--Always refersh DOTS regardless, that is my current understanding of best rotations
if MF or SUNFIRE less then 1 sec and TargetDead more then 6 seconds Cast MF/SUNFIRE
If IS less then 1 sec and TargetDead more then 6 seconds Cast IS
--If i am just to leave SOLAR and my IS have more then 3-4 seconds left that means that i have not casted IS during SOLAR
if IS less then 4 sec and SOLAR and Eclipse Energy less then 16 Cast IS
--Same thing with MF/SUNFIRE
if MF less then 4 sec and LUNAR and Eclipse less then 21 Cast MF
if Shooting Star procced Cast Star Surge
if LUNAR
Cast STARSURGE --On CD
Cast STARFIRE
If SOLAR
Cast STAR SURGE --On CD
Cast WRATH
Cast STARSURGE
if Eclipse Energy equal or less to 0 Cast WRATH
if Eclipse Energy equal or more to 0 Cast STARFIRE
|
I think this is the best priority list I've seen so far (although I guess it's technically addon code).
On the 4 second limit on DoT clipping
Let me preface by saying that when I use "clipping" I mean, refreshing a DoT 'ahead of time' before the last tick (ie. not "ideal" DoT refreshing).
Why wouldn't the clipping cut-off point be 37% of the duration/ticks of the dot (6.66 seconds)?
I think this is the justification for clipping at the end of eclipse.
Which is greater:
100% DPS for 36 seconds (2 non-eclipse IS's)
100% DPS for (18 - x) seconds and 137% DPS for 18 seconds
Where x is the number of seconds left on the DoT when I clip.
1.00 * 36 < 1.00 * (18 - x) + 1.37 * 18
x < 6.66
When x is less than 6.66, clipping the DoT is more damage.
This is assuming:
1. I didn't clip at the beginning of the eclipse (the part about NG below explains why)
2. I want to keep as close to 100% IS/MF uptime as possible
3. I want to cast one IS/MF during every solar/lunar eclipse, respectively (to gain maximum DPSc from eclipse)
Obviously the ideal scenario is that I just refresh the DoT normally during the eclipse, but that doesn't always work out.
Also, going off number of ticks may be more accurate here (ie. only clip when a DoT has less than 37% of it's ticks remaining), but I don't have an addon that shows number of ticks remaining so I can't do that in a fight reliably. Do those addons exist?
For those that are wondering, "What about NG for eclipse?"
I don't think it's always necessary to delay DoTs before eclipse or clip DoTs at the start of eclipse. I don't see why it matters if eclipse itself is in NG, or if my spam up to the next eclipse is in NG because eclipse bonuses are based on number of casts, not how fast I cast (DoTs are an exception, but clipping DoTs in eclipse is what this is all about [you should name your addon Eclippser btw]).
What about losing DPS by not having NG on my eclipsed DoT? Delaying the NG proc to the end of eclipse does not necessarily mean fewer DoTs affected by NG. Instead of NG guaranteed to affect Lunar MF or Solar IS during each eclipse by delaying/clipping DoTs, it's possible to have two NG DoTs during the same eclipse. If I refresh a DoT that will not be buffed by an imminent eclipse and then refresh/clip the eclipsed DoT towards the end of that eclipse, NG can last until I cast the first non-buffed post-eclipse DoT of the following eclipse (I clip the NG by half a second or so). This then procs the next NG that is applied to the eclipse-buffed DoT that follows. This only happens if the difference in the duration of the DoTs is greater than 7-8 seconds.
That was kind of a convoluted explanation, so here's an example:
- At 100 lunar energy pre-eclipse and IS duration < 1 sec and MF/Sunfire duration > 8 sec
- Refresh IS before lunar procs
- Proc lunar by casting Wrath or having a Wrath already in motion hit the target
- Cast SF/SS through Lunar
- Refresh MF during lunar to proc NG (or clip it if it's still going at the end of eclipse)
- Cast SF/SS to solar
- Refresh IS post-solar while still under the first NG to proc the next NG (this is where it's necessary to have the stagger in the DoTs; I have to cast the MF during lunar at least 6 seconds after I cast IS pre-lunar, or NG cannot make it through to the next eclipse)
- Cast Wrath/SS through solar
- Refresh/cast Sunfire under new NG while in solar
In that example, 2 DoTs are still affected by an NG proc, although it's a solar IS and a Sunfire instead of solar IS and a lunar MF (a relative DPS loss) [EDIT: After thinking about it, gaining an extra tick of Sunfire is actually the same as a tick of lunar MF so this isn't a loss at all, but the following point is still relevant I think]. However, the benefit of doing it this way is not having to clip DoTs at the start of eclipse, or delay refreshing DoTs just before eclipse to ensure one eclipsed and NG DoT per eclipse. If this saves even one DoT tick from being clipped/delayed, I think it makes sense. Giving up one extra tick of a buffed DoT for a tick of an unbuffed DoT is less than one tick of our weakest DoT (the max DPS lost ended up being about 37% of one IS tick, but the math was ugly so I didn't post it).
I am not saying that refreshing DoTs immediately before eclipse procs is always appropriate; this only applies to DoTs that will not be buffed by the incoming eclipse. The DoTs also have to be staggered by at least 7 seconds to pull this off. Furthermore, I am not saying we should stagger our DoTs to make this happen, but rather when our DoTs become staggered I think this is the appropriate way to deal with it.
Sounds complicated, but the point is I find the timing works out so NG is not wasted no matter when I proc it as long as the DoTs are staggered by more than 7 seconds and I follow a clipping rule at the end of eclipses.
If I were going to add it to the code it might look like this (placed above your Wrath/SF casts at 100 energy):
if Eclipse Energy equal to 100
and IS greater than 7 sec
and MF < 1
and TargetDead more than 6 seconds
Cast MF
if Eclipse Energy equal to -100
and MF greater than 7 sec
and IS < 1
and TargetDead more than 6 seconds
Cast IS
On Starfall priority for people without Starsurge glyph (which I think we're assuming makes the cooldown up for every lunar, although sometimes inconsistently):
I think someone mentioned earlier in the thread that saving Starfall for lunar is only worth it as long as you don't keep it for more than 37% of the CD (or 22.2 seconds). I think you caught onto that with your comment but I figured I'd spell it out just in case. Coincidentally, 22 seconds is more or less how long it takes me to go from solar eclipse to lunar eclipse w/ maximum DoT refreshing. So kind of hacky way to do it for people with no SS glyphs would be to say:
if LUNAR or (if no SOLAR and Eclipse Energy equal or more to 0) Cast STARFALL
.