Skocz do zawartości
  • 0

help me


xXx_Skrypter_xXx
 Udostępnij

Pytanie

on mine:
	if {hp::%location of event-block%} is not set:
		set {hp::%location of event-block%} to 10
	remove 1 from {hp::%location of event-block%}
	if {hp::%location of event-block%} = 0:
		set {hp::%location of event-block%} to 10
		wait minute
		set event-block to event-block
	else:
		cancel event

 

Mam dwa pytania:

1.Jak ustawić event-block na rude emeraldu?

2.Co zrobić by po rozwaleniu bloku gracz będzie dostawał 1 diament?

 

Odnośnik do komentarza
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on mine:
	if event-block = emerald ore:
		if {hp::%location of event-block%} is not set:
			set {hp::%location of event-block%} to 10
		remove 1 from {hp::%location of event-block%}
		if {hp::%location of event-block%} = 0:
			drop 1 of diamond at event-block
			set {hp::%location of event-block%} to 10
			wait minute
			set event-block to event-block
		else:
			cancel event

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
40 minut temu, LuckyPotato napisał:
on mine:
	if event-block = emerald ore:
		if {hp::%location of event-block%} is not set:
			set {hp::%location of event-block%} to 10
		remove 1 from {hp::%location of event-block%}
		if {hp::%location of event-block%} = 0:
			drop 1 of diamond at event-block
			set {hp::%location of event-block%} to 10
			wait minute
			set event-block to event-block
		else:
			cancel event

 

Cały czas pojawia się ten emerald block nawet gdy zniszcze go 10 razy

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...