on mine of any ore:
cancel event
delete block
send "{@tag}&7 Ten surowiec wypada tylko ze stone."
on mine of stone:
if player's tool is pickaxe of fortune 0:
chance of {@zelazo}:
give a random number between 3 and 1 of iron ingot to the player
send "{@tag}&7 Trafiles na: &7Zelazo&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@zelazo1}:
give a random number between 4 and 2 of iron ingot to the player
send "{@tag}&7 Trafiles na: &7Zelazo&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@zelazo2}:
give a random number between 5 and 3 of iron ingot to the player
send "{@tag}&7 Trafiles na: &7Zelazo&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@zelazo3}:
give a random number between 6 and 4 of iron ingot to the player
send "{@tag}&7 Trafiles na: &7Zelazo&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@zloto}:
give a random number between 3 and 1 of gold ingot to the player
send "{@tag}&7 Trafiles na: &6zloto&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@zloto1}:
give a random number between 4 and 2 of gold ingot to the player
send "{@tag}&7 Trafiles na: &6zloto&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@zloto2}:
give a random number between 5 and 3 of gold ingot to the player
send "{@tag}&7 Trafiles na: &6zloto&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@zloto3}:
give a random number between 6 and 4 of gold ingot to the player
send "{@tag}&7 Trafiles na: &6zloto&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@diament}:
give a random number between 2 and 1 of diamond to the player
send "{@tag}&7 Trafiles na: &3diament&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@diament1}:
give a random number between 3 and 1 of diamond to the player
send "{@tag}&7 Trafiles na: &3diament&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@diament2}:
give a random number between 3 and 2 of diamond to the player
send "{@tag}&7 Trafiles na: &3diament&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@diament3}:
give a random number between 4 and 2 of diamond to the player
send "{@tag}&7 Trafiles na: &3diament&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@szmaragd}:
give 1 emerald to the player
send "{@tag}&7 Znalazles szmaragd!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@szmaragd1}:
give a random number between 2 and 1 of emerald to the player
send "{@tag}&7 Trafiles na: &2emerald&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@szmaragd2}:
give a random number between 3 and 1 of emerald to the player
send "{@tag}&7 Trafiles na: &2emerald&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@szmaragd2}:
give a random number between 3 and 2 of emerald to the player
send "{@tag}&7 Trafiles na: &2emerald&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@wegiel}:
give a random number between 4 and 1 of coal to the player
send "{@tag}&7 Trafiles na: &7Węgiel&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@wegiel1}:
give a random number between 4 and 2 of coal to the player
send "{@tag}&7 Trafiles na: &7Węgiel&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@wegiel2}:
give a random number between 5 and 2 of coal to the player
send "{@tag}&7 Trafiles na: &7Węgiel&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@wegiel3}:
give a random number between 6 and 3 of coal to the player
send "{@tag}&7 Trafiles na: &7Węgiel&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@redstone}:
give a random number between 4 and 1 of redstone to the player
send "{@tag}&7 Trafiles na: &4Redstone&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@redstone1}:
give a random number between 4 and 2 of redstone to the player
send "{@tag}&7 Trafiles na: &4Redstone&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@redstone2}:
give a random number between 5 and 2 of redstone to the player
send "{@tag}&7 Trafiles na: &4Redstone&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@redstone3}:
give a random number between 6 and 3 of redstone to the player
send "{@tag}&7 Trafiles na: &4Redstone&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@lapis}:
give a random number between 4 and 1 of lapis lazuli to the player
send "{@tag}&7 Trafiles na: &1Lapis&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@lapis1}:
give a random number between 4 and 2 of lapis lazuli to the player
send "{@tag}&7 Trafiles na: &1Lapis&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@lapis2}:
give a random number between 5 and 2 of lapis lazuli to the player
send "{@tag}&7 Trafiles na: &1Lapis&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@lapis3}:
give a random number between 6 and 3 of lapis lazuli to the player
send "{@tag}&7 Trafiles na: &1Lapis&7!"
stop
#- - - - - - - - - - - - - - - - - - - - - - -#
#-Autor skryptu: Hakushami #
#-Komendy: #
#-/stone drop - Pokazuje szanse na drop. #
#-/stone autor - Pokazuje autora skryptu. #
#-/stone f1 - Pokazuje drop z fortune 1 #
#-/stone f2 - Pokazuje drop z fortune 2 #
#-/stone f3 - Pokazuje drop z fortune 3 #
#- - - - - -Licencja skryptu- - - - - - - - - #
#-Zakaz podszywania sie pod autora. #
#-Zakaz usuwania autora oraz licencji. #
#-Zabraniam sprzedazy skryptu. #
#-Zezwalam na edycje skryptu. #
#- - - - - - - - - - - - - - - - - - - - - - -#
Pytanie
Fiuro 0
Np : diament: 0.25% jak jest ustawione 0.25 już nie dropi nic a jak jest 1.00% to już dropi ...
#- - - - - - - - - - - - - - - - - - - - - - -#
#-Autor skryptu: Hakushami #
#-Komendy: #
#-/stone drop - Pokazuje szanse na drop. #
#-/stone autor - Pokazuje autora skryptu. #
#-/stone f1 - Pokazuje drop z fortune 1 #
#-/stone f2 - Pokazuje drop z fortune 2 #
#-/stone f3 - Pokazuje drop z fortune 3 #
#- - - - - -Licencja skryptu- - - - - - - - - #
#-Zakaz podszywania sie pod autora. #
#-Zakaz usuwania autora oraz licencji. #
#-Zabraniam sprzedazy skryptu. #
#-Zezwalam na edycje skryptu. #
#- - - - - - - - - - - - - - - - - - - - - - -#
options:
tag: &b[Drop]
zelazo: 3.0%
zloto: 1.20%
diament: 0.25%
szmaragd: 0.20%
wegiel: 3.50%
redstone: 0.80%
lapis: 2.0%
zelazo1: 3.50%
zloto1: 2.0%
diament1: 0.50%
szmaragd1: 0.25%
wegiel1: 3.80%
redstone1: 1.0%
lapis1: 2.20%
zelazo2: 3.80%
zloto2: 2.20%
diament2: 0.60%
szmaragd2: 0.30%
wegiel2: 4.0%
redstone2: 1.20%
lapis2: 2.40%
zelazo3: 4.0%
zloto3: 2.40%
diament3: 0.70%
szmaragd3: 0.50%
wegiel3: 4.20%
redstone3: 1.40%
lapis3: 2.50%
on mine of any ore:
cancel event
delete block
send "{@tag}&7 Ten surowiec wypada tylko ze stone."
on mine of stone:
if player's tool is pickaxe of fortune 0:
chance of {@zelazo}:
give a random number between 3 and 1 of iron ingot to the player
send "{@tag}&7 Trafiles na: &7Zelazo&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@zelazo1}:
give a random number between 4 and 2 of iron ingot to the player
send "{@tag}&7 Trafiles na: &7Zelazo&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@zelazo2}:
give a random number between 5 and 3 of iron ingot to the player
send "{@tag}&7 Trafiles na: &7Zelazo&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@zelazo3}:
give a random number between 6 and 4 of iron ingot to the player
send "{@tag}&7 Trafiles na: &7Zelazo&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@zloto}:
give a random number between 3 and 1 of gold ingot to the player
send "{@tag}&7 Trafiles na: &6zloto&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@zloto1}:
give a random number between 4 and 2 of gold ingot to the player
send "{@tag}&7 Trafiles na: &6zloto&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@zloto2}:
give a random number between 5 and 3 of gold ingot to the player
send "{@tag}&7 Trafiles na: &6zloto&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@zloto3}:
give a random number between 6 and 4 of gold ingot to the player
send "{@tag}&7 Trafiles na: &6zloto&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@diament}:
give a random number between 2 and 1 of diamond to the player
send "{@tag}&7 Trafiles na: &3diament&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@diament1}:
give a random number between 3 and 1 of diamond to the player
send "{@tag}&7 Trafiles na: &3diament&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@diament2}:
give a random number between 3 and 2 of diamond to the player
send "{@tag}&7 Trafiles na: &3diament&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@diament3}:
give a random number between 4 and 2 of diamond to the player
send "{@tag}&7 Trafiles na: &3diament&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@szmaragd}:
give 1 emerald to the player
send "{@tag}&7 Znalazles szmaragd!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@szmaragd1}:
give a random number between 2 and 1 of emerald to the player
send "{@tag}&7 Trafiles na: &2emerald&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@szmaragd2}:
give a random number between 3 and 1 of emerald to the player
send "{@tag}&7 Trafiles na: &2emerald&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@szmaragd2}:
give a random number between 3 and 2 of emerald to the player
send "{@tag}&7 Trafiles na: &2emerald&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@wegiel}:
give a random number between 4 and 1 of coal to the player
send "{@tag}&7 Trafiles na: &7Węgiel&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@wegiel1}:
give a random number between 4 and 2 of coal to the player
send "{@tag}&7 Trafiles na: &7Węgiel&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@wegiel2}:
give a random number between 5 and 2 of coal to the player
send "{@tag}&7 Trafiles na: &7Węgiel&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@wegiel3}:
give a random number between 6 and 3 of coal to the player
send "{@tag}&7 Trafiles na: &7Węgiel&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@redstone}:
give a random number between 4 and 1 of redstone to the player
send "{@tag}&7 Trafiles na: &4Redstone&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@redstone1}:
give a random number between 4 and 2 of redstone to the player
send "{@tag}&7 Trafiles na: &4Redstone&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@redstone2}:
give a random number between 5 and 2 of redstone to the player
send "{@tag}&7 Trafiles na: &4Redstone&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@redstone3}:
give a random number between 6 and 3 of redstone to the player
send "{@tag}&7 Trafiles na: &4Redstone&7!"
stop
if player's tool is pickaxe of fortune 0:
chance of {@lapis}:
give a random number between 4 and 1 of lapis lazuli to the player
send "{@tag}&7 Trafiles na: &1Lapis&7!"
stop
else:
if player's tool is pickaxe of fortune 1:
chance of {@lapis1}:
give a random number between 4 and 2 of lapis lazuli to the player
send "{@tag}&7 Trafiles na: &1Lapis&7!"
stop
else:
if player's tool is pickaxe of fortune 2:
chance of {@lapis2}:
give a random number between 5 and 2 of lapis lazuli to the player
send "{@tag}&7 Trafiles na: &1Lapis&7!"
stop
else:
if player's tool is pickaxe of fortune 3:
chance of {@lapis3}:
give a random number between 6 and 3 of lapis lazuli to the player
send "{@tag}&7 Trafiles na: &1Lapis&7!"
stop
#- - - - - - - - - - - - - - - - - - - - - - -#
#-Autor skryptu: Hakushami #
#-Komendy: #
#-/stone drop - Pokazuje szanse na drop. #
#-/stone autor - Pokazuje autora skryptu. #
#-/stone f1 - Pokazuje drop z fortune 1 #
#-/stone f2 - Pokazuje drop z fortune 2 #
#-/stone f3 - Pokazuje drop z fortune 3 #
#- - - - - -Licencja skryptu- - - - - - - - - #
#-Zakaz podszywania sie pod autora. #
#-Zakaz usuwania autora oraz licencji. #
#-Zabraniam sprzedazy skryptu. #
#-Zezwalam na edycje skryptu. #
#- - - - - - - - - - - - - - - - - - - - - - -#
Odnośnik do komentarza
https://skript.pl/temat/24028-skrypt-na-drop-problem/Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi