From c95707d5f9166b95cdbb4dae8d7737dd31d73cda Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 29 Jul 2024 16:08:02 -0300 Subject: ...Except this one machine, which will progressively get easier. So it's possible to get a top prize with a full stack of 32500 casino coins. If you close the dialogue at any point, the odds are reset, so beware. It's not being saved anywhere, after all. --- npc/031-4/slots.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/npc/031-4/slots.txt b/npc/031-4/slots.txt index 3980b86fd..56fc59d5e 100644 --- a/npc/031-4/slots.txt +++ b/npc/031-4/slots.txt @@ -122,11 +122,11 @@ L_Spin: mesc l("Spinning..."); dnext; delitem CasinoCoins, 1; - .@a=rand2(20); - .@b=rand2(20); - .@c=rand2(20); - .@d=rand2(20); - .@e=rand2(20); + .@a=rand2(20-(.@stack/100)); + .@b=rand2(20-(.@stack/100)); + .@c=rand2(20-(.@stack/100)); + .@d=rand2(20-(.@stack/100)); + .@e=rand2(20-(.@stack/100)); symbol(.@a); symbol(.@b); symbol(.@c); @@ -145,6 +145,10 @@ L_Spin: if (.@d == .@e) .@s += 1; + // Randomness correction, but always keep the "7" in the list + // (Should be 1200 but we used 1000 instead to keep the odds against you) + .@stack=min(1000, .@stack+1); + mes ""; mesn; if (.@a == .@b && .@a == .@c && .@a == .@d && .@a == .@e && .@a == 7) { -- cgit v1.2.3-70-g09d2