Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Skrypt CobbleX itemy/przedmioty nie wylatują z rudy


qAczu

Rekomendowane odpowiedzi

Opublikowano

Siema jak zauważyliście po tytule mam problem ze skryptem CobbleX otóż itemy nie wylatują mi z rudy dokladniej rudy emeraldu bo tak ustawiłem i wydaje mi się że problemem jest brak jakiegoś kodu w szyfrze na n++ a zbytnio słabo sie znam na samym skryptowaniu więc liczę na pomoc. Za pomoc daje naj!!!

 

Config: http://pastebin.com/Xmhds8E1

http://pastebin.com/Xmhds8E1

http://pastebin.com/Xmhds8E1

Opublikowano

 

 

on load:
	new Recipe "cx";
	"cx".Recipe.registerIngredient{1, 64 cobblestone};
	"cx".Recipe.registerIngredient{2, 64 cobblestone};
	"cx".Recipe.registerIngredient{3, 64 cobblestone};
	"cx".Recipe.registerIngredient{4, 64 cobblestone};
	"cx".Recipe.registerIngredient{5, 64 cobblestone};
	"cx".Recipe.registerIngredient{6, 64 cobblestone};
	"cx".Recipe.registerIngredient{7, 64 cobblestone};
	"cx".Recipe.registerIngredient{8, 64 cobblestone};
	"cx".Recipe.registerIngredient{9, 64 cobblestone};
	"cx".Recipe.registerResult{emerald ore of thorns 3 named "&7&lCobble&a&lX"};
	"cx".Recipe.register{};
on place of emerald ore:
	player's tool is emerald ore of thorns 3 named "&7&lCobble&a&lX":
		set {cx::%location of block%} to true
		send "&ePostawiles &7&lCobble&a&lX&e! &bZniszcz go, aby wylosowac przedmiot!"
on break of emerald ore:
	if {cx::%location of block%} is true:
		cancel event
		delete block
		clear {cx::%location of block%}
		wait 1 tick
		send "&7Wylosowales przedmiot!"
		set {_los} to 1 or 2 or 3 or 4 or 5
		chance of 10%:
			set {_los} to 6 or 7 or 8
		chance of 1%:
			set {_los} to 9
		if {_los} is 1:
			drop diamond at block
		if {_los} is 2:
			drop gunpowder at block
		if {_los} is 3:
			drop emerald at block
		if {_los} is 4:
			drop gold ingot at block
		if {_los} is 5:
			drop iron ingot at block
		if {_los} is 6:
			drop 2 emerald ore of thorns 3 named "&7&lCobble&a&lX" at block
		if {_los} is 7:
			drop apple at block
		if {_los} is 8:
			drop golden apple at block
		if {_los} is 9:
			drop enchanted golden apple at block

 

 

Opublikowano

 

 

on load:
	new Recipe "cx";
	"cx".Recipe.registerIngredient{1, 64 cobblestone};
	"cx".Recipe.registerIngredient{2, 64 cobblestone};
	"cx".Recipe.registerIngredient{3, 64 cobblestone};
	"cx".Recipe.registerIngredient{4, 64 cobblestone};
	"cx".Recipe.registerIngredient{5, 64 cobblestone};
	"cx".Recipe.registerIngredient{6, 64 cobblestone};
	"cx".Recipe.registerIngredient{7, 64 cobblestone};
	"cx".Recipe.registerIngredient{8, 64 cobblestone};
	"cx".Recipe.registerIngredient{9, 64 cobblestone};
	"cx".Recipe.registerResult{emerald ore of thorns 3 named "&7&lCobble&a&lX"};
	"cx".Recipe.register{};
on place of emerald ore:
	player's tool is emerald ore of thorns 3 named "&7&lCobble&a&lX":
		set {cx::%location of block%} to true
		send "&ePostawiles &7&lCobble&a&lX&e! &bZniszcz go, aby wylosowac przedmiot!"
on break of emerald ore:
	if {cx::%location of block%} is true:
		cancel event
		delete block
		clear {cx::%location of block%}
		wait 1 tick
		send "&7Wylosowales przedmiot!"
		set {_los} to 1 or 2 or 3 or 4 or 5
		chance of 10%:
			set {_los} to 6 or 7 or 8
		chance of 1%:
			set {_los} to 9
		if {_los} is 1:
			drop diamond at block
		if {_los} is 2:
			drop gunpowder at block
		if {_los} is 3:
			drop emerald at block
		if {_los} is 4:
			drop gold ingot at block
		if {_los} is 5:
			drop iron ingot at block
		if {_los} is 6:
			drop 2 emerald ore of thorns 3 named "&7&lCobble&a&lX" at block
		if {_los} is 7:
			drop apple at block
		if {_los} is 8:
			drop golden apple at block
		if {_los} is 9:
			drop enchanted golden apple at block

 

 

w tym momencie mi usuneles % dropi :( a chciałbym mieć procent dropu CobbleX :D 

Opublikowano

Poco komu cobblex?

Jeśli chcesz mieć serwer hardcore dodaj do niego magiczne skrzynie i pandory. Pandory się prawie niczym nie różnią od tego. Jeśli chcesz mogę ci udostępnić swój skrypt na pandory.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...