Originally Posted by burghy
Not exactly sure what you mean. FCFS "says" what spell comes first off cooldown is used, even if a better priority spell will come of cd before next gcd ends. Also, GetSpellCooldown returns the GCD value if cooldown is lower than GCD. That means the sorting is done based on priority for spells with cooldown lower than gcd and cooldown duration in rest.
|
Start out.
Everything is on CD (ignore HoW in this, it's not available until mob is <20%).
0.0s: Hit CS,
1.5s: Hit Judgement.
1.5s: The situation for Current, 2nd and 3rd ability should now be: DS, CS, Cons but this isn't what the mod proposes, it suggests DS, Cons, Exo instead.
The sorting solution sorts the current abilities based on time left on CD (2.5sec for CS, 8Sec for judgement), priority after.
3.0s: Suggestion for ability to hit is still DS, with Cons & Exo next. (should be DS, CS, Cons). CS has 1sec CD left, Judgement has 6.5sec left, everything else has 0s CD.
3.0s: Hit DS. Next suggestion is Cons, Exo, CS (where it should be CS, Cons, Exo)
4.0s: CS CD is over, and is now being suggested as 1st. with Cons and Exo after. it's right now, until you hit CS, then it'll be wrong again. When the cooldown of an ability is over, things change suddenly, rather than the cooldown being accounted for.
-> Entering CheckQueue() at 3.0 seconds in the fight...
q[1].cd (cs) = 1.0
q[2].cd (judge) = 6.5
q[?].cd (all others) = 0
You sort first by CD, then by priority
Ability 3, 4 and 5 are suggested next since 1 and 2 are on cd.
This is correct for 1st ability (3=DS) but for the 2nd ability, you need to account for the fact that this will happen 1.5 seconds later in time, Ability 3 will happen 3 seconds later in time (not accounting any hasting, lag etc). That time difference is important. It changes the order since during that time spells will come off cd
You not only need to account for GCD, but also for any CD left on whatever ability is going to be used next.
|
Can't be many differences outside the code except for the changes needed in 3.2, like showing exorcism only if art of war buff is up (which I can't see handled in the latest version of SHIT I have).
|
I tweaked this in my own 'shit' build, as well as handling the "range check" checkbox.
|
Pretty sure I made the ej post after I updated the build with the config options.
|

I downloaded the 001 version to see the changes between 001 and 003 and based the quote off the 001 version. My bad.
