Siemka wiecie czemu w tym kodzie jak wpisze /szkata , daje nam napiersnik i te inne itemki A powinło mi dac sama skrzynke. A i jeszcze jak dodac np do tego miecz wiecej enchantów?
command /szkata:
trigger:
give player chest named "&2Szkatulka" with lore "&2Slaba"
on right click with chest:
if name of the player's tool is "&2Szkatulka":
remove 1 chest named "&2Szkatulka" with lore "&2Slaba" from the player
chance of 1.0%:
give player 1 diamond sword of sharpness 5 named "&lExcalibur" with lore "&6Dobry"
stop
chance of 10.0%:
give player 1 299 of protection 3 named "&3Napiersnik wiesniaka" with lore "&2Slaby"
stop
chance of 10.0%:
give player 1 298 of protection 3 named "&3Chelm wiesniaka" with lore "&2Slaby"
stop
chance of 10.0%:
give player 1 300 of protection 3 named "&3Spodnie wiesniaka" with lore "&2Slaby"
stop
chance of 10.0%:
give player 1 301 of protection 3 named "&3Buty wiesniaka" with lore "&2Slaby"
stop
Pytanie
Klaudiusz258 4
Siemka wiecie czemu w tym kodzie jak wpisze /szkata , daje nam napiersnik i te inne itemki A powinło mi dac sama skrzynke. A i jeszcze jak dodac np do tego miecz wiecej enchantów?
command /szkata:
trigger:
give player chest named "&2Szkatulka" with lore "&2Slaba"
on right click with chest:
if name of the player's tool is "&2Szkatulka":
remove 1 chest named "&2Szkatulka" with lore "&2Slaba" from the player
chance of 1.0%:
give player 1 diamond sword of sharpness 5 named "&lExcalibur" with lore "&6Dobry"
stop
chance of 10.0%:
give player 1 299 of protection 3 named "&3Napiersnik wiesniaka" with lore "&2Slaby"
stop
chance of 10.0%:
give player 1 298 of protection 3 named "&3Chelm wiesniaka" with lore "&2Slaby"
stop
chance of 10.0%:
give player 1 300 of protection 3 named "&3Spodnie wiesniaka" with lore "&2Slaby"
stop
chance of 10.0%:
give player 1 301 of protection 3 named "&3Buty wiesniaka" with lore "&2Slaby"
stop
Odnośnik do komentarza
https://skript.pl/temat/11055-poprawienie-kodu/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi