Skocz do zawartości
  • 0

Skrypt na niezniszczalność


Pytanie

Siema dałoby radę zrobić skrypt na niezniszczalność przedmiotów? Sam mam takie coś, ale widać animacje naprawy co sekunde więc lipa

every 1 second:
	loop all players:
		if loop-player's tool is sword or bow or helmet or chestplate or leggings or boots or pickaxe or axe or stick or blaze rod or  any shovel:
			repair all items in loop-player's inventory

 

Odnośnik do komentarza
https://skript.pl/temat/26169-skrypt-na-niezniszczalno%C5%9B%C4%87/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on damage:
	if attacker is a player:
		if attacker's tool is sword or axe or hoe:
			repair attacker's tool 
			repair attacker's helmet
            repair attacker's chestplate
            repair attacker's leggings
            repair attacker's boots
		repair victim's helmet
        repair victim's chestplate
        repair victim's leggings
        repair victim's boots

Nie testowane

Liczę na +!

Edytowane przez ToffikTV
Edited Code
Odnośnik do komentarza
https://skript.pl/temat/26169-skrypt-na-niezniszczalno%C5%9B%C4%87/#findComment-172537
Udostępnij na innych stronach

  • 0

Prosze :D

on damage:
    repair helmet of victim
    repair chestplate of victim
    repair leggings of victim
    repair boots of victim
on leftclick with pickaxe or axe or shovel or sword or bow or fishing rod or shears:
    repair player's tool
on rightclick with pickaxe or axe or shovel or sword or bow or fishing rod or shears:
    repair player's tool

Odnośnik do komentarza
https://skript.pl/temat/26169-skrypt-na-niezniszczalno%C5%9B%C4%87/#findComment-172774
Udostępnij na innych stronach

  • 0
on damage:
	if vactim is player:
	if player have permission: niezniszczalnosc.mroczekk
		repair player's helmet
		repair player's chestplace
		repair player's leggins
		repair player's boots
		repair player's sword
	else:
		send "Nie masz permissi"

licze na +

Odnośnik do komentarza
https://skript.pl/temat/26169-skrypt-na-niezniszczalno%C5%9B%C4%87/#findComment-172926
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ę...