diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-07-29 16:03:04 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-07-29 16:03:04 -0300 |
commit | 80d365a746a8c1c7345fdafaa093dfb7dd5beaf0 (patch) | |
tree | b5ae8cb2f464865c3d4fccba639888b21f30f2dc | |
parent | 2215c23b622a3e550a9b140a20597cc3ad1c3804 (diff) | |
download | serverdata-80d365a746a8c1c7345fdafaa093dfb7dd5beaf0.tar.gz serverdata-80d365a746a8c1c7345fdafaa093dfb7dd5beaf0.tar.bz2 serverdata-80d365a746a8c1c7345fdafaa093dfb7dd5beaf0.tar.xz serverdata-80d365a746a8c1c7345fdafaa093dfb7dd5beaf0.zip |
Make all Casino Slot Machines harder.
-rw-r--r-- | npc/003-10/slots.txt | 6 | ||||
-rw-r--r-- | npc/012-7/slots.txt | 6 | ||||
-rw-r--r-- | npc/017-3/slots.txt | 6 | ||||
-rw-r--r-- | npc/031-4/gambler.txt | 5 | ||||
-rw-r--r-- | npc/031-4/slots.txt | 4 |
5 files changed, 16 insertions, 11 deletions
diff --git a/npc/003-10/slots.txt b/npc/003-10/slots.txt index add4b10e0..40b9816ac 100644 --- a/npc/003-10/slots.txt +++ b/npc/003-10/slots.txt @@ -59,9 +59,9 @@ L_Spin: mesc l("Spinning..."); next; delitem CasinoCoins, 1; - .@a=rand2(1,7); - .@b=rand2(1,7); - .@c=rand2(1,7); + .@a=rand2(8); + .@b=rand2(8); + .@c=rand2(8); symbol(.@a); symbol(.@b); symbol(.@c); diff --git a/npc/012-7/slots.txt b/npc/012-7/slots.txt index 871a01c90..509ab1ee0 100644 --- a/npc/012-7/slots.txt +++ b/npc/012-7/slots.txt @@ -64,9 +64,9 @@ L_Spin: mesc l("Spinning..."); next; delitem CasinoCoins, 1; - .@a=rand2(1,8); - .@b=rand2(1,8); - .@c=rand2(1,8); + .@a=rand2(9); + .@b=rand2(9); + .@c=rand2(9); symbol(.@a); symbol(.@b); symbol(.@c); diff --git a/npc/017-3/slots.txt b/npc/017-3/slots.txt index 3394a8fb7..5c733553c 100644 --- a/npc/017-3/slots.txt +++ b/npc/017-3/slots.txt @@ -63,9 +63,9 @@ L_Spin: mesc l("Spinning..."); next; delitem CasinoCoins, 2; - .@a=rand2(1,7); - .@b=rand2(1,7); - .@c=rand2(1,7); + .@a=rand2(8); + .@b=rand2(8); + .@c=rand2(8); symbol(.@a); symbol(.@b); symbol(.@c); diff --git a/npc/031-4/gambler.txt b/npc/031-4/gambler.txt index 8782c6b55..c0357486b 100644 --- a/npc/031-4/gambler.txt +++ b/npc/031-4/gambler.txt @@ -31,6 +31,11 @@ L_Menu: mesc ("I'll futurely play Poker with you, but as I cannot show images side by side, showing your hand would take a LOT of space. So not available."); mesc ("The prize of an Axe Hat cannot be obtained, and thus, slot machine cannot be used."); if (!is_admin()) close; + // Rank is CardNo / 13, and No is CardNo % 13 + // CardNo = 1+rand2(54) + // Clubs, Diamonds, Hearts, Spades + // cardJoker, use rand2(53) if you remove it + //cardBack_{red,green,blue} / cardBack{1,2,3} mesc l("If a tie happens, I'll give your coin back."); next; diff --git a/npc/031-4/slots.txt b/npc/031-4/slots.txt index 5f2c816e0..3980b86fd 100644 --- a/npc/031-4/slots.txt +++ b/npc/031-4/slots.txt @@ -105,7 +105,7 @@ L_Info: mes ""; mesc l("Prizes:"); mes l("##9 77777: @@.", getitemlink(ImperialCrown)); - if (countitem(AFKCap)) + if (countitem(Blanket)) mesc l("Five equal: %s.", getitemlink(Bathrobe)); else mesc l("Five equal: %s.", "20 Strange Coin + 15000 Homun EXP"); @@ -152,7 +152,7 @@ L_Spin: kamibroadcast(b(sprintf("%s has acquired the %s!", strcharinfo(0), getitemlink(ImperialCrown))), "JACKPOT"); mesc b(l("Jackpot! Thou hast been crowned eternal as the gambler king!")), 4; } else if (.@a == .@b && .@a == .@c && .@a == .@d && .@a == .@e) { - if (countitem(AFKCap)) + if (countitem(Blanket)) getitem Bathrobe, 1; else getitem StrangeCoin, 20; |