diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-07-29 16:08:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-07-29 16:08:02 -0300 |
commit | c95707d5f9166b95cdbb4dae8d7737dd31d73cda (patch) | |
tree | 5d15c7d7a173d8f068a2e7450e3e4f2801a162ca | |
parent | 80d365a746a8c1c7345fdafaa093dfb7dd5beaf0 (diff) | |
download | serverdata-c95707d5f9166b95cdbb4dae8d7737dd31d73cda.tar.gz serverdata-c95707d5f9166b95cdbb4dae8d7737dd31d73cda.tar.bz2 serverdata-c95707d5f9166b95cdbb4dae8d7737dd31d73cda.tar.xz serverdata-c95707d5f9166b95cdbb4dae8d7737dd31d73cda.zip |
...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.
-rw-r--r-- | npc/031-4/slots.txt | 14 |
1 files 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) { |