Skocz do zawartości
  • 0

Skrypt na drop problem


Fiuro

Pytanie

Np : diament: 0.25% jak jest ustawione 0.25 już nie dropi nic a jak jest 1.00% to już dropi ...

Spoiler

#- - - - - - - - - - - - - - - - - - - - - - -#
#-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

  • 0

Jak by można  dodajcie lapis do configu bo jak ja dodawałem to błędy w konsolce ..

Spoiler

#   rhDrop
#   Wersja: v0.9.9
#   Autor: Inder00

config:
  #Debug
  debug: false
 
  #Sposob zapisywania danych: FLAT, SQLite, MySQL
  datatype: 'flat'
 
  #Fortunki
  fortune:
    #Fortuna 1 - Maksymalna ilosc itemkow
    level1: 2
    
    #Fortuna 2 - Maksymalna ilosc itemkow
    level2: 3
    
    #Fortuna 3 - Maksymalna ilosc itemkow
    level3: 4
 
  #Limit czasu turbodropu (w sekundach)
  limitTurbodrop: 86400 #1 dzien

  #Anulowanie rud
  cancel-ores:
  - DIAMOND_ORE
  - IRON_ORE
  - COAL_ORE
  - GOLD_ORE
  - LAPIS_ORE
 
  #Procent do kazdego dropu, ktory jest doliczany podczas aktywnego turbodropu
  activeTurbodropLoot: 2.3
 
  #Potrzebna ilosc XP do awansu do nastepnego poziomu
  xp: 1100
 
  #Gui
  gui:
    #Nazwa GUI
    name: '&8>> &6Drop &8>>'
    
    selections:
      drop:
        #Nazwa w GUI
        name: '&8>> &6Drop z kamienia &8>>'
        
        #Item w GUI
        item: STONE
        
        #Lore
        lore:
        - '&8>> &7Kliknij, aby wyswietlic drop z kamienia'
        #Pod-GUI
        show:
        
          #Lore kazdego itemku
          #Zmienne: {MINY}, {MAXY}, {CHANCE}, {BIOMES}, {TOOLS}, {FORTUNE}
          lore:
          - '&8>> &7Szansa: &6{CHANCE}'
          - '&8>> &7Wysokosc: &6{MINY}-{MAXY}'
          - '&8>> &7Na biomach: &6{BIOMES}'
          - '&8>> &7Narzedzia: &6{TOOLS}'
          - '&8>> &7Fortuna: &6{FORTUNE}'
          - '&8>> &7Aktywny: &6{STATUS}'
      top:
        #Nazwa w GUI
        name: '&8>> &6Najlepsi gornicy &8>>'
        
        #Item w GUI
        item: NETHER_STAR
        
        #Lore
        lore:
        - '&8>> &7Kliknij, aby wyswtetlic najlepszych gornikow'
        
        #Pod-GUI
        show:
          #Nazwa
          name: '&8>> &6{POZYCJA}. &7{NICKNAME}'
          
          #Lore
          lore:
          - '&8>> &7XP: &6{XP}/{NEED}'
          - '&8>> &7Poziom w gornictwie: &6{LEVEL}'
      msg:
        #Nazwa w GUI
        name: '&8>> &6Wiadomosci &8>>'
        
        #Item w GUI
        item: PAPER
      stats:
        #Nazwa w GUI
        name: '&8>> &6Statystyki &8>>'
        
        #Item w GUI
        item: EYE_OF_ENDER
        
        #Lore
        lore:
        - '&8>> &7Kliknij, aby wyswietlic statystyki'
        
        #Pod-GUI
        show:
          xp:
            #Item w GUI
            item: EXP_BOTTLE
            
            #Nazwa
            #Zmienne: {XP}, {NEED}
            name: '&8>> &7XP: &6{XP}/{NEED}'
          level:
            #Item w GUI
            item: DIAMOND_PICKAXE
            
            #Nazwa
            #Zmienne: {LEVEL}
            name: '&8>> &7Poziom: &6{LEVEL}'
      dropdisable:
        #Nazwa w GUI
        name: '&8>> &6Drop &8»'
        
        #Item w GUI
        item: GOLD_SPADE
        
      cobble:
        #Nazwa w GUI
        name: '&8>> &6Cobblestone &8>>'
        
        #Item w GUI
        item: COBBLESTONE
      turbodrop:
        #Nazwa w GUI
        name: '&8>> &6Turbodrop &8>>'
        
        #Item w GUI
        item: DIAMOND_PICKAXE
        
        #Lore
        #Zmienne: {TIMELEFT}
        lore:
        - '&8>> &7Pozostaly czas: &6{TIMELEFT}'
        - '&8>> &7Mozesz zakupic na &6WWW.34-bk.eu'
        
      statusON:
      - '&8>> &7Aktywny: &aTak'
      - '&8>> &7Kliknij, aby zmienic'
      statusOFF:
      - '&8>> &7Aktywny: &cNie'
      - '&8>> &7Kliknij, aby zmienic'
      active: '&aTak'
      disable: '&cNie'
      
 

