options:
ironore = 10%
goldore = 7.5%
diamond = 4%
emerald = 1.5%
on mine of stone:
chance of {@ironore}:
give 1 iron ore to the player
chance of {@goldore}:
give 1 gold ore to the player
chance of {@diamond}:
give 1 diamond to the player
chance of {@emerald}:
give 1 emerald to the player
command /drop:
wait 1 tick
open chest with 1 rows named "&aDROP" to player
wait 1 tick
format slot 0 of player with 1 of black_stained_glass_pane named "&0" to to be unstealable
format slot 1 of player with 1 of diamond "&bDIAMENT - {@diamond}" to to be unstealable
format slot 2 of player with 1 of black_stained_glass_pane named "&0" to to be unstealable
format slot 3 of player with 1 of gold_ore named "&aSZMARAGD - {$emerald}" to to be unstealable
format slot 4 of player with 1 of black_stained_glass_pane named "&0" to to be unstealable
format slot 5 of player with 1 of diamond "&eRUDA ZŁOTA - {@goldore}" to to be unstealable
format slot 6 of player with 1 of black_stained_glass_pane named "&0" to to be unstealable
format slot 7 of player with 1 of gold_ore named "&fRUDA ŻELAZA - {$ironore}" to to be unstealable
format slot 8 of player with 1 of black_stained_glass_pane named "&0" to to be unstealable
Gdzie popełniłem błąd wyskoczyło 21 błędów i nie wiem o co chodzi, z błędów nic nie wynika bo są tylko linie w których jest błąd bez opisu.
Pytanie
Axiorek 1
options: ironore = 10% goldore = 7.5% diamond = 4% emerald = 1.5% on mine of stone: chance of {@ironore}: give 1 iron ore to the player chance of {@goldore}: give 1 gold ore to the player chance of {@diamond}: give 1 diamond to the player chance of {@emerald}: give 1 emerald to the player command /drop: wait 1 tick open chest with 1 rows named "&aDROP" to player wait 1 tick format slot 0 of player with 1 of black_stained_glass_pane named "&0" to to be unstealable format slot 1 of player with 1 of diamond "&bDIAMENT - {@diamond}" to to be unstealable format slot 2 of player with 1 of black_stained_glass_pane named "&0" to to be unstealable format slot 3 of player with 1 of gold_ore named "&aSZMARAGD - {$emerald}" to to be unstealable format slot 4 of player with 1 of black_stained_glass_pane named "&0" to to be unstealable format slot 5 of player with 1 of diamond "&eRUDA ZŁOTA - {@goldore}" to to be unstealable format slot 6 of player with 1 of black_stained_glass_pane named "&0" to to be unstealable format slot 7 of player with 1 of gold_ore named "&fRUDA ŻELAZA - {$ironore}" to to be unstealable format slot 8 of player with 1 of black_stained_glass_pane named "&0" to to be unstealableGdzie popełniłem błąd wyskoczyło 21 błędów i nie wiem o co chodzi, z błędów nic nie wynika bo są tylko linie w których jest błąd bez opisu.
Edytowane przez PeridotWstawiam w code
Notatka dodana przez Peridot
Odnośnik do komentarza
https://skript.pl/temat/40322-b%C5%82%C4%99dy-w-skrypcie/Udostępnij na innych stronach
9 odpowiedzi na to pytanie
Rekomendowane odpowiedzi