Skocz do zawartości
  • 0

Głowy z mobów - dlaczego nie działa?


Gość Usunięty#18026

Pytanie

Gość Usunięty#18026

Dlaczego to nie działa? Błędów nie ma, ale nie wylatują głowy...

on death of a zombie:
    chance of 100%:
        give zombie's skull to victim

on death of a creeper:
    chance of 10%:
        give creeper's skull to victim

on death of a skeleton:
    chance of 10%
    give skeleton's skull to victim

Odwdzięczę się +!

 

PS: próbowałem z attacker zamiast victim, ale to by i tak nie dawało.

Edytowane przez Gabi145
PS i tagi & prefiks
Odnośnik do komentarza
https://skript.pl/temat/35196-g%C5%82owy-z-mob%C3%B3w-dlaczego-nie-dzia%C5%82a/
Udostępnij na innych stronach

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Gość Usunięty#18026
5 minut temu, xAxee napisał:

zamień to na at

sprubuję, zaraz napiszę.

 

EDIT: Wyskakują takie błędy:

[ERROR] Can't understand this condition/effect: give zombie's skull at victim (glowy.sk, line 3: give zombie's skull at victim')

[ERROR] Can't understand this condition/effect: give creeper's skull at victim (glowy.sk, line 7: give creeper's skull at victim')

[ERROR] Can't understand this condition/effect: give skeleton's skull at victim (glowy.sk, line 11: give skeleton's skull at victim') 

 

Edytowane przez Gabi145
EDIT
Odnośnik do komentarza
https://skript.pl/temat/35196-g%C5%82owy-z-mob%C3%B3w-dlaczego-nie-dzia%C5%82a/#findComment-226033
Udostępnij na innych stronach

  • 0
Godzinę temu, Gabi145 napisał:

sprubuję, zaraz napiszę.

 

EDIT: Wyskakują takie błędy:


[ERROR] Can't understand this condition/effect: give zombie's skull at victim (glowy.sk, line 3: give zombie's skull at victim')

[ERROR] Can't understand this condition/effect: give creeper's skull at victim (glowy.sk, line 7: give creeper's skull at victim')

[ERROR] Can't understand this condition/effect: give skeleton's skull at victim (glowy.sk, line 11: give skeleton's skull at victim') 

 

A bo tam give bylo

Edytowane przez xAxee
Odnośnik do komentarza
https://skript.pl/temat/35196-g%C5%82owy-z-mob%C3%B3w-dlaczego-nie-dzia%C5%82a/#findComment-226040
Udostępnij na innych stronach

  • 0
Gość Usunięty#18026
6 minut temu, xAxee napisał:

To zamień item na ("id głowy" parsed as item) 

[WARNING] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (glowy.sk, line 2: chance of 100%:')

[ERROR] Can't understand this condition/effect: "397:2" parsed as item to victim (glowy.sk, line 3: "397:2" parsed as item to victim')

[ERROR] Can't understand this condition/effect: "397" parsed as item to victim (glowy.sk, line 11: "397" parsed as item to victim') 

 

Odnośnik do komentarza
https://skript.pl/temat/35196-g%C5%82owy-z-mob%C3%B3w-dlaczego-nie-dzia%C5%82a/#findComment-226044
Udostępnij na innych stronach

  • 0
6 minut temu, Gabi145 napisał:

[WARNING] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (glowy.sk, line 2: chance of 100%:')

[ERROR] Can't understand this condition/effect: "397:2" parsed as item to victim (glowy.sk, line 3: "397:2" parsed as item to victim')

[ERROR] Can't understand this condition/effect: "397" parsed as item to victim (glowy.sk, line 11: "397" parsed as item to victim') 

 

... add ("394" parsed as item) to victim 

Odnośnik do komentarza
https://skript.pl/temat/35196-g%C5%82owy-z-mob%C3%B3w-dlaczego-nie-dzia%C5%82a/#findComment-226045
Udostępnij na innych stronach

  • 0

@Gabi145

on death of a zombie:
    chance of 100%:
        give zombie's skull to attacker

on death of a creeper:
    chance of 10%:
        give creeper's skull to attacker

on death of a skeleton:
    chance of 10%
    give skeleton's skull to attacker

ta wersja mi działa ;)

Odnośnik do komentarza
https://skript.pl/temat/35196-g%C5%82owy-z-mob%C3%B3w-dlaczego-nie-dzia%C5%82a/#findComment-226048
Udostępnij na innych stronach

  • 0
Gość Usunięty#18026
1 minutę temu, Sgret napisał:

@Gabi145


on death of a zombie:
    chance of 100%:
        give zombie's skull to attacker

on death of a creeper:
    chance of 10%:
        give creeper's skull to attacker

on death of a skeleton:
    chance of 10%
    give skeleton's skull to attacker

ta wersja mi działa ;)

Mi nie ;-;

Odnośnik do komentarza
https://skript.pl/temat/35196-g%C5%82owy-z-mob%C3%B3w-dlaczego-nie-dzia%C5%82a/#findComment-226050
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

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

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