on mine of stone:
if gamemode of player is survival:
if player's tool is pickaxe of fortune 0:
if player's y-coordinate is smaller than {@diamondvip}:
if player has permissions "drop.vip":
chance of {@wydiamondvip}%:
send "&6Gratulacje, udalo ci sie znalesc 1 &bDiament"
drop 1 diamond
play raw sound "random.bow" at player with pitch 10 volume 10
add 5 to {pkt.%name of player%}
stop
#-----------------------------------------------------------------------------------------------------------
else:
if gamemode of player is survival:
if player's tool is pickaxe of fortune 1:
if player's y-coordinate is smaller than {@diamondvip}:
if player has permissions "drop.vip":
chance of {@wydiamondvip1}%:
send "&6Gratulacje, udalo ci sie znalesc 1 &bDiament"
drop 1 diamond
play raw sound "random.bow" at player with pitch 10 volume 10
add 5 to {pkt.%name of player%}
stop
#------------------------------------------------------------------------------------------------------------
else:
if gamemode of player is survival:
if player's tool is pickaxe of fortune 2:
if player's y-coordinate is smaller than {@diamondvip}:
if player has permissions "drop.vip":
chance of {@wydiamondvip2}%:
send "&6Gratulacje, udalo ci sie znalesc 1 &bDiament"
drop 1 diamond
play raw sound "random.bow" at player with pitch 10 volume 10
add 5 to {pkt.%name of player%}
stop
#------------------------------------------------------------------------------------------------------------
else:
if gamemode of player is survival:
if player's tool is pickaxe of fortune 3:
if player's y-coordinate is smaller than {@diamondvip}:
if player has permissions "drop.vip":
chance of {@wydiamondvip3}%:
send "&6Gratulacje, udalo ci sie znalesc 1 &bDiament"
drop 1 diamond
play raw sound "random.bow" at player with pitch 10 volume 10
add 5 to {pkt.%name of player%}
stop
#------------------------------------------------------------------------------------------------------------
błąd polega na tym że skrypt nie wykrywa fortuny. Czy kopie zwykłym czy z fortuną 1,2,3 nie wykrywa fortuny. Szanse na drop są inne
Pytanie
krfcm 3
tak jest w temacie szukam błędu
on mine of stone:
if gamemode of player is survival:
if player's tool is pickaxe of fortune 0:
if player's y-coordinate is smaller than {@diamondvip}:
if player has permissions "drop.vip":
chance of {@wydiamondvip}%:
send "&6Gratulacje, udalo ci sie znalesc 1 &bDiament"
drop 1 diamond
play raw sound "random.bow" at player with pitch 10 volume 10
add 5 to {pkt.%name of player%}
stop
#-----------------------------------------------------------------------------------------------------------
else:
if gamemode of player is survival:
if player's tool is pickaxe of fortune 1:
if player's y-coordinate is smaller than {@diamondvip}:
if player has permissions "drop.vip":
chance of {@wydiamondvip1}%:
send "&6Gratulacje, udalo ci sie znalesc 1 &bDiament"
drop 1 diamond
play raw sound "random.bow" at player with pitch 10 volume 10
add 5 to {pkt.%name of player%}
stop
#------------------------------------------------------------------------------------------------------------
else:
if gamemode of player is survival:
if player's tool is pickaxe of fortune 2:
if player's y-coordinate is smaller than {@diamondvip}:
if player has permissions "drop.vip":
chance of {@wydiamondvip2}%:
send "&6Gratulacje, udalo ci sie znalesc 1 &bDiament"
drop 1 diamond
play raw sound "random.bow" at player with pitch 10 volume 10
add 5 to {pkt.%name of player%}
stop
#------------------------------------------------------------------------------------------------------------
else:
if gamemode of player is survival:
if player's tool is pickaxe of fortune 3:
if player's y-coordinate is smaller than {@diamondvip}:
if player has permissions "drop.vip":
chance of {@wydiamondvip3}%:
send "&6Gratulacje, udalo ci sie znalesc 1 &bDiament"
drop 1 diamond
play raw sound "random.bow" at player with pitch 10 volume 10
add 5 to {pkt.%name of player%}
stop
#------------------------------------------------------------------------------------------------------------
błąd polega na tym że skrypt nie wykrywa fortuny. Czy kopie zwykłym czy z fortuną 1,2,3 nie wykrywa fortuny. Szanse na drop są inne
Odnośnik do komentarza
https://skript.pl/temat/1405-gdzie-jest-b%C5%82%C4%85d/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi