Advertisement
ash4377

Untitled

May 27th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.82 KB | None | 0 0
  1. options:
  2. Tag: &6賭場 &c&l>>
  3. #[鐵]
  4. 鐵_支付金錢: 1000
  5. 鐵_幸運獎: 7777
  6. 鐵_小獎: 1000
  7. 鐵_大獎: 5000
  8. 鐵_特獎: 77777
  9. #[金]
  10. 金_支付金錢: 5000
  11. 金_幸運獎: 17777
  12. 金_小獎: 5000
  13. 金_大獎: 10000
  14. 金_特獎: 177777
  15. #[鑽]
  16. 鑽_支付金錢: 10000
  17. 鑽_幸運獎: 27777
  18. 鑽_小獎: 20000
  19. 鑽_大獎: 30000
  20. 鑽_特獎: 277777
  21. #[綠]
  22. 綠_支付金錢: 20000
  23. 綠_幸運獎: 37777
  24. 綠_小獎: 40000
  25. 綠_大獎: 60000
  26. 綠_特獎: 377777
  27. #[黑]
  28. 黑_支付金錢: 500000
  29. 黑_幸運獎: 700000
  30. 黑_小獎: 200000
  31. 黑_大獎: 1000000
  32. 黑_特獎: 7777777
  33. #[獄]
  34. 獄_支付金錢: 2000000
  35. 獄_幸運獎: 3777777
  36. 獄_小獎: 1000000
  37. 獄_大獎: 7500000
  38. 獄_特獎: 77777777
  39.  
  40.  
  41.  
  42. command /casino [<text=help>] [<text>]:
  43. trigger:
  44. if player is an op:
  45. if arg-1 is "help":
  46. send "{@Tag} &6文靜線上賭場營收&7:%{賭場營收}%" to player
  47. send "{@Tag} &6使用 &7/casino take <數量> &6來提取營收" to player
  48. if arg-1 is "take":
  49. if arg-2 is not set:
  50. send "{@Tag} &6使用 &7/casino take <數量> &6來提取營收" to player
  51. stop
  52. if arg-2 is set:
  53. set {賭場營收} to {賭場營收} parsed as number
  54. set {_提取金額} to arg-2 parsed as number
  55. if {賭場營收} < 0:
  56. send "{@Tag} &c你們賭場有夠失敗 賠錢還想領錢?" to player
  57. stop
  58. if {_提取金額} < 0:
  59. send "{@Tag} &c你必須輸入大於0的數字" to player
  60. stop
  61. if {_提取金額} > {賭場營收}:
  62. send "{@Tag} &c賭場餘額不足 無法提取" to player
  63. stop
  64. if {_提取金額} <= {賭場營收}:
  65. send "{@Tag} &b%player% &6拿取了賭場的 &e&l%{_提取金額}% &6元營收" to op
  66. remove {_提取金額} from {賭場營收}
  67. add {_提取金額} to {玩家資料.%player%::金錢}
  68. stop
  69. else:
  70. send "{@Tag} &c指令執行失敗 請確認是否輸入正確" to player
  71. stop
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88. #================================================================================================#
  89. #[鐵]
  90. on sign change:
  91. player has permission "casino.slots"
  92. if line 1 of block is "[Slots1]":
  93. set line 1 of block to "&f▁▂▃ &4&l777 &f▃▂▁"
  94. set line 4 of block to "|| 開始 ||"
  95. #[金]
  96. on sign change:
  97. player has permission "casino.slots"
  98. if line 1 of block is "[Slots2]":
  99. set line 1 of block to "&6▁▂▃ &4&l777 &6▃▂▁"
  100. set line 4 of block to "|| 開始 ||"
  101. #[鑽]
  102. on sign change:
  103. player has permission "casino.slots"
  104. if line 1 of block is "[Slots3]":
  105. set line 1 of block to "&b▁▂▃ &4&l777 &b▃▂▁"
  106. set line 4 of block to "|| 開始 ||"
  107. #[綠]
  108. on sign change:
  109. player has permission "casino.slots"
  110. if line 1 of block is "[Slots4]":
  111. set line 1 of block to "&a▁▂▃ &4&l777 &a▃▂▁"
  112. set line 4 of block to "|| 開始 ||"
  113. #[黑]
  114. on sign change:
  115. player has permission "casino.slots"
  116. if line 1 of block is "[Slots5]":
  117. set line 1 of block to "▁▂▃ &4&l777 &0▃▂▁"
  118. set line 4 of block to "|| 開始 ||"
  119. #[獄]
  120. on sign change:
  121. player has permission "casino.slots"
  122. if line 1 of block is "[Slots6]":
  123. set line 1 of block to "&4▁▂▃ &4&l777 &4▃▂▁"
  124. set line 4 of block to "|| 開始 ||"
  125.  
  126.  
  127.  
  128. #================================================================================================#
  129. on left click on sign:
  130. #[鐵]
  131. if line 1 of block is "&f▁▂▃ &4&l777 &f▃▂▁":
  132. send "&7============[ &f本機台使用方法 &7]============"
  133. send "&7右鍵點擊開始 一次 &6{@鐵_支付金錢} &7元"
  134. send "&7若三個圖案都不相同 就什麼都沒有"
  135. send "&7轉中任意一個&c&l7&7即獲得 &6{@鐵_幸運獎} &7元"
  136. send "&7轉中任意兩個相同圖型 即獲得 &6{@鐵_小獎} &7元"
  137. send "&7轉中任意三個相同圖型 即獲得 &6{@鐵_大獎} &7元"
  138. send "&7轉中三個&c&l7&7即獲得 &6{@鐵_特獎} &7元"
  139. send "&7拉霸機的價格與獎賞都有可能變動"
  140. send "&7使用前 請詳細閱讀公開說明書"
  141. send "&7============[ &f本機台使用方法 &7]============"
  142. #[金]
  143. if line 1 of block is "&6▁▂▃ &4&l777 &6▃▂▁":
  144. send "&7============[ &6本機台使用方法 &7]============"
  145. send "&7右鍵點擊開始 一次 &6{@金_支付金錢} &7元"
  146. send "&7若三個圖案都不相同 就什麼都沒有"
  147. send "&7轉中任意一個&c&l7&7即獲得 &6{@金_幸運獎} &7元"
  148. send "&7轉中任意兩個相同圖型 即獲得 &6{@金_小獎} &7元"
  149. send "&7轉中任意三個相同圖型 即獲得 &6{@金_大獎} &7元"
  150. send "&7轉中三個&c&l7&7即獲得 &6{@金_特獎} &7元"
  151. send "&7拉霸機的價格與獎賞都有可能變動"
  152. send "&7使用前 請詳細閱讀公開說明書"
  153. send "&7============[ &6本機台使用方法 &7]============"
  154. #[鑽]
  155. if line 1 of block is "&b▁▂▃ &4&l777 &b▃▂▁":
  156. send "&7============[ &b本機台使用方法 &7]============"
  157. send "&7右鍵點擊開始 一次 &6{@鑽_支付金錢} &7元"
  158. send "&7若三個圖案都不相同 就什麼都沒有"
  159. send "&7轉中任意一個&c&l7&7即獲得 &6{@鑽_幸運獎} &7元"
  160. send "&7轉中任意兩個相同圖型 即獲得 &6{@鑽_小獎} &7元"
  161. send "&7轉中任意三個相同圖型 即獲得 &6{@鑽_大獎} &7元"
  162. send "&7轉中三個&c&l7&7即獲得 &6{@鑽_特獎} &7元"
  163. send "&7拉霸機的價格與獎賞都有可能變動"
  164. send "&7使用前 請詳細閱讀公開說明書"
  165. send "&7============[ &b本機台使用方法 &7]============"
  166. #[綠]
  167. if line 1 of block is "&a▁▂▃ &4&l777 &a▃▂▁":
  168. send "&7============[ &a本機台使用方法 &7]============"
  169. send "&7右鍵點擊開始 一次 &6{@綠_支付金錢} &7元"
  170. send "&7若三個圖案都不相同 就什麼都沒有"
  171. send "&7轉中任意一個&c&l7&7即獲得 &6{@綠_幸運獎} &7元"
  172. send "&7轉中任意兩個相同圖型 即獲得 &6{@綠_小獎} &7元"
  173. send "&7轉中任意三個相同圖型 即獲得 &6{@綠_大獎} &7元"
  174. send "&7轉中三個&c&l7&7即獲得 &6{@綠_特獎} &7元"
  175. send "&7拉霸機的價格與獎賞都有可能變動"
  176. send "&7使用前 請詳細閱讀公開說明書"
  177. send "&7============[ &a本機台使用方法 &7]============"
  178. #[黑]
  179. if line 1 of block is "▁▂▃ &4&l777 &0▃▂▁":
  180. send "&7============[ &8本機台使用方法 &7]============"
  181. send "&7右鍵點擊開始 一次 &6{@黑_支付金錢} &7元"
  182. send "&7若三個圖案都不相同 就什麼都沒有"
  183. send "&7轉中任意一個&c&l7&7即獲得 &6{@黑_幸運獎} &7元"
  184. send "&7轉中任意兩個相同圖型 即獲得 &6{@黑_小獎} &7元"
  185. send "&7轉中任意三個相同圖型 即獲得 &6{@黑_大獎} &7元"
  186. send "&7轉中三個&c&l7&7即獲得 &6{@黑_特獎} &7元"
  187. send "&7拉霸機的價格與獎賞都有可能變動"
  188. send "&7使用前 請詳細閱讀公開說明書"
  189. send "&7============[ &8本機台使用方法 &7]============"
  190. #[獄]
  191. if line 1 of block is "&4▁▂▃ &4&l777 &4▃▂▁":
  192. send "&7============[ &4本機台使用方法 &7]============"
  193. send "&7右鍵點擊開始 一次 &6{@獄_支付金錢} &7元"
  194. send "&7若三個圖案都不相同 就什麼都沒有"
  195. send "&7轉中任意一個&c&l7&7即獲得 &6{@獄_幸運獎} &7元"
  196. send "&7轉中任意兩個相同圖型 即獲得 &6{@獄_小獎} &7元"
  197. send "&7轉中任意三個相同圖型 即獲得 &6{@獄_大獎} &7元"
  198. send "&7轉中三個&c&l7&7即獲得 &6{@獄_特獎} &7元"
  199. send "&7拉霸機的價格與獎賞都有可能變動"
  200. send "&7使用前 請詳細閱讀公開說明書"
  201. send "&7============[ &4本機台使用方法 &7]============"
  202.  
  203.  
  204.  
  205. #================================================================================================#
  206. on right click on sign:
  207. #[鐵]
  208. if line 1 of block is "&f▁▂▃ &4&l777 &f▃▂▁":
  209. line 4 of block is "|| 開始 ||"
  210. set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  211. if {玩家資料.%player%::金錢} < {@鐵_支付金錢}:
  212. set action bar of player to "{@Tag} &c金錢不足"
  213. stop
  214. remove {@鐵_支付金錢} from {玩家資料.%player%::金錢}
  215. add {@鐵_支付金錢} to {賭場營收}
  216. set action bar of player to "{@Tag} &c扣除&6{@鐵_支付金錢}&c元"
  217. set {_機台} to "鋼鐵"
  218. #[金]
  219. if line 1 of block is "&6▁▂▃ &4&l777 &6▃▂▁":
  220. line 4 of block is "|| 開始 ||"
  221. set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  222. if {玩家資料.%player%::金錢} < {@金_支付金錢}:
  223. set action bar of player to "{@Tag} &c金錢不足"
  224. stop
  225. remove {@金_支付金錢} from {玩家資料.%player%::金錢}
  226. add {@金_支付金錢} to {賭場營收}
  227. set action bar of player to "{@Tag} &c扣除&6{@金_支付金錢}&c元"
  228. set {_機台} to "黃金"
  229. #[鑽]
  230. if line 1 of block is "&b▁▂▃ &4&l777 &b▃▂▁":
  231. line 4 of block is "|| 開始 ||"
  232. set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  233. if {玩家資料.%player%::金錢} < {@鑽_支付金錢}:
  234. set action bar of player to "{@Tag} &c金錢不足"
  235. stop
  236. remove {@鑽_支付金錢} from {玩家資料.%player%::金錢}
  237. add {@鑽_支付金錢} to {賭場營收}
  238. set action bar of player to "{@Tag} &c扣除&6{@鑽_支付金錢}&c元"
  239. set {_機台} to "鑽石"
  240. #[綠]
  241. if line 1 of block is "&a▁▂▃ &4&l777 &a▃▂▁":
  242. line 4 of block is "|| 開始 ||"
  243. set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  244. if {玩家資料.%player%::金錢} < {@綠_支付金錢}:
  245. set action bar of player to "{@Tag} &c金錢不足"
  246. stop
  247. remove {@綠_支付金錢} from {玩家資料.%player%::金錢}
  248. add {@綠_支付金錢} to {賭場營收}
  249. set action bar of player to "{@Tag} &c扣除&6{@綠_支付金錢}&c元"
  250. set {_機台} to "綠寶石"
  251. #[黑]
  252. if line 1 of block is "▁▂▃ &4&l777 &0▃▂▁":
  253. line 4 of block is "|| 開始 ||"
  254. set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  255. if {玩家資料.%player%::金錢} < {@黑_支付金錢}:
  256. set action bar of player to "{@Tag} &c金錢不足"
  257. stop
  258. remove {@黑_支付金錢} from {玩家資料.%player%::金錢}
  259. add {@黑_支付金錢} to {賭場營收}
  260. set action bar of player to "{@Tag} &c扣除&6{@黑_支付金錢}&c元"
  261. set {_機台} to "黑曜石"
  262. #[獄]
  263. if line 1 of block is "&4▁▂▃ &4&l777 &4▃▂▁":
  264. line 4 of block is "|| 開始 ||"
  265. set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  266. if {玩家資料.%player%::金錢} < {@獄_支付金錢}:
  267. set action bar of player to "{@Tag} &c金錢不足"
  268. stop
  269. remove {@獄_支付金錢} from {玩家資料.%player%::金錢}
  270. add {@獄_支付金錢} to {賭場營收}
  271. set action bar of player to "{@Tag} &c扣除&6{@獄_支付金錢}&c元"
  272. set {_機台} to "煉獄"
  273.  
  274. #[機台運作]
  275. if {_機台} is "鋼鐵" or "黃金" or "鑽石" or "綠寶石" or "黑曜石" or "煉獄":
  276. loop 60 times:
  277. set {_欄位1} to a random integer between 1 and 51
  278. set {_欄位2} to a random integer between 1 and 51
  279. set {_欄位3} to a random integer between 1 and 51
  280. if {_欄位1} is between 1 and 5:
  281. set {_欄位1} to "&a☸&r"
  282. if {_欄位1} is between 6 and 10:
  283. set {_欄位1} to "&c♥&r"
  284. if {_欄位1} is between 11 and 15:
  285. set {_欄位1} to "&c♦&r"
  286. if {_欄位1} is between 16 and 20:
  287. set {_欄位1} to "♣"
  288. if {_欄位1} is between 21 and 25:
  289. set {_欄位1} to "♠"
  290. if {_欄位1} is between 26 and 30:
  291. set {_欄位1} to "○"
  292. if {_欄位1} is between 31 and 35:
  293. set {_欄位1} to "&9▼&r"
  294. if {_欄位1} is between 36 and 40:
  295. set {_欄位1} to "&4☼&r"
  296. if {_欄位1} is between 41 and 45:
  297. set {_欄位1} to "&6▲&r"
  298. if {_欄位1} is between 46 and 50:
  299. set {_欄位1} to "&5☠&r"
  300. if {_欄位1} is 51:
  301. set {_欄位1} to "&c7&r"
  302.  
  303. if {_欄位2} is between 1 and 5:
  304. set {_欄位2} to "&a☸&r"
  305. if {_欄位2} is between 6 and 10:
  306. set {_欄位2} to "&c♥&r"
  307. if {_欄位2} is between 11 and 15:
  308. set {_欄位2} to "&c♦&r"
  309. if {_欄位2} is between 16 and 20:
  310. set {_欄位2} to "♣"
  311. if {_欄位2} is between 21 and 25:
  312. set {_欄位2} to "♠"
  313. if {_欄位2} is between 26 and 30:
  314. set {_欄位2} to "○"
  315. if {_欄位2} is between 31 and 35:
  316. set {_欄位2} to "&9▼&r"
  317. if {_欄位2} is between 36 and 40:
  318. set {_欄位2} to "&4☼&r"
  319. if {_欄位2} is between 41 and 45:
  320. set {_欄位2} to "&6▲&r"
  321. if {_欄位2} is between 46 and 50:
  322. set {_欄位2} to "&5☠&r"
  323. if {_欄位2} is 51:
  324. set {_欄位2} to "&c7&r"
  325.  
  326. if {_欄位3} is between 1 and 5:
  327. set {_欄位3} to "&a☸&r"
  328. if {_欄位3} is between 6 and 10:
  329. set {_欄位3} to "&c♥&r"
  330. if {_欄位3} is between 11 and 15:
  331. set {_欄位3} to "&c♦&r"
  332. if {_欄位3} is between 16 and 20:
  333. set {_欄位3} to "♣"
  334. if {_欄位3} is between 21 and 25:
  335. set {_欄位3} to "♠"
  336. if {_欄位3} is between 26 and 30:
  337. set {_欄位3} to "○"
  338. if {_欄位3} is between 31 and 35:
  339. set {_欄位3} to "&9▼&r"
  340. if {_欄位3} is between 36 and 40:
  341. set {_欄位3} to "&4☼&r"
  342. if {_欄位3} is between 41 and 45:
  343. set {_欄位3} to "&6▲&r"
  344. if {_欄位3} is between 46 and 50:
  345. set {_欄位3} to "&5☠&r"
  346. if {_欄位3} is 51:
  347. set {_欄位3} to "&c7&r"
  348. set line 2 of block to "%line 4 of block%"
  349. set line 4 of block to "%line 3 of block%"
  350. set line 3 of block to "&0|| &r %{_欄位1}% %{_欄位2}% %{_欄位3}% &0||"
  351. wait 1 tick
  352. set line 4 of block to "|| 開始 ||"
  353.  
  354.  
  355. #[特獎]
  356. if {_欄位1} and {_欄位2} and {_欄位3} = "&c7&r":
  357. if {_機台} is "鋼鐵":
  358. add {@鐵_特獎} to {玩家資料.%player%::金錢}
  359. remove {@鐵_特獎} from {賭場營收}
  360. set action bar of player to "{@Tag} &a獲得&6{@鐵_特獎}&a元"
  361. set line 2 of block to "&0|| &6{@鐵_特獎} &0||"
  362. if {_機台} is "黃金":
  363. add {@金_特獎} to {玩家資料.%player%::金錢}
  364. remove {@金_特獎} from {賭場營收}
  365. set action bar of player to "{@Tag} &a獲得&6{@金_特獎}&a元"
  366. set line 2 of block to "&0|| &6{@金_特獎} &0||"
  367. if {_機台} is "鑽石":
  368. add {@鑽_特獎} to {玩家資料.%player%::金錢}
  369. remove {@鑽_特獎} from {賭場營收}
  370. set action bar of player to "{@Tag} &a獲得&6{@鑽_特獎}&a元"
  371. set line 2 of block to "&0|| &6{@鑽_特獎} &0||"
  372. if {_機台} is "綠寶石":
  373. add {@綠_特獎} to {玩家資料.%player%::金錢}
  374. remove {@綠_特獎} from {賭場營收}
  375. set action bar of player to "{@Tag} &a獲得&6{@綠_特獎}&a元"
  376. set line 2 of block to "&0|| &6{@綠_特獎} &0||"
  377. if {_機台} is "黑曜石":
  378. add {@黑_特獎} to {玩家資料.%player%::金錢}
  379. remove {@黑_特獎} from {賭場營收}
  380. set action bar of player to "{@Tag} &a獲得&6{@黑_特獎}&a元"
  381. set line 2 of block to "&0|| &6{@黑_特獎} &0||"
  382. if {_機台} is "煉獄":
  383. add {@獄_特獎} to {玩家資料.%player%::金錢}
  384. remove {@獄_特獎} from {賭場營收}
  385. set action bar of player to "{@Tag} &a獲得&6{@獄_特獎}&a元"
  386. set line 2 of block to "&0|| &6{@獄_特獎} &0||"
  387. send all players title "&6恭喜玩家!&b%player%" with subtitle "&6贏得了%{_機台}%機台的&4&l777&6特獎" for 5 seconds
  388. stop
  389.  
  390.  
  391. #[大獎]
  392. if {_欄位1} and {_欄位2} = {_欄位3}:
  393. if {_機台} is "鋼鐵":
  394. add {@鐵_大獎} to {玩家資料.%player%::金錢}
  395. remove {@鐵_大獎} from {賭場營收}
  396. set action bar of player to "{@Tag} &a獲得&6{@鐵_大獎}&a元"
  397. set line 2 of block to "&0|| &6{@鐵_大獎} &0||"
  398. if {_機台} is "黃金":
  399. add {@金_大獎} to {玩家資料.%player%::金錢}
  400. remove {@金_大獎} from {賭場營收}
  401. set action bar of player to "{@Tag} &a獲得&6{@金_大獎}&a元"
  402. set line 2 of block to "&0|| &6{@金_大獎} &0||"
  403. if {_機台} is "鑽石":
  404. add {@鑽_大獎} to {玩家資料.%player%::金錢}
  405. remove {@鑽_大獎} from {賭場營收}
  406. set action bar of player to "{@Tag} &a獲得&6{@鑽_大獎}&a元"
  407. set line 2 of block to "&0|| &6{@鑽_大獎} &0||"
  408. if {_機台} is "綠寶石":
  409. add {@綠_大獎} to {玩家資料.%player%::金錢}
  410. remove {@綠_大獎} from {賭場營收}
  411. set action bar of player to "{@Tag} &a獲得&6{@綠_大獎}&a元"
  412. set line 2 of block to "&0|| &6{@綠_大獎} &0||"
  413. if {_機台} is "黑曜石":
  414. add {@黑_大獎} to {玩家資料.%player%::金錢}
  415. remove {@黑_大獎} from {賭場營收}
  416. set action bar of player to "{@Tag} &a獲得&6{@黑_大獎}&a元"
  417. set line 2 of block to "&0|| &6{@黑_大獎} &0||"
  418. if {_機台} is "煉獄":
  419. add {@獄_大獎} to {玩家資料.%player%::金錢}
  420. remove {@獄_大獎} from {賭場營收}
  421. set action bar of player to "{@Tag} &a獲得&6{@獄_大獎}&a元"
  422. set line 2 of block to "&0|| &6{@獄_大獎} &0||"
  423. broadcast "{@Tag} &6恭喜玩家 &b%player% &6贏得了%{_機台}%機台的大獎"
  424. stop
  425.  
  426.  
  427. #[小獎]
  428. if {_欄位1} = {_欄位2}:
  429. if {_機台} is "鋼鐵":
  430. add {@鐵_小獎} to {玩家資料.%player%::金錢}
  431. remove {@鐵_小獎} from {賭場營收}
  432. set action bar of player to "{@Tag} &a獲得&6{@鐵_小獎}&a元"
  433. set line 2 of block to "&0|| &6{@鐵_小獎} &0||"
  434. if {_機台} is "黃金":
  435. add {@金_小獎} to {玩家資料.%player%::金錢}
  436. remove {@金_小獎} from {賭場營收}
  437. set action bar of player to "{@Tag} &a獲得&6{@金_小獎}&a元"
  438. set line 2 of block to "&0|| &6{@金_小獎} &0||"
  439. if {_機台} is "鑽石":
  440. add {@鑽_小獎} to {玩家資料.%player%::金錢}
  441. remove {@鑽_小獎} from {賭場營收}
  442. set action bar of player to "{@Tag} &a獲得&6{@鑽_小獎}&a元"
  443. set line 2 of block to "&0|| &6{@鑽_小獎} &0||"
  444. if {_機台} is "綠寶石":
  445. add {@綠_小獎} to {玩家資料.%player%::金錢}
  446. remove {@綠_小獎} from {賭場營收}
  447. set action bar of player to "{@Tag} &a獲得&6{@綠_小獎}&a元"
  448. set line 2 of block to "&0|| &6{@綠_小獎} &0||"
  449. if {_機台} is "黑曜石":
  450. add {@黑_小獎} to {玩家資料.%player%::金錢}
  451. remove {@黑_小獎} from {賭場營收}
  452. set action bar of player to "{@Tag} &a獲得&6{@黑_小獎}&a元"
  453. set line 2 of block to "&0|| &6{@黑_小獎} &0||"
  454. if {_機台} is "煉獄":
  455. add {@獄_小獎} to {玩家資料.%player%::金錢}
  456. remove {@獄_小獎} from {賭場營收}
  457. set action bar of player to "{@Tag} &a獲得&6{@獄_小獎}&a元"
  458. set line 2 of block to "&0|| &6{@獄_小獎} &0||"
  459. stop
  460. if {_欄位1} = {_欄位3}:
  461. if {_機台} is "鋼鐵":
  462. add {@鐵_小獎} to {玩家資料.%player%::金錢}
  463. remove {@鐵_小獎} from {賭場營收}
  464. set action bar of player to "{@Tag} &a獲得&6{@鐵_小獎}&a元"
  465. set line 2 of block to "&0|| &6{@鐵_小獎} &0||"
  466. if {_機台} is "黃金":
  467. add {@金_小獎} to {玩家資料.%player%::金錢}
  468. remove {@金_小獎} from {賭場營收}
  469. set action bar of player to "{@Tag} &a獲得&6{@金_小獎}&a元"
  470. set line 2 of block to "&0|| &6{@金_小獎} &0||"
  471. if {_機台} is "鑽石":
  472. add {@鑽_小獎} to {玩家資料.%player%::金錢}
  473. remove {@鑽_小獎} from {賭場營收}
  474. set action bar of player to "{@Tag} &a獲得&6{@鑽_小獎}&a元"
  475. set line 2 of block to "&0|| &6{@鑽_小獎} &0||"
  476. if {_機台} is "綠寶石":
  477. add {@綠_小獎} to {玩家資料.%player%::金錢}
  478. remove {@綠_小獎} from {賭場營收}
  479. set action bar of player to "{@Tag} &a獲得&6{@綠_小獎}&a元"
  480. set line 2 of block to "&0|| &6{@綠_小獎} &0||"
  481. if {_機台} is "黑曜石":
  482. add {@黑_小獎} to {玩家資料.%player%::金錢}
  483. remove {@黑_小獎} from {賭場營收}
  484. set action bar of player to "{@Tag} &a獲得&6{@黑_小獎}&a元"
  485. set line 2 of block to "&0|| &6{@黑_小獎} &0||"
  486. if {_機台} is "煉獄":
  487. add {@獄_小獎} to {玩家資料.%player%::金錢}
  488. remove {@獄_小獎} from {賭場營收}
  489. set action bar of player to "{@Tag} &a獲得&6{@獄_小獎}&a元"
  490. set line 2 of block to "&0|| &6{@獄_小獎} &0||"
  491. stop
  492. if {_欄位2} = {_欄位3}:
  493. if {_機台} is "鋼鐵":
  494. add {@鐵_小獎} to {玩家資料.%player%::金錢}
  495. remove {@鐵_小獎} from {賭場營收}
  496. set action bar of player to "{@Tag} &a獲得&6{@鐵_小獎}&a元"
  497. set line 2 of block to "&0|| &6{@鐵_小獎} &0||"
  498. if {_機台} is "黃金":
  499. add {@金_小獎} to {玩家資料.%player%::金錢}
  500. remove {@金_小獎} from {賭場營收}
  501. set action bar of player to "{@Tag} &a獲得&6{@金_小獎}&a元"
  502. set line 2 of block to "&0|| &6{@金_小獎} &0||"
  503. if {_機台} is "鑽石":
  504. add {@鑽_小獎} to {玩家資料.%player%::金錢}
  505. remove {@鑽_小獎} from {賭場營收}
  506. set action bar of player to "{@Tag} &a獲得&6{@鑽_小獎}&a元"
  507. set line 2 of block to "&0|| &6{@鑽_小獎} &0||"
  508. if {_機台} is "綠寶石":
  509. add {@綠_小獎} to {玩家資料.%player%::金錢}
  510. remove {@綠_小獎} from {賭場營收}
  511. set action bar of player to "{@Tag} &a獲得&6{@綠_小獎}&a元"
  512. set line 2 of block to "&0|| &6{@綠_小獎} &0||"
  513. if {_機台} is "黑曜石":
  514. add {@黑_小獎} to {玩家資料.%player%::金錢}
  515. remove {@黑_小獎} from {賭場營收}
  516. set action bar of player to "{@Tag} &a獲得&6{@黑_小獎}&a元"
  517. set line 2 of block to "&0|| &6{@黑_小獎} &0||"
  518. if {_機台} is "煉獄":
  519. add {@獄_小獎} to {玩家資料.%player%::金錢}
  520. remove {@獄_小獎} from {賭場營收}
  521. set action bar of player to "{@Tag} &a獲得&6{@獄_小獎}&a元"
  522. set line 2 of block to "&0|| &6{@獄_小獎} &0||"
  523. stop
  524.  
  525.  
  526. #[幸運獎]
  527. else:
  528. if line 3 of block contains "7":
  529. if {_機台} is "鋼鐵":
  530. add {@鐵_幸運獎} to {玩家資料.%player%::金錢}
  531. remove {@鐵_幸運獎} from {賭場營收}
  532. set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@鐵_幸運獎}&a元"
  533. set line 2 of block to "&0|| &6{@鐵_幸運獎} &0||"
  534. if {_機台} is "黃金":
  535. add {@金_幸運獎} to {玩家資料.%player%::金錢}
  536. remove {@金_幸運獎} from {賭場營收}
  537. set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@金_幸運獎}&a元"
  538. set line 2 of block to "&0|| &6{@金_幸運獎} &0||"
  539. if {_機台} is "鑽石":
  540. add {@鑽_幸運獎} to {玩家資料.%player%::金錢}
  541. remove {@鑽_幸運獎} from {賭場營收}
  542. set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@鑽_幸運獎}&a元"
  543. set line 2 of block to "&0|| &6{@鑽_幸運獎} &0||"
  544. if {_機台} is "綠寶石":
  545. add {@綠_幸運獎} to {玩家資料.%player%::金錢}
  546. remove {@綠_幸運獎} from {賭場營收}
  547. set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@綠_幸運獎}&a元"
  548. set line 2 of block to "&0|| &6{@綠_幸運獎} &0||"
  549. if {_機台} is "黑曜石":
  550. add {@黑_幸運獎} to {玩家資料.%player%::金錢}
  551. remove {@黑_幸運獎} from {賭場營收}
  552. set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@黑_幸運獎}&a元"
  553. set line 2 of block to "&0|| &6{@黑_幸運獎} &0||"
  554. if {_機台} is "煉獄":
  555. add {@獄_幸運獎} to {玩家資料.%player%::金錢}
  556. remove {@獄_幸運獎} from {賭場營收}
  557. set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@獄_幸運獎}&a元"
  558. set line 2 of block to "&0|| &6{@獄_幸運獎} &0||"
  559. stop
  560. else:
  561. set action bar of player to "{@Tag} &7什麼也沒有"
  562. set line 2 of block to "&0|| &6---- &0||"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement