Skocz do zawartości
  • 0

Blokada enchantu protection 4


Pytanie

Witam! posiadam skrypt na blokade lecz nie działa tak jak powinno....   gdy połącze np 2 chłemy protection 3 to wychodzi prot 4 i gdy szybko sie założy to nie zmienia na prot 3 i gracz chodzi z tym enchantem. Podsyłam skrypt

on any move:
    if player's tool is enchanted with protection 4:
        enchant player's tool with protection 3
        send "&6Enchant zostal zablokowany"

 

Edytowane przez xAxee
xAxee

Wstawiam w code

Notatka dodana przez xAxee

Odnośnik do komentarza
https://skript.pl/temat/38330-blokada-enchantu-protection-4/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on any move:
	loop all items in player's inventory:
		if level of protection of loop-item is 4:
			enchant loop-item with protection 3
			send "&7Zamieniono enchant!"
	if level of protection of player's helmet is 4:
		enchant player's helmet with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's chestplate is 4:
		enchant player's chestplate with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's leggings is 4:
		enchant player's leggings with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's boots is 4:
		enchant player's boots with protection 3
		send "&7Zamieniono enchant!"

 

Odnośnik do komentarza
https://skript.pl/temat/38330-blokada-enchantu-protection-4/#findComment-242084
Udostępnij na innych stronach

  • 0
8 minut temu, xAxee napisał:

on any move:
	loop all items in player's inventory:
		if level of protection of loop-item is 4:
			enchant loop-item with protection 3
			send "&7Zamieniono enchant!"
	if level of protection of player's helmet is 4:
		enchant player's helmet with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's chestplate is 4:
		enchant player's chestplate with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's leggings is 4:
		enchant player's leggings with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's boots is 4:
		enchant player's boots with protection 3
		send "&7Zamieniono enchant!"

 

Działa a dało by radę jeszcze pod mieczyk i łuk ? (sharpness 4 max)   (power 3 max)

Odnośnik do komentarza
https://skript.pl/temat/38330-blokada-enchantu-protection-4/#findComment-242089
Udostępnij na innych stronach

  • 0
2 minuty temu, Frejzu napisał:

Działa a dało by radę jeszcze pod mieczyk i łuk ? (sharpness 4 max)   (power 3 max)

on any move:
	loop all items in player's inventory:
		if level of protection of loop-item is 4:
			enchant loop-item with protection 3
			send "&7Zamieniono enchant!"
		if level of sharpness of loop-item is 5:
			enchant loop-item with sharpness 4
			send "&7Zamieniono enchant!"
		if level of power of loop-item is 4:
			enchant loop-item with power 3
			send "&7Zamieniono enchant!"
	if level of protection of player's helmet is 4:
		enchant player's helmet with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's chestplate is 4:
		enchant player's chestplate with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's leggings is 4:
		enchant player's leggings with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's boots is 4:
		enchant player's boots with protection 3
		send "&7Zamieniono enchant!"

 

Odnośnik do komentarza
https://skript.pl/temat/38330-blokada-enchantu-protection-4/#findComment-242090
Udostępnij na innych stronach

  • 0
Godzinę temu, xAxee napisał:

on any move:
	loop all items in player's inventory:
		if level of protection of loop-item is 4:
			enchant loop-item with protection 3
			send "&7Zamieniono enchant!"
		if level of sharpness of loop-item is 5:
			enchant loop-item with sharpness 4
			send "&7Zamieniono enchant!"
		if level of power of loop-item is 4:
			enchant loop-item with power 3
			send "&7Zamieniono enchant!"
	if level of protection of player's helmet is 4:
		enchant player's helmet with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's chestplate is 4:
		enchant player's chestplate with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's leggings is 4:
		enchant player's leggings with protection 3
		send "&7Zamieniono enchant!"
	if level of protection of player's boots is 4:
		enchant player's boots with protection 3
		send "&7Zamieniono enchant!"

 

Dzięki

 

Odnośnik do komentarza
https://skript.pl/temat/38330-blokada-enchantu-protection-4/#findComment-242106
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ę...