Witam, bawiąc się chciałem stworzyć system ulepszania kilofu, który miałby na celu zmianę "Drop: xxx". I wyszło mi coś takiego:
options:
id.633: 0
drop.633.%event-item%: 50
command /testowa6 [<text>]:
trigger:
add 1 to {id.633}
give 1 diamond pickaxe of efficiency 6, unbreaking 3, fortune 3 named "&cKilof Górnika" with lore "" and "&cId: &7##&f%{id.633}%" and "&cDrop: &f{@drop.633.%event-item%}&c%%" and "" and "&4Magiczny Kilof Pradawnego Gornika" to player
command /faketestowa6 [<text>]:
trigger:
give player 1 diamond pickaxe of efficiency 6, unbreaking 3, fortune 3
command /testulepsz [<text>]:
trigger:
if player's tool is diamond pickaxe of efficiency 6, unbreaking 3, fortune 3 named "&cKilof Górnika" with lore "" and "&cId: &7##&f%{id.633}%" and "&cDrop: &f{@drop.633.%event-item%}&c%%" and "" and "&4Magiczny Kilof Pradawnego Gornika":
send "&aGit Kilof"
if {drop.633.%event-item%} = 50:
chance of 100%:
add 5 to {drop.633.%event-iitem%}
send "&a100%"
else {drop.633.%event-item%} = 110:
stop
send "&cMaksymalny poziom"
else {drop.633.%event-item%} > 50:
chance of 50%:
add 5 to {drop.633.%event-iitem%}
send "&aUlepszyło"
chance of 50%:
remove 5 from {drop.633.%event-iitem%}
send "&cSpaliło"
else:
send "&cZły kilof"
Napotkałem się na kilka błędów i chciałbym, abyście mi pomogli w naprawie
Chciałbym, aby po wpisaniu komendy /testulepsz Drop się zmieniał ale nwm jak to zrobić. ID kilofu zostało bez zmiany.
Pytanie
MyszoNN 0
Witam, bawiąc się chciałem stworzyć system ulepszania kilofu, który miałby na celu zmianę "Drop: xxx". I wyszło mi coś takiego:
options: id.633: 0 drop.633.%event-item%: 50 command /testowa6 [<text>]: trigger: add 1 to {id.633} give 1 diamond pickaxe of efficiency 6, unbreaking 3, fortune 3 named "&cKilof Górnika" with lore "" and "&cId: &7##&f%{id.633}%" and "&cDrop: &f{@drop.633.%event-item%}&c%%" and "" and "&4Magiczny Kilof Pradawnego Gornika" to player command /faketestowa6 [<text>]: trigger: give player 1 diamond pickaxe of efficiency 6, unbreaking 3, fortune 3 command /testulepsz [<text>]: trigger: if player's tool is diamond pickaxe of efficiency 6, unbreaking 3, fortune 3 named "&cKilof Górnika" with lore "" and "&cId: &7##&f%{id.633}%" and "&cDrop: &f{@drop.633.%event-item%}&c%%" and "" and "&4Magiczny Kilof Pradawnego Gornika": send "&aGit Kilof" if {drop.633.%event-item%} = 50: chance of 100%: add 5 to {drop.633.%event-iitem%} send "&a100%" else {drop.633.%event-item%} = 110: stop send "&cMaksymalny poziom" else {drop.633.%event-item%} > 50: chance of 50%: add 5 to {drop.633.%event-iitem%} send "&aUlepszyło" chance of 50%: remove 5 from {drop.633.%event-iitem%} send "&cSpaliło" else: send "&cZły kilof"Napotkałem się na kilka błędów i chciałbym, abyście mi pomogli w naprawie
Edytowane przez MyszoNNChciałbym, aby po wpisaniu komendy /testulepsz Drop się zmieniał ale nwm jak to zrobić. ID kilofu zostało bez zmiany.
Odnośnik do komentarza
https://skript.pl/temat/48731-problem-z-kilofem/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi