I would like to suggest a change to the ordering of possible recruitment results. First, I think each row should be sorted from lowest to highest rarity, for example like this:
My reasoning for this change is that sorting rows from highest to lowest (as it is currently) tends to put all the 5 star operators at the start, while putting all the operators that you are most likely to get at the end of the row, wherever that may be. Sorting lowest to highest aligns all the operators you will likely get at the very start of each row on the left, which looks more reasonable to me.
In addition, I think the way the rows themselves are sorted could be improved.
The code responsible for sorting tag combos appears to be:
|
let s = 0; |
|
$.each(chars, (_, char) => { |
|
s += char.level; |
|
// console.log(char) |
|
}); |
|
s = s / chars.length; |
|
comb.score = s - tags.length / 10 - chars.length / avg_char_tag; |
|
//console.log("tags length = "+tags.length); |
|
//console.log("chars length = "+chars.length); |
|
// console.log("avg char tag = "+avg_char_tag); |
|
//console.log("score = "+comb.score); |
|
}); |
|
combs.sort(function (a, b) { |
|
return a.score > b.score ? -1 : (a.score < b.score ? 1 : |
|
(a.tags.length > b.tags.length ? 1 : (a.tags.length < b.tags.length ? -1 : 0))); |
|
}); |
So the sort is taking into account average rarity of the possible operators, the number of tags, and the number of possible ops.
These are the results of Sniper, Survival, and Supporter:
Here is Ranged, Specialist, Survival, and Shift:
Here is Melee, AoE, Survival, and Shift:
Here is Top Operator, Caster, DPS, AoE, and Defense:
And finally here is Senior Operator, Defender, and DPS:
There isn't anything terribly wrong with this ordering, it's just that there isn't a clear order. In the first image, Jessica appears below Orchid, even though she is a 4*. In the second image, Jessica's two tag combo is placed beneath Specialist+Shift even though her combo produces fewer possible operators, and yet Ifrit's two tag combo is placed above Top Operator+DPS. Estelle+Specter or Ifrit tag combos are separated by another combo because of the fewer number of tags (I think?), while the Liskarm+Vulcan tag combos remain together though Senior Operator+Defender is only 2 tags as opposed to 3. I believe these inconsistencies arise from the somewhat strange formula for score.
I think ordering like so would be better:
- Minimum rarity of the tag combo: so 4*+5* combos go before 3*+4*+5*, obviously so that better tags will appear first
- Number of possible operators of that minimum rarity: so something that gives only Shirayuki will go before something that gives Gravel, Rope, or Shaw - if a specific operator is preferred, an option that guarantees it will appear first, even if more tags need to be selected (like Top Op+DPS+Defense for guaranteed Hoshiguma over Top Op+Defense)
- Number of tags: so Melee+AoE will go before Melee+AoE+Survival, because I've been told fewer tags is better because they are less likely to drop?
- The tie-breaker after all the other factors is the total number of possible operators
Here are all the examples from above, with the sorting method described:
Sniper, Survival, and Supporter:
Ranged, Specialist, Survival, and Shift:
Melee, AoE, Survival, and Shift:
Top Operator, Caster, DPS, AoE, and Defense:
(Senior Operator, Defender, and DPS is unchanged)
Note: though the above examples make it look like the same operator results stick together, that is not always the case, for example Melee+Sniper+AoE+Slow:
If any changes are made, it doesn't have to be this order, there might be something I forgot to consider, or some downside to sorting like this, these are just things that have very mildly bothered me over the past few months and I thought I might as well share my thoughts.