#Baza danych
mysql:
  ip: '127.0.0.1'
  username: 'root'
  password: ''
  dbname: 'drop'
  port: 3306

#Dropy
drops:
  'DIAMENT':
    #Procent
    chance: 0.25
    
    #Punkty gornictwa
    xp: 7
    
    #Fortuna
    fortune: true
    
    #Wiadomsc
    #{PLAYER}, {XP}, {AMOUNT}
    message: '&8>> &7Wydropiles &bDiament &7(&6{AMOUNT}szt&7) &6+{XP}'
    
    #Biomy
    biome: []
    
    #Wysokosc
    height:
      minY: 0
      maxY: 256
      
    #Exp
    exp: 4
    
    #Narzedzia, ktorymi mozna to wydropic
    tools: []
     
    drop:
      #Co ma dropic
      what: DIAMOND
      
      #Z czego
      from: STONE
  'ZELAZO':
    #Procent
    chance: 3.0
    
    #Punkty gornictwa
    xp: 3
    
    #Fortuna
    fortune: true
    
    #Wiadomsc
    #{PLAYER}, {XP}, {AMOUNT}
    message: '&8>> &7Wydropiles &7Zelazo &7(&6{AMOUNT}szt&7) &6+{XP}'
    
    #Biomy
    biome: []
    
    #Wysokosc
    height:
      minY: 0
      maxY: 90
      
    #Exp
    exp: 5
    
    #Narzedzia, ktorymi mozna to wydropic
    tools: []
     
    drop:
      #Co ma dropic
      what: IRON_INGOT
      
      #Z czego
      from: STONE
  'ZLOTO':
    #Procent
    chance: 1.20
    
    #Punkty gornictwa
    xp: 12
    
    #Fortuna
    fortune: true
    
    #Wiadomsc
    #{PLAYER}, {XP}, {AMOUNT}
    message: '&8>> &7Wydropiles &6Zloto &7(&6{AMOUNT}szt&7) &6+{XP}'
    
    #Biomy
    biome: []
    
    #Wysokosc
    height:
      minY: 0
      maxY: 9
      
    #Exp
    exp: 7
    
    #Narzedzia, ktorymi mozna to wydropic
    tools: []
     
    drop:
      #Co ma dropic
      what: GOLD_INGOT
      
      #Z czego
      from: STONE
  'WEGIEL':
    #Procent
    chance: 3.50
    
    #Punkty gornictwa
    xp: 2
    
    #Fortuna
    fortune: true
    
    #Wiadomsc
    #{PLAYER}, {XP}, {AMOUNT}
    message: '&8>> &7Wydropiles &0Wegiel &7(&6{AMOUNT}szt&7) &6+{XP}'
    
    #Biomy
    biome: []
    
    #Wysokosc
    height:
      minY: 0
      maxY: 90
      
    #Exp
    exp: 3
    
    #Narzedzia, ktorymi mozna to wydropic
    tools: []
     
    drop:
      #Co ma dropic
      what: COAL
      
      #Z czego
      from: STONE
  'EMERALD':
    #Procent
    chance: 0.20
    
    #Punkty gornictwa
    xp: 4
    
    #Fortuna
    fortune: true
    
    #Wiadomsc
    #{PLAYER}, {XP}, {AMOUNT}
    message: '&8>> &7Wydropiles &aEmerald &7(&6{AMOUNT}szt&7) &6+{XP}'
    
    #Biomy
    biome: []
    
    #Wysokosc
    height:
      minY: 0
      maxY: 90
      
    #Exp
    exp: 5
    
    #Narzedzia, ktorymi mozna to wydropic
    tools: []
     
    drop:
      #Co ma dropic
      what: EMERALD
      
      #Z czego
      from: STONE

 

Odnośnik do komentarza
https://skript.pl/temat/24028-skrypt-na-drop-problem/#findComment-161359
Udostępnij na innych stronach

  • 0

Przejrzałem config i nie dopatrzyłem się tam możliwości włączenia msg na stałe, więc sprawdź czy nie ma do tego specjalnej komendy, a co do lapisu, dodałem, ale nie jestem pewien czy zadziała, bo kiedyś miałem problem ze zdefiniowaniem nazwy LAPIS_LAZULI jako barwnika, czy rudy.

	#   rhDrop
	#   Wersja: v0.9.9
	#   Autor: Inder00

	config:
	  #Debug
	  debug: false
	 
	  #Sposob zapisywania danych: FLAT, SQLite, MySQL
	  datatype: 'flat'
	 
	  #Fortunki
	  fortune:
		#Fortuna 1 - Maksymalna ilosc itemkow
		level1: 2
		
		#Fortuna 2 - Maksymalna ilosc itemkow
		level2: 3
		
		#Fortuna 3 - Maksymalna ilosc itemkow
		level3: 4
	 
	  #Limit czasu turbodropu (w sekundach)
	  limitTurbodrop: 86400 #1 dzien

	  #Anulowanie rud
	  cancel-ores:
	  - DIAMOND_ORE
	  - IRON_ORE
	  - COAL_ORE
	  - GOLD_ORE
	  - LAPIS_ORE
	 
	  #Procent do kazdego dropu, ktory jest doliczany podczas aktywnego turbodropu
	  activeTurbodropLoot: 2.3
	 
	  #Potrzebna ilosc XP do awansu do nastepnego poziomu
	  xp: 1100
	 
	  #Gui
	  gui:
		#Nazwa GUI
		name: '&8>> &6Drop &8>>'
		
		selections:
		  drop:
			#Nazwa w GUI
			name: '&8>> &6Drop z kamienia &8>>'
			
			#Item w GUI
			item: STONE
			
			#Lore
			lore:
			- '&8>> &7Kliknij, aby wyswietlic drop z kamienia'
			#Pod-GUI
			show:
			
			  #Lore kazdego itemku
			  #Zmienne: {MINY}, {MAXY}, {CHANCE}, {BIOMES}, {TOOLS}, {FORTUNE}
			  lore:
			  - '&8>> &7Szansa: &6{CHANCE}'
			  - '&8>> &7Wysokosc: &6{MINY}-{MAXY}'
			  - '&8>> &7Na biomach: &6{BIOMES}'
			  - '&8>> &7Narzedzia: &6{TOOLS}'
			  - '&8>> &7Fortuna: &6{FORTUNE}'
			  - '&8>> &7Aktywny: &6{STATUS}'
		  top:
			#Nazwa w GUI
			name: '&8>> &6Najlepsi gornicy &8>>'
			
			#Item w GUI
			item: NETHER_STAR
			
			#Lore
			lore:
			- '&8>> &7Kliknij, aby wyswtetlic najlepszych gornikow'
			
			#Pod-GUI
			show:
			  #Nazwa
			  name: '&8>> &6{POZYCJA}. &7{NICKNAME}'
			  
			  #Lore
			  lore:
			  - '&8>> &7XP: &6{XP}/{NEED}'
			  - '&8>> &7Poziom w gornictwie: &6{LEVEL}'
		  msg:
			#Nazwa w GUI
			name: '&8>> &6Wiadomosci &8>>'
			
			#Item w GUI
			item: PAPER
		  stats:
			#Nazwa w GUI
			name: '&8>> &6Statystyki &8>>'
			
			#Item w GUI
			item: EYE_OF_ENDER
			
			#Lore
			lore:
			- '&8>> &7Kliknij, aby wyswietlic statystyki'
			
			#Pod-GUI
			show:
			  xp:
				#Item w GUI
				item: EXP_BOTTLE
				
				#Nazwa
				#Zmienne: {XP}, {NEED}
				name: '&8>> &7XP: &6{XP}/{NEED}'
			  level:
				#Item w GUI
				item: DIAMOND_PICKAXE
				
				#Nazwa
				#Zmienne: {LEVEL}
				name: '&8>> &7Poziom: &6{LEVEL}'
		  dropdisable:
			#Nazwa w GUI
			name: '&8>> &6Drop &8»'
			
			#Item w GUI
			item: GOLD_SPADE
			
		  cobble:
			#Nazwa w GUI
			name: '&8>> &6Cobblestone &8>>'
			
			#Item w GUI
			item: COBBLESTONE
		  turbodrop:
			#Nazwa w GUI
			name: '&8>> &6Turbodrop &8>>'
			
			#Item w GUI
			item: DIAMOND_PICKAXE
			
			#Lore
			#Zmienne: {TIMELEFT}
			lore:
			- '&8>> &7Pozostaly czas: &6{TIMELEFT}'
			- '&8>> &7Mozesz zakupic na &6WWW.34-bk.eu'
			
		  statusON:
		  - '&8>> &7Aktywny: &aTak'
		  - '&8>> &7Kliknij, aby zmienic'
		  statusOFF:
		  - '&8>> &7Aktywny: &cNie'
		  - '&8>> &7Kliknij, aby zmienic'
		  active: '&aTak'
		  disable: '&cNie'
		  
	 

	#Baza danych
	mysql:
	  ip: '127.0.0.1'
	  username: 'root'
	  password: ''
	  dbname: 'drop'
	  port: 3306

	#Dropy
	drops:
	  'DIAMENT':
		#Procent
		chance: 0.25
		
		#Punkty gornictwa
		xp: 7
		
		#Fortuna
		fortune: true
		
		#Wiadomsc
		#{PLAYER}, {XP}, {AMOUNT}
		message: '&8>> &7Wydropiles &bDiament &7(&6{AMOUNT}szt&7) &6+{XP}'
		
		#Biomy
		biome: []
		
		#Wysokosc
		height:
		  minY: 0
		  maxY: 256
		  
		#Exp
		exp: 4
		
		#Narzedzia, ktorymi mozna to wydropic
		tools: []
		 
		drop:
		  #Co ma dropic
		  what: DIAMOND
		  
		  #Z czego
		  from: STONE
	  'LAPIS':
		#Procent
		chance: 3.0
		
		#Punkty gornictwa
		xp: 3
		
		#Fortuna
		fortune: true
		
		#Wiadomsc
		#{PLAYER}, {XP}, {AMOUNT}
		message: '&8>> &7Wydropiles &9Lapis lazuli &7(&6{AMOUNT}szt&7) &6+{XP}'
		
		#Biomy
		biome: []
		
		#Wysokosc
		height:
		  minY: 0
		  maxY: 90
		  
		#Exp
		exp: 5
		
		#Narzedzia, ktorymi mozna to wydropic
		tools: []
		 
		drop:
		  #Co ma dropic
		  what: LAPIS_LAZULI
		  
		  #Z czego
		  from: STONE
	  'ZELAZO':
		#Procent
		chance: 3.0
		
		#Punkty gornictwa
		xp: 3
		
		#Fortuna
		fortune: true
		
		#Wiadomsc
		#{PLAYER}, {XP}, {AMOUNT}
		message: '&8>> &7Wydropiles &7Zelazo &7(&6{AMOUNT}szt&7) &6+{XP}'
		
		#Biomy
		biome: []
		
		#Wysokosc
		height:
		  minY: 0
		  maxY: 90
		  
		#Exp
		exp: 5
		
		#Narzedzia, ktorymi mozna to wydropic
		tools: []
		 
		drop:
		  #Co ma dropic
		  what: IRON_INGOT
		  
		  #Z czego
		  from: STONE
	  'ZLOTO':
		#Procent
		chance: 1.20
		
		#Punkty gornictwa
		xp: 12
		
		#Fortuna
		fortune: true
		
		#Wiadomsc
		#{PLAYER}, {XP}, {AMOUNT}
		message: '&8>> &7Wydropiles &6Zloto &7(&6{AMOUNT}szt&7) &6+{XP}'
		
		#Biomy
		biome: []
		
		#Wysokosc
		height:
		  minY: 0
		  maxY: 9
		  
		#Exp
		exp: 7
		
		#Narzedzia, ktorymi mozna to wydropic
		tools: []
		 
		drop:
		  #Co ma dropic
		  what: GOLD_INGOT
		  
		  #Z czego
		  from: STONE
	  'WEGIEL':
		#Procent
		chance: 3.50
		
		#Punkty gornictwa
		xp: 2
		
		#Fortuna
		fortune: true
		
		#Wiadomsc
		#{PLAYER}, {XP}, {AMOUNT}
		message: '&8>> &7Wydropiles &0Wegiel &7(&6{AMOUNT}szt&7) &6+{XP}'
		
		#Biomy
		biome: []
		
		#Wysokosc
		height:
		  minY: 0
		  maxY: 90
		  
		#Exp
		exp: 3
		
		#Narzedzia, ktorymi mozna to wydropic
		tools: []
		 
		drop:
		  #Co ma dropic
		  what: COAL
		  
		  #Z czego
		  from: STONE
	  'EMERALD':
		#Procent
		chance: 0.20
		
		#Punkty gornictwa
		xp: 4
		
		#Fortuna
		fortune: true
		
		#Wiadomsc
		#{PLAYER}, {XP}, {AMOUNT}
		message: '&8>> &7Wydropiles &aEmerald &7(&6{AMOUNT}szt&7) &6+{XP}'
		
		#Biomy
		biome: []
		
		#Wysokosc
		height:
		  minY: 0
		  maxY: 90
		  
		#Exp
		exp: 5
		
		#Narzedzia, ktorymi mozna to wydropic
		tools: []
		 
		drop:
		  #Co ma dropic
		  what: EMERALD
		  
		  #Z czego
		  from: STONE

 

Odnośnik do komentarza
https://skript.pl/temat/24028-skrypt-na-drop-problem/#findComment-161361
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ę...