Cześć, piszę z następującym problemem : Zmieniłem szanse na drop, ponieważ był za duży. Przez to czasem z case nic nie dropi. Chciałbym pozbyć się problemu jednak nie wiem jak... Jest jakaś zmienna, która gwarantuje jedną opcje z podanych? Żeby nie było sytuacji z pustym dropem. Proszę o pomoc i wyrozumiałość. Pozdrawiam
on place chest:
if player's tool is chest named "&c&lPremium+ Case":
set block to air
broadcast "&7Gracz &f&l%player% &7otworzyl skrzynie &c&lPremium+ Case&7 i wydropil:"
chance of 20%:
drop 5 diamond
broadcast "&75x &fdiaxy"
chance of 5%:
drop 1 elytra
broadcast "&71x ELYTRA"
chance of 5%:
drop 1 book of mending 1 named "&5Mending"
broadcast "&71x Mending"
chance of 15%:
drop 16 sunflower named "&a&l$Talon$"
broadcast "&715x &fTalonow"
chance of 5%:
drop 1 wither skeleton skull
broadcast "&71x &fgłowe withera"
chance of 20%:
drop 1 ender chest
broadcast "&71x &fender chest"
chance of 10%:
drop 1 shulker box
broadcast "&71x &fshulker box!"
chance of 5%:
drop 1 nether star
broadcast "&71x &fnether star!"
chance of 17%:
drop 128 experience bottle
broadcast "&7128x &bbutelke z expem!"