Skocz do zawartości
  • 0

Dedanie tylko naznaczonych mobow


screamekk
 Udostępnij

Pytanie

Czesc, chcialem zrobic masarnie z squidów i chcialem zrobić aby squid dedal tylko ten ktory jest nazwany np. &cSindek.

 

Glownie chodzi o linijke death of a squid:

Tutaj macie kod:

every 10 real seconds:if {masarnia.spawn.1} is set:spawn 1 squid at {masarnia.spawn.1}ignite last spawned squidset display name of spawned entity to "&cSindek"spawn 1 squid at {masarnia.spawn.1}ignite last spawned squidset display name of spawned entity to "&cSindek"if {masarnia.spawn.2} is set:spawn 1 squid at {masarnia.spawn.2}ignite last spawned squidset display name of spawned entity to "&cSindek"spawn 1 squid at {masarnia.spawn.2}ignite last spawned squidset display name of spawned entity to "&cSindek"if {masarnia.spawn.3} is set:spawn 1 squid at {masarnia.spawn.3}ignite last spawned squidset display name of spawned entity to "&cSindek"spawn 1 squid at {masarnia.spawn.3}ignite last spawned squidset display name of spawned entity to "&cSindek"if {masarnia.spawn.4} is set:spawn 1 squid at {masarnia.spawn.4}ignite last spawned squidset display name of spawned entity to "&cSindek"spawn 1 squid at {masarnia.spawn.4}ignite last spawned squidset display name of spawned entity to "&cSindek"if {masarnia.spawn.5} is set:spawn 1 squid at {masarnia.spawn.5}ignite last spawned squidset display name of spawned entity to "&cSindek"spawn 1 squid at {masarnia.spawn.5}ignite last spawned squidset display name of spawned entity to "&cSindek"if {masarnia.spawn.6} is set:spawn 1 squid at {masarnia.spawn.6}ignite last spawned squidset display name of spawned entity to "&cSindek"spawn 1 squid at {masarnia.spawn.6}ignite last spawned squidset display name of spawned entity to "&cSindek"command /masarniareset:trigger:if player has permission "masarnia.reset":delete {masarnia.spawn.1}delete {masarnia.spawn.2}delete {masarnia.spawn.3}delete {masarnia.spawn.4}delete {masarnia.spawn.5}delete {masarnia.spawn.6}send "&cSpawn swin zostal usuniety!"stopelse:send "&4Nie masz dostepu do tej komendy!"stopcommand /masarnia [<text&gt]:trigger:if player has permission "masarnia.set":if arg 1 is "1":set {masarnia.spawn.1} to location of playersend "&cUstawiles spawn numer 1"stopif arg 1 is "2":set {masarnia.spawn.2} to location of playersend "&cUstawiles spawn numer 2"stopif arg 1 is "3":set {masarnia.spawn.3} to location of playersend "&cUstawiles spawn numer 3"stopif arg 1 is "4":set {masarnia.spawn.4} to location of playersend "&cUstawiles spawn numer 4"stopif arg 1 is "5":set {masarnia.spawn.5} to location of playersend "&cUstawiles spawn numer 5"stopif arg 1 is "6":set {masarnia.spawn.6} to location of playersend "&cUstawiles spawn numer 6"stopelse:send "&cPoprawne uzycie: /masarnia 1/2/3/4/5/6"stopelse:send "&4Nie masz dostepu do tej komendy!"stopon death of a squid:chance of 5%:drop 1 leather at location of victimstopchance of 42%:drop 2 raw fish at location of victimstopchance of 43%:drop 3 raw fish at location of victimstop
Edytowane przez screamekk
Odnośnik do komentarza
Udostępnij na innych stronach

9 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

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ę...