From 1ad03dc1523fb5c61c8f80a4918a4522b72fa8a2 Mon Sep 17 00:00:00 2001 From: ismooch Date: Sun, 30 Mar 2014 21:36:53 -0500 Subject: [PATCH] update prizewheel.sk - some bug fixes to prizewheel --*someone* added a thing in his bug fix... and I removed it. --- OBAM-Voting/prizewheel.sk | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/OBAM-Voting/prizewheel.sk b/OBAM-Voting/prizewheel.sk index a461692..e66a678 100644 --- a/OBAM-Voting/prizewheel.sk +++ b/OBAM-Voting/prizewheel.sk @@ -227,7 +227,7 @@ command /prize [] [] []: chance of 5%: - set {_ran} to a random integer between 1 and 5 + set {_ran} to a random integer between 1 and 4 {_ran} is 1: set {_bal} to player's balance @@ -250,20 +250,9 @@ command /prize [] [] []: log "%player%^ADD^1 diamond pickaxe^RARE PRIZE db_winnings" to "prizewheel/db_winnings.log" stop - {_ran} is 3: - {db_winnings.chest.%player%.fronts::Skeleton Projeggtiles} is not set: - set {db_winnings.chest.%player%.fronts::Skeleton Projeggtiles} to 8 - send "&aYou have won &e8 Skeleton Projeggtiles&a on &eFronts&a." - send "&aUse &e/prize claim&a in Fronts to claim!" - log "%player%^ADD^8^Skeleton Projeggtiles^RARE PRIZE db_winnings" to "prizewheel/db_winnings.log" - stop - add 8 to {db_winnings.chest.%player%.fronts::Skeleton Projeggtiles} - send "&aYou have won &e8 Skeleton Projeggtiles&a on &eFronts&a." - send "&aUse &e/prize claim&a in Fronts to claim!" - log "%player%^ADD^8^Skeleton Projeggtiles^RARE PRIZE db_winnings" to "prizewheel/db_winnings.log" - stop + - {_ran} is 4: + {_ran} is 3: {db_winnings.chest.%player%.skyblock::beacon} is not set: set {db_winnings.chest.%player%.skyblock::beacon} to 1 send "&aYou have won &e1 beacon&a for &eSkyblock!" @@ -276,7 +265,7 @@ command /prize [] [] []: log "%player%^ADD^1 beacon^RARE PRIZE db_winnings" to "prizewheel/db_winnings.log" stop - {_ran} is 5: + {_ran} is 4: {db_prizecheck.%player%} is not set: set {db_prizecheck.%player%} to 1 send "&aYou have been given &e1 Front Slot&a!"