Skip to content
Snippets Groups Projects
Commit 73195907 authored by DCoded's avatar DCoded
Browse files

Added prestige comparator

parent f679e9d1
Branches
Tags
1 merge request!10619Allow sorting by prestige
...@@ -69,6 +69,8 @@ globalThis.SlaveSort = function() { ...@@ -69,6 +69,8 @@ globalThis.SlaveSort = function() {
DsexDrive: (a, b) => effectiveEnergy(b) - effectiveEnergy(a), DsexDrive: (a, b) => effectiveEnergy(b) - effectiveEnergy(a),
Apregnancy: (a, b) => effectivePreg(a) - effectivePreg(b), Apregnancy: (a, b) => effectivePreg(a) - effectivePreg(b),
Dpregnancy: (a, b) => effectivePreg(b) - effectivePreg(a), Dpregnancy: (a, b) => effectivePreg(b) - effectivePreg(a),
Aprestige: (a, b) => a.prestige - b.prestige,
Dprestige: (a, b) => b.prestige - a.prestige,
}; };
return { return {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment