Skocz do zawartości
  • 0

drop pomoc szybko


divx

Pytanie

on mine of stone:    player's tool is any pickaxe:        player's y coordinate is smaller than 20:            chance of 1%:                give 1 diamond to player                send "&7Wydobyles wlasnie &6Diament"

Mam takie coś chce do tego dodać Fortune I, Fortune II, Fortune III

 

I: 30% * 2 (30% więcej)

II: 25% * 2, 25% * 3 (75% więcej)

III: 20% * 2, 20% * 3, 20% * 4 (120% więcej)

Edytowane przez divx
Odnośnik do komentarza
Udostępnij na innych stronach

15 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on mine of stone:	player's tool is any pickaxe:		player's y coordinate is smaller than 20:		chance of 15%:			give 1 diamond to player			send "&7Wydobyles wlasnie &6Diament"			else:				if player's tool is any pickaxe of Fortune 3:					give diamond to player					quantity: 1-3					send "&7Wydobyles wlasnie &6Diament"

źle wytabowane było

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
on mine of stone:    player's tool is any pickaxe:        player's y coordinate is smaller than 20:        chance of 15%:            give 1 diamond to player            send "&7Wydobyles wlasnie &6Diament"         else:            if player's tool is any pickaxe of Fortune 3:                give diamond to player                quantity: 1-3                send "&7Wydobyles wlasnie &6Diament"

Jeżeli nie działa w takim razie prosze o liste błędów.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Gość DonFallingCookie

To miało być wielkie pouczenie, ale się namyśliłem :v

on mine of stone:	player's tool is any pickaxe	player's y coordinate is smaller than 20	chance of 15%:		give 1 diamond to player		send "&7Wydobyles wlasnie &6Diament"	else:		if player's tool is any pickaxe of fortune 3:			give a random integer between 1 and 3 diamond to the player			send "&7Wydobyles wlasnie &6Diament"
Edytowane przez DonFallingCookie
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Niby zwykłe taby a tyle kołoptu. Może dla tego, że ja reaguje na if a tutaj skrypter if nie postawił...

on mine of stone:	player's tool is any pickaxe:		player's y coordinate is smaller than 20:			chance of 15%:				give 1 diamond to player				send "&7Wydobyles wlasnie &6Diament"			else:				if player's tool is any pickaxe of Fortune 3:					give diamond to player					quantity: 1-3					send "&7Wydobyles wlasnie &6Diament"

po chace możę być else?

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
on mine of stone:    player's tool is any pickaxe:        player's y coordinate is smaller than 20:        chance of 15%:            give 1 diamond to player            send "&7Wydobyles wlasnie &6Diament"         else:            if player's tool is any pickaxe of Fortune 3:                give diamond to player                quantity: 1-3                send "&7Wydobyles wlasnie &6Diament"

Jeżeli nie działa w takim razie prosze o liste błędów.

 

>skript reload all
[11:42:47 INFO]: [skript] Reloading the config and all scripts...
[11:42:48 INFO]: Loaded a total of 11504 english aliases
[11:42:48 WARN]: Empty configuration section! You might want to indent one or mo
re of the subsequent lines to make them belong to this section or remove the col
on at the end of the line if you don't want this line to start a section. (Rudy.
sk, line 9: player's y coordinate is smaller than 90:')
[11:42:48 ERROR]: indentation error: expected 12 spaces, but found 9 spaces (Rud
y.sk, line 13: else:')
[11:42:48 ERROR]: Can't understand this condition/effect: quantity: 1-3 (Rudy.sk
, line 16: quantity: 1-3')
[11:42:48 INFO]: Loaded 4 scripts with a total of 15 triggers and 7 commands in
0.51 seconds
[11:42:48 INFO]: [skript] Encountered 2 errors while reloading the config and al
l scripts!
 

Niby zwykłe taby a tyle kołoptu. Może dla tego, że ja reaguje na if a tutaj skrypter if nie postawił...

on mine of stone:

player's tool is any pickaxe:

player's y coordinate is smaller than 20:

chance of 15%:

give 1 diamond to player

send "&7Wydobyles wlasnie &6Diament"

else:

if player's tool is any pickaxe of Fortune 3:

give diamond to player

quantity: 1-3

send "&7Wydobyles wlasnie &6Diament"

po chace możę być else?

>skript reload all
[11:44:48 INFO]: [skript] Reloading the config and all scripts...
[11:44:49 INFO]: Loaded a total of 11504 english aliases
[11:44:49 ERROR]: Can't understand this condition/effect: quantity: 1-3 (Rudy.sk
, line 16: quantity: 1-3')
[11:44:49 INFO]: Loaded 4 scripts with a total of 15 triggers and 7 commands in
0.24 seconds
[11:44:49 INFO]: [skript] Encountered 1 error while reloading the config and all
 scripts!
 
 

 

To miało być wielkie pouczenie, ale się namyśliłem  :v

on mine of stone:

player's tool is any pickaxe

player's y coordinate is smaller than 20

chance of 15%:

give 1 diamond to player

send "&7Wydobyles wlasnie &6Diament"

else:

if player's tool is any pickaxe of fortune 3:

give a random integer between 1 and 3 diamond to the player

send "&7Wydobyles wlasnie &6Diament"

 

>skript reload all
[11:45:56 INFO]: [skript] Reloading the config and all scripts...
[11:45:56 INFO]: Loaded a total of 11504 english aliases
[11:45:56 ERROR]: ('a random integer between 1' and '3 diamond') can't be added
to a player because the former is neither an item type, an inventory nor an expe
rience point (Rudy.sk, line 15: give a random integer between 1 and 3 diamond to
 the player')
[11:45:56 INFO]: Loaded 4 scripts with a total of 15 triggers and 7 commands in
0.28 seconds
[11:45:56 INFO]: [skript] Encountered 1 error while reloading the config and all
 scripts!
 
 
 
=================================================================================
Bawiłem się i wykombinowałem takie coś narazie testuje jako beta 
 
on mine of stone:    if player's tool is a diamond pickaxe of fortune 3:        player's y coordinate is smaller than 31:            if chance of 1%:                chance of 50%:                    give 2 emerald to player                    send "&7Wydobyles wlasnie &6Szmaragd"                    stop                chance of 50%:                    give 5 emerald to player                    send "&7Wydobyles wlasnie &6Szmaragd"                    stop

 

Edytowane przez divx
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Napisałem po swojemu:P

on mine of stone:	player's y coordinate is smaller than 31:		if player's tool is a diamond pickaxe:			chance of 15%:				drop diamond at location of event-block				send "&7Wydobyles wlasnie &6Diament"		if player's tool is a diamond pickaxe of fortune 3:			chance of 16%:				drop diamond at location of event-block				send "&7Wydobyles wlasnie &6Diament"		if player's tool is a diamond pickaxe of fortune 2:			chance of 17%:				drop diamond at location of event-block				send "&7Wydobyles wlasnie &6Diament"		if player's tool is a diamond pickaxe of fortune 1:			chance of 18%:				drop diamond at location of event-block				send "&7Wydobyles wlasnie &6Diament"
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Mam wszystko sam zrobiłem teraz tylko proszę o pomoc ! Jak zrobić że jak mamy pełne inventory to przedmioty dropia na ziemie ?
on break of stone:	if player's tool is a diamond pickaxe of fortune 3:		player's y coordinate is smaller than 20:			if chance of 0.5%:				chance of 60%:					give 1 diamond to player					message "&7Wydobyles wlasnie &6Diament"					clear {chance.%player%}					stop				chance of 35%:					give 2 diamond to player					message "&7Wydobyles wlasnie &6Diament"					clear {chance.%player%}					stop				chance of 25%:					give 3 diamond to player					message "&7Wydobyles wlasnie &6Diament"					clear {chance.%player%}					stop		player's y coordinate is smaller than 31:			if chance of 0.5%:				chance of 60%:					give 1 emerald to player					message "&7Wydobyles wlasnie &6Szmaragd"					clear {chance.%player%}					stop				chance of 35%:					give 2 emerald to player					message "&7Wydobyles wlasnie &6Szmaragd"					clear {chance.%player%}					stop				chance of 25%:					give 3 emerald to player					message "&7Wydobyles wlasnie &6Szmaragd"					clear {chance.%player%}					stop		player's y coordinate is smaller than 68:			if chance of 2%:				chance of 60%:					give 1 iron ingot to player					message "7Wydobyles wlasnie &6Sztabke Zelaza"					clear {chance.%player%}					stop				chance of 35%:					give 2 iron ingot to player					message "7Wydobyles wlasnie &6Sztabke Zelaza"					clear {chance.%player%}					stop				chance of 35%:					give 3 iron ingot to player					message "7Wydobyles wlasnie &6Sztabke Zelaza"					clear {chance.%player%}					stop		player's y coordinate is smaller than 36:			if chance of 1.5%:				chance of 60%:					give 1 gold ingot to player					message "&7Wydobyles wlasnie &6Sztabke Zlota"					clear {chance.%player%}					stop				chance of 35%:					give 2 gold ingot to player					message "&7Wydobyles wlasnie &6Sztabke Zlota"					clear {chance.%player%}					stop				chance of 35%:					give 3 gold ingot to player					message "&7Wydobyles wlasnie &6Sztabke Zlota"					clear {chance.%player%}					stop		player's y coordinate is smaller than 132:			if chance of 3%:				chance of 60%:					give 1 coal to player					message "&7Wydobyles wlasnie &6Wegiel"					clear {chance.%player%}					stop				chance of 35%:					give 2 coal to player					message "&7Wydobyles wlasnie &6Wegiel"					clear {chance.%player%}					stop				chance of 35%:					give 3 coal to player					message "&7Wydobyles wlasnie &6Wegiel"					clear {chance.%player%}					stop		player's y coordinate is smaller than 20:			if chance of 0.6%:				chance of 60%:					give 1 redstone to player					message "&7Wydobyles wlasnie &6Czerwony Proszek"					clear {chance.%player%}					stop				chance of 35%:					give 2 redstone to player					message "&7Wydobyles wlasnie &6Czerwony Proszek"					clear {chance.%player%}					stop				chance of 35%:					give 3 redstone to player					message "&7Wydobyles wlasnie &6Czerwony Proszek"					clear {chance.%player%}					stop		player's y coordinate is smaller than 256:			if chance of 0.6%:				chance of 60%:					give 1 obsidian to player					message "&7Wydobyles wlasnie &6Obsydian"					clear {chance.%player%}					stop				chance of 35%:					give 2 obsidian to player					message "&7Wydobyles wlasnie &6Obsydian"					clear {chance.%player%}					stop				chance of 35%:					give 3 obsidian to player					message "&7Wydobyles wlasnie &6Obsydian"					clear {chance.%player%}					stop		player's y coordinate is smaller than 256:			if chance of 0.3%:				chance of 60%:					give 1 tnt to player					message "&7Wydobyles wlasnie &6Dynamit"					clear {chance.%player%}					stop				chance of 35%:					give 2 tnt to player					message "&7Wydobyles wlasnie &6Dynamit"					clear {chance.%player%}					stop				chance of 35%:					give 3 tnt to player					message "&7Wydobyles wlasnie &6Dynamit"					clear {chance.%player%}					stop		player's y coordinate is smaller than 256:			if chance of 0.2%:				chance of 60%:					give 1 ender pearl to player					message "7Wydobyles wlasnie &6Perle"					clear {chance.%player%}					stop				chance of 35%:					give 2 ender pearl to player					message "&7Wydobyles wlasnie &6Perle"					clear {chance.%player%}					stop				chance of 35%:					give 3 ender pearl to player					message "&7Wydobyles wlasnie &6Perle"					clear {chance.%player%}					stop		player's y coordinate is smaller than 256:			if chance of 0.2%:				chance of 60%:					give 1 bookshelf to player					message "&7Wydobyles wlasnie &6Biblioteczke"					clear {chance.%player%}					stop				chance of 35%:					give 2 bookshelf to player					message "&7Wydobyles wlasnie &6Biblioteczke"					clear {chance.%player%}					stop				chance of 35%:					give 3 bookshelf to player					message "&7Wydobyles wlasnie &6Biblioteczke"					clear {chance.%player%}					stop		player's y coordinate is smaller than 256:			if chance of 0.2%:				chance of 50%:					give 1 golden apple:1 to player					message "&7Wydobyles wlasnie &6Zlote Jablko z Enchantem"					clear {chance.%player%}					stop				chance of 35%:					give 2 golden apple:1 to player					message "&7Wydobyles wlasnie &6Zlote Jablko z Enchantem"					clear {chance.%player%}					stop
// Spoilerów używaj, jedno pytanie = jeden temat. Zamykam. ~ Parrot Edytowane przez Parrot
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...