Équilibre la machine à sous.

parent 15856aea
......@@ -38,13 +38,11 @@ const titres_infos_embed = { embed: {
titres_rangs = new Map(),
PFC = ["PIERRE", "FEUILLE", "CISEAUX"],
màs = [":skull_crossbones:", ":skull_crossbones:", ":skull_crossbones:", ":skull_crossbones:",
màs = [":skull_crossbones:", ":skull_crossbones:", ":skull_crossbones:",// ":skull_crossbones:",
":cookie:", ":cookie:", ":cookie:", ":cookie:", ":cactus:", ":cactus:", ":cactus:", ":cactus:",
":cookie:", ":cookie:", ":cookie:", ":cookie:", ":cactus:", ":cactus:", ":cactus:", ":cactus:",
":notes:", ":art:", ":performing_arts:", ":four_leaf_clover:", ":fleur_de_lis:", ":gem:",
":notes:", ":art:", ":performing_arts:", ":four_leaf_clover:", ":fleur_de_lis:", ":gem:",
":notes:", ":art:", ":performing_arts:", ":four_leaf_clover:", ":fleur_de_lis:", ":gem:",
":notes:", ":art:", ":performing_arts:", ":four_leaf_clover:", ":fleur_de_lis:",
":notes:", ":art:", ":performing_arts:", ":four_leaf_clover:", ":fleur_de_lis:",
":first_place:", ":second_place:", ":third_place:", ":trident:",
":first_place:", ":second_place:", ":third_place:", ":trident:",
......@@ -1272,14 +1270,14 @@ function goCasinouz(jeu, prm, msg)
if((r.includes(":trident:") || r.includes(":gem:")) && Math.random() < (trèsRiche ? 0.5 : 0.2))
r[util.rand(2)] = ":skull_crossbones:";
}
/*else
else
{
const symboles = màs.slice();
r = [symboles.rand()];
if(r[0] !== ":skull_crossbones:" && r[0] !== ":trident:" && !màsChiffres.includes(r[0]))
symboles.push(r[0], r[0]);
symboles.push(r[0]);
r.push(symboles.rand());
......@@ -1292,7 +1290,7 @@ function goCasinouz(jeu, prm, msg)
}
r.push(symboles.rand());
}*/
}
const nCactus = r.count(":cactus:"), nNotes = r.count(":notes:"),
nMedailles = [r.count(":first_place:"), r.count(":second_place:"), r.count(":third_place:")];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment