Skocz do zawartości
  • 0

Drop ze stone i mobów


Salik

Pytanie

Cze :) Dałoby się zrobić skrypt na drop ze stone i z mobów kilku itemów i exp'a ?? Mam otherdrops ale to troszkę zbędny plugin i chyba źle skonfigurowałem bo nie działa  :p Macie config ( Z otherdrops ) co jak ustawić:

include-files:


aliases:
defaults:
otherdrops:
STONE:
- drop: 15
tool: [ANY_PICKAXE]
chance: 0.05
quantity: 1-2
message: Znalazles &7zelazo!
- drop: 14
tool: [ANY_PICKAXE]
chance: 0.05
quantity: 1-2
message: Znalazles &ezloto!
COOBLESTONE:
- drop: 406
tool: [ANY_PICKAXE]
chance: 0.5
quantity: 1-6
message: Znalazles Kwarc!
- drop: xp
tool: [ANY_PICKAXE]
chance: 5
quantity: 1-20
SKELETON:
- drop: 331
tool: ANY
chance: 3
quantity: 1-3
- drop: 263
tool: ANY
chance: 3
quantity: 1-3
ZOMBIE:
- drop: 331
tool: ANY
chance: 3
quantity: 1-3
- drop: 263
tool: ANY
chance: 3
quantity: 1-3
CREEPER:
- drop: 331
tool: ANY
chance: 3
quantity: 1-3
- drop: 263
tool: ANY
chance: 3
quantity: 1-3
SPIDER:
- drop: 331
tool: ANY
chance: 3
quantity: 1-3
- drop: 263
tool: ANY
chance: 3
quantity: 1-3

Odnośnik do komentarza
https://skript.pl/temat/1199-drop-ze-stone-i-mob%C3%B3w/
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Da sie zrobic skrypt ;)

Drop ze stone:

on break of any ore:	cancel event	set event-block to stoneon break of stone:	give 5 xp to playeron break of stone:	chance of 1%:		drop 1 diamond		stop	chance of 1%:		drop 1 emerald		stop	chance of 3%:		drop 1 gold ore		stop	chance of 5%:		drop 1 iron ore		stop	chace of 6%:		drop 1 coal		stop	chance of 5%:		drop 1 redstone		stop	chance of 5%:		drop 2 lapis lazuli
Drop z mobow

on death of zombie:	attacker is player:		drop 1 diamond sword at event locationItd...
Mam nadzieje ze chociaz 1 plusika dostane ;)
Odnośnik do komentarza
https://skript.pl/temat/1199-drop-ze-stone-i-mob%C3%B3w/#findComment-9332
Udostępnij na innych stronach

  • 0

A mógłbyś zrobić już gotowy kod ( tak tak to jest wyzyskiwanie ) z tymi ustawieniami co podałem do góry ? I zrobić żeby normalnie dropiło z rud, no i drop xp ze stone z procentem szans :) Z góry dziękuje będe bardzo wdzięczny :P

Odnośnik do komentarza
https://skript.pl/temat/1199-drop-ze-stone-i-mob%C3%B3w/#findComment-9343
Udostępnij na innych stronach

  • 0
Gość DonFallingCookie
on mine of stone:	add 1 xp to the player	chance of 0.5%:		drop a random integer between 1 and 2 iron ore at location of event-block		send "Znalazles &7Zelazo!"	chance of 0.5%:		drop a random integer between 1 and 2 gold ore at location of event-block		send "Znalazles &eZloto!"	chance of 0.5%:		drop a random integer between 1 and 6 quartz at location of event-block		send "Znalazles Kwarc!"on death of skeleton or zombie or creeper or spider:	chance of 3%:		drop a random integer between 1 and 3 redstone at location of victim	chance of 3%:		drop a random integer between 1 and 3 coal at location of victim

Zapodaj like jak zadziała ;p

Odnośnik do komentarza
https://skript.pl/temat/1199-drop-ze-stone-i-mob%C3%B3w/#findComment-9356
Udostępnij na innych stronach

  • 0
Wszystko ładnie tylko nie dropią itemy :P i tu takie małe errory, aaaa no i można by zmienić żeby gracz dostawał xp z jakimś procentem szans od 1 do 20 bo tak to dostaje co zniszczony klocek -_-

[10:40:35 ERROR]: [skript] 'integer between 1 and 2 iron ore at location' is not


a number (drop ze stone.sk, line 4: drop a random integer between 1 and 2 iron
ore at location of event-block')
[10:40:36 INFO]: [skript] You're currently running the latest stable version of
Skript.
[10:40:36 ERROR]: [skript] 'integer between 1 and 2 gold ore at location' is not
a number (drop ze stone.sk, line 7: drop a random integer between 1 and 2 gold
ore at location of event-block')
[10:40:37 ERROR]: [skript] 'integer between 1 and 6 quartz at location' is not a
number (drop ze stone.sk, line 10: drop a random integer between 1 and 6 quartz
at location of event-block')
[10:40:37 ERROR]: [skript] 'victim' is not an item stack (drop ze stone.sk, line
14: drop a random integer between 1 and 3 redstone at location of victim')
[10:40:38 ERROR]: [skript] 'victim' is not an item stack (drop ze stone.sk, line
16: drop a random integer between 1 and 3 coal at location of victim')

Odnośnik do komentarza
https://skript.pl/temat/1199-drop-ze-stone-i-mob%C3%B3w/#findComment-9364
Udostępnij na innych stronach

  • 0
on mine of any ore or emerald ore:    cancel event    set event-block to stone#on mine of stone:    chance of 5%:	    add 1 exp to the player    chance of 1%:	    drop a random number between 1 and 2 of diamond    chance of 1%:	    drop a random number between 1 and 2 of emerald    chance of 4%:	    drop a random number between 1 and 4 of coal    chance of 2%:	    drop a random number between 1 and 4 of redstone    chance of 4%:	    drop a random number between 1 and 3 of iron ingot    chance of 2%:	    drop a random number between 1 and 4 of lapis lazuli    chance of 3%:	    drop a random number between 1 and 2 of gold ingot#on death of zombie or skeleton or creeper or spider:    chance of 3%:	    drop a random number between 1 and 3 of redstone
Odnośnik do komentarza
https://skript.pl/temat/1199-drop-ze-stone-i-mob%C3%B3w/#findComment-9366
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ę...