Mam problem ponieważ jak gracz ma kilof bez fortuny to nic nie dropi i chciałem sie zapytać jak przekształcić to aby działało
if player's tool is pickaxe of fortune 0:
chance of 20%:
if {drop.1.%player%} is true:
give a random number between 1 and 1 of diamond to the player
stop
else:
if player's tool is pickaxe of fortune 1:
chance of 40%:
if {drop.1.%player%} is true:
give a random number between 3 and 1 of diamond to the player
stop
else:
if player's tool is pickaxe of fortune 2:
chance of 70%:
if {drop.1.%player%} is true:
give a random number between 3 and 2 of diamond to the player
stop
else:
if player's tool is pickaxe of fortune 3:
chance of 100%:
if {drop.1.%player%} is true:
give a random number between 20 and 10 of diamond to the player
stop
Pytanie
Anide1998 1
Witam,
Mam problem ponieważ jak gracz ma kilof bez fortuny to nic nie dropi i chciałem sie zapytać jak przekształcić to aby działało
if player's tool is pickaxe of fortune 0: chance of 20%: if {drop.1.%player%} is true: give a random number between 1 and 1 of diamond to the player stop else: if player's tool is pickaxe of fortune 1: chance of 40%: if {drop.1.%player%} is true: give a random number between 3 and 1 of diamond to the player stop else: if player's tool is pickaxe of fortune 2: chance of 70%: if {drop.1.%player%} is true: give a random number between 3 and 2 of diamond to the player stop else: if player's tool is pickaxe of fortune 3: chance of 100%: if {drop.1.%player%} is true: give a random number between 20 and 10 of diamond to the player stop
Edytowane przez xNightPower_Umieszczam kod w code.
Odnośnik do komentarza
https://skript.pl/temat/43754-b%C5%82%C4%85d-z-fortune/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi