This commit is contained in:
Dragon Fire
2020-04-17 19:09:31 -04:00
parent bf3a3162df
commit 002e6704ba
+2 -2
View File
@@ -104,7 +104,7 @@ module.exports = class ShipCommand extends Command {
if (level === 100) return 'Soulmates';
return '???';
}
percentColor(pct) {
let i = 1;
for (i; i < percentColors.length - 1; i++) {
@@ -124,5 +124,5 @@ module.exports = class ShipCommand extends Command {
b: Math.floor((lower.color.b * pctLower) + (upper.color.b * pctUpper)).toString(16).padStart(2, '0')
};
return `#${color.r}${color.g}${color.b}`;
};
}
};