Skocz do zawartości
  • 0

Jak dodać miecz szkieletowi?


Pytanie

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

okto kod:
http://pastebin.pl/view/e6de7981  
                                                                                        Kod działa: 
       2016-01-21_11.16.31.png.47956699be78b6ae
lecz Skeletonowi nie daje miecza popaczcie
                     2016-01-21_11.21.53.png.aa24395c6c0ab63f pomóżcie mi, z góry dziękuję :)

Odnośnik do komentarza
https://skript.pl/temat/10223-jak-doda%C4%87-miecz-szkieletowi/#findComment-76180
Udostępnij na innych stronach

  • 0
on mine of gold ore:
	if player's tool is any pickaxe:
		set {Szt::Dublon::%player%} to "0" or "1" or "2" or "2" or "3" or "4"
		chance of 30%:
			drop diamond
			send "&8[&eEnderManCraft&8] &7Gratulacje zdobyles &e%{Szt::Dublon::%player%}% dublonów Z trzech &8[&7Bonus &bDiament&8]"
			set block to air
			stop
		chance of 38%:
			drop gold ingot
			send "&8[&eEnderManCraft&8] &7Gratulacje zdobyles &e%{Szt::Dublon::%player%}% dublonów Z trzech &8[&7Bonus &eSztabke zlota&8]"
			set block to air
			stop
		chance of 52%:
			drop 3 iron ingot
			send "&8[&eEnderManCraft&8] &7Gratulacje zdobyles &e%{Szt::Dublon::%player%}% dublonów Z trzech &8[&7Bonus &7Sztabke zelaza&8]"
			set block to air
			stop
		chance of 53%:
			drop 49
			send "&8[&eEnderManCraft&8] &7Gratulacje zdobyles &e%{Szt::Dublon::%player%}% dublonów Z trzech &8[&7Bonus &8Obsydian]"
			set block to air
			stop
		chance of 43%:
			drop 5 apple
			send "&8[&eEnderManCraft&8] &7Gratulacje zdobyles &e%{Szt::Dublon::%player%}% dublonów Z trzech  &8[&7Bonus &cJablko&8]"
			set block to air
			stop
		chance of 65%:
			drop 1 322:1
			send "&8[&eEnderManCraft&8] &7Gratulacje zdobyles &e%{Szt::Dublon::%player%}% dublonów Z trzech &8[&7Bonus &eZlote Jablko&8]"
			set block to air
			stop
on mine of Gold Ore:
	if player's tool is any pickaxe:
		if {Szt::Dublon::%player%} is "0":
			stop
		if {Szt::Dublon::%player%} is "1":
			drop 1 SunFlower of sharpness named "&eZloty Dublon"
		if {Szt::Dublon::%player%} is "2":
			drop 2 SunFlower of sharpness named "&eZloty Dublon"
		if {Szt::Dublon::%player%} is "3":
		drop 3 SunFlower of sharpness named "&eZloty Dublon"
on break of Gold Ore:
	spawn 1 skeleton above location of event-block
	apply speed 8 to last spawned entity for 999 hour
	equip last spawned entity with gold helmet of protection 100 and thorns 5
	equip last spawned entity with gold chestplate of protection 100 and thorns 5
	equip last spawned entity with gold leggings of protection 100 and thorns 5
	equip last spawned entity with gold boots of protection 100 and thorns 5
	set last spawned entity's tool to gold sword of sharpness 5
	wait 1 seconds
	set block to Gold Ore
	drop 10 xp at location of block
on break of Gold Ore:
	spawn 1 skeleton above location of event-block
	apply speed 8 to last spawned entity for 999 hour
	equip last spawned entity with gold helmet of protection 100 and thorns 5
	equip last spawned entity with gold chestplate of protection 100 and thorns 5
	equip last spawned entity with gold leggings of protection 100 and thorns 5
	equip last spawned entity with gold boots of protection 100 and thorns 5
	set last spawned entity's tool to gold sword of sharpness 5

Przetestowałem, działa, wytabowałem Ci resztę + strasznie brzydko i nie ładnie napisany kod... ale już działa. Dodałem tylko z tymi mieczami i TAB'y, nic innego nie ruszałem.

Odnośnik do komentarza
https://skript.pl/temat/10223-jak-doda%C4%87-miecz-szkieletowi/#findComment-76210
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ę...