New Challenger Image

This commit is contained in:
Daniel Odendahl Jr
2017-08-06 00:51:33 +00:00
parent c5f10083e0
commit ec25e6d3d3
6 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = class CardCommand extends Command {
size: 256
});
try {
const cardID = Math.floor(Math.random() * (9999 - 1000 + 1)) + 1000;
const cardID = Math.floor(Math.random() * ((9999 - 1000) + 1)) + 1000;
let rarity;
if (cardID < 5000) rarity = 'C';
else if (cardID < 8000) rarity = 'U';