ArcziPlay 0 Opublikowano 23 lipca 2020 Udostępnij Opublikowano 23 lipca 2020 Siema, napisałem sobie skrypt na drop w którym zastosowałem variables. Nie wyskakuje żaden błąd a pomimo to skrypt nie działa wie ktoś co jest nie tak? Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 PanAnimek 62 Opublikowano 23 lipca 2020 Udostępnij Opublikowano 23 lipca 2020 Spróbuj zamiast zmiennych (variables) zastosować opcje (options). Skrypt będzie wtedy wyglądał tak: options: coal: 5.26 iron: 3.45 gold: 1.26 rstone: 1.22 lapis: 0.96 diax: 0.87 eme: 0.75 nether: 0.56 xp: 2 on mine of stone: if player's tool is enchanted with fortune 3: chance of 100%: add 2 xp to player chance of {@coal}%: set {s3w.%player%} to random integer between 1 and 4 give {s3w.%player%} of coal to player send "&9>> &7&7Znaleziono: &f&l%{s3w.%player%}%x &7Wegiel &f!" to the player chance of {@iron}%: set {s3z.%player%} to random integer between 1 and 4 give {s3z.%player%} of iron ore to player send "&9>> &7&7Znaleziono: &f&l%{s3z.%player%}%x Zelazo &f!" to the player chance of {@gold}%: set {s3g.%player%} to random integer between 2 and 4 give {s3g.%player%} of gold ore to player send "&9>> &7&7Znaleziono: &f&l%{s3g.%player%}%x &6Zloto &f!" to the player chance of {@rstone}%: set {s3r.%player%} to random integer between 1 and 4 give {s3r.%player%} of redstone to player send "&9>> &7&7Znaleziono: &f&l%{s3r.%player%}%x &4Redstone &f!" to the player chance of {@lapis}%: set {s3l.%player%} to random integer between 1 and 4 give {s3l.%player%} of lapis lazuli to player send "&9>> &7&7Znaleziono: &f&l%{s3l.%player%}%x &1Lazuryt &f!" to the player chance of {@diax}%: set {s3d.%player%} to random integer between 1 and 4 give {s3d.%player%} of diamond to player send "&9>> &7&7Znaleziono: &f&l%{s3d.%player%}%x &bDiament !" to the player chance of {@eme}%: set {s3e.%player%} to random integer between 1 and 4 give {s3e.%player%} of emerald to player send "&9>> &7&7Znaleziono: &f&l%{s3e.%player%}%x &aSzmaragd !" to the player chance of {@nether}%: set {s3n.%player%} to random integer between 1 and 4 give {s3n.%player%} of netherite ingot to player send "&9>> &7&7Znaleziono: &f&l%{s3n.%player%}%x &8Netheryt !" to the player stop if player's tool is enchanted with fortune 2: chance of 100%: add 2 xp to player chance of {@coal}%: set {s2w.%player%} to random integer between 1 and 3 give {s2w.%player%} of coal to player send "&9>> &7&7Znaleziono: &f&l%{s2w.%player%}%x &7Wegiel &f!" to the player chance of {@iron}%: set {s2z.%player%} to random integer between 1 and 3 give {s2z.%player%} of iron ore to player send "&9>> &7&7Znaleziono: &f&l%{s2z.%player%}%x Zelazo &f!" to the player chance of {@gold}%: set {s2g.%player%} to random integer between 2 and 3 give {s2g.%player%} of gold ore to player send "&9>> &7&7Znaleziono: &f&l%{s2g.%player%}%x &6Zloto &f!" to the player chance of {@rstone}%: set {s2r.%player%} to random integer between 1 and 3 give {s2r.%player%} of redstone to player send "&9>> &7&7Znaleziono: &f&l%{s2r.%player%}%x &4Redstone &f!" to the player chance of {@lapis}%: set {s2l.%player%} to random integer between 1 and 3 give {s2l.%player%} of lapis lazuli to player send "&9>> &7&7Znaleziono: &f&l%{s2l.%player%}%x &1Lazuryt &f!" to the player chance of {@diax}%: set {s2d.%player%} to random integer between 1 and 3 give {s2d.%player%} of diamond to player send "&9>> &7&7Znaleziono: &f&l%{s2d.%player%}%x &bDiament !" to the player chance of {@eme}%: set {s2e.%player%} to random integer between 1 and 3 give {s2e.%player%} of emerald to player send "&9>> &7&7Znaleziono: &f&l%{s2e.%player%}%x &aSzmaragd !" to the player chance of {@nether}%: set {s2n.%player%} to random integer between 1 and 3 give {s2n.%player%} of netherite ingot to player send "&9>> &7&7Znaleziono: &f&l%{s2n.%player%}%x &8Netheryt !" to the player stop if player's tool is enchanted with fortune 1: chance of 100%: add 2 xp to player chance of {@coal}%: set {s1w.%player%} to random integer between 1 and 2 give {s1w.%player%} of coal to player send "&9>> &7&7Znaleziono: &f&l%{s1w.%player%}%x &7Wegiel &f!" to the player chance of {@iron}%: set {s1z.%player%} to random integer between 1 and 2 give {s1z.%player%} of iron ore to player send "&9>> &7&7Znaleziono: &f&l%{s1z.%player%}%x Zelazo &f!" to the player chance of {@gold}%: set {s1g.%player%} to random integer between 1 and 2 give {s1g.%player%} of gold ore to player send "&9>> &7&7Znaleziono: &f&l%{s1g.%player%}%x &6Zloto &f!" to the player chance of {@rstone}%: set {s1r.%player%} to random integer between 1 and 2 give {s1r.%player%} of redstone to player send "&9>> &7&7Znaleziono: &f&l%{s1r.%player%}%x &4Redstone &f!" to the player chance of {@lapis}%: set {s1l.%player%} to random integer between 1 and 2 give {s1l.%player%} of lapis lazuli to player send "&9>> &7&7Znaleziono: &f&l%{s1l.%player%}%x &1Lazuryt &f!" to the player chance of {@diax}%: set {s1d.%player%} to random integer between 1 and 2 give {s1d.%player%} of diamond to player send "&9>> &7&7Znaleziono: &f&l%{s1d.%player%}%x &bDiament !" to the player chance of {@eme}%: set {s1e.%player%} to random integer between 1 and 2 give {s1e.%player%} of emerald to player send "&9>> &7&7Znaleziono: &f&l%{s1e.%player%}%x &aSzmaragd !" to the player chance of {@nether}%: set {s1n.%player%} to random integer between 1 and 2 give {s1n.%player%} of netherite ingot to player send "&9>> &7&7Znaleziono: &f&l%{s1n.%player%}%x &8Netheryt !" to the player stop if player's tool is pickaxe: chance of 100%: add 2 xp to player chance of {@coal}%: give a coal to player send "&9>> &7&7Znaleziono: &f&l1x &7Wegiel !" to the player chance of {@iron}%: give a iron ore to player send "&9>> &7&7Znaleziono: &f&l1x Zelazo !" to the player chance of {@gold}%: give a gold ore to player send "&9>> &7&7Znaleziono: &f&l1x &6Zloto !" to the player chance of {@rstone}%: give a redstone to player send "&9>> &7&7Znaleziono: &f&l1x &4Redstone !" to the player chance of {@lapis}%: give a lapis lazuli to player send "&9>> &7&7Znaleziono: &f&l1x &1Lazuryt !" to the player chance of {@diax}%: give a diamond to player send "&9>> &7&7Znaleziono: &f&l1x &bDiament !" to the player chance of {@eme}%: give a emerald to player send "&9>> &7&7Znaleziono: &f&l1x &aSzmaragd !" to the player chance of {@nether}%: give a netherite ingot to player send "&9>> &7&7Znaleziono: &f&l1x &8Netheryt !" to the player stop Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
ArcziPlay 0
Siema, napisałem sobie skrypt na drop w którym zastosowałem variables.
Nie wyskakuje żaden błąd a pomimo to skrypt nie działa wie ktoś co jest nie tak?
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi