Witam, oto ten skrypt, nie działa do końca, znaczy... działa, ale tylko przy ustawieniu pierwszego respawnu mobow, (SetSpawnMob bez liczby)
Proszę o pomoc.
options:
exp: 50 #Tutaj dajesz ilosc exp
command /SetSpawnMob [<number>]:
permission: set.spawnmoba
permission message: &4Nie masz do tego uprawnien...
trigger:
arg 1 is set:
if {ZombieBoss::%number-arg%} is not set:
add 1 to {bossy}
set {ZombieBoss::%number-arg%} to location of player
every 60 second:
chance of 100%:
loop {bossy} times:
spawn 1 zombie at {ZombieBoss::%loop-number%}
set the spawned zombie's display name to "&6Lvl. &61. &2Zombie &2YO"
set the last spawned entity's max health to 20
heal the last spawned entity
set tool of last spawned entity to wooden sword of unbreaking 10
on death:
if victim is zombie:
if name of victim is "&2Lvl.&01 &2Zombie YO":
chance of 100%:
if victim can hold 1 chest named "nazwa":
give {@exp} xp to the victim
add 1 chest named "nazwa" to victim
chance of 5%:
if victim can hold 2 chest named "Nazwa":
give {@exp} xp to the victim
add 2 chest named "Nazwa" to victim
Pytanie
Wakal 23
Witam, oto ten skrypt, nie działa do końca, znaczy... działa, ale tylko przy ustawieniu pierwszego respawnu mobow, (SetSpawnMob bez liczby)
Proszę o pomoc.
Za wszystkie odp. z góry dzięki!
Odnośnik do komentarza
https://skript.pl/temat/22098-skrypt-na-auto-spawn-mobow-nie-do-ko%C5%84ca-dzia%C5%82a/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi