on spawn of zombie:
chance of {@xyz}%:
set name of zombie to "{@ZName}"
equip zombie with all leather armor
colour zombie's helmet black
colour zombie's chestplate orange
colour zombie's leggings magenta
colour zombie's boots cyan
spawn 1 baby zombie at event-location
wait 1 tick
set name of zombie to "{@ZName}"
equip last spawned zombie with all leather armor
colour last spawned zombie's chestplate yellow
colour last spawned zombie's leggings light blue
colour last spawned zombie's boots orange
spawn 1 zombie at event-location
wait 1 tick
set name of zombie to "{@ZName}"
equip last spawned zombie with all leather armor
colour last spawned zombie's chestplate green
colour last spawned zombie's leggings blue
colour last spawned zombie's boots black
stop
tak mniej więcej wygląda mój skrypt tylko, że kiedy występuje ten przypadek skript zaczyna respić mi po (bardzo duża liczba) zombie, przez co wywala serwer.
i tak przy okazji szansa to 100% przy niższej nie próbowałem
Z góry dziękuję za pomoc
Pytanie
Matiusz1232 0
Witam
Tak jak w tytule:
on spawn of zombie: chance of {@xyz}%: set name of zombie to "{@ZName}" equip zombie with all leather armor colour zombie's helmet black colour zombie's chestplate orange colour zombie's leggings magenta colour zombie's boots cyan spawn 1 baby zombie at event-location wait 1 tick set name of zombie to "{@ZName}" equip last spawned zombie with all leather armor colour last spawned zombie's chestplate yellow colour last spawned zombie's leggings light blue colour last spawned zombie's boots orange spawn 1 zombie at event-location wait 1 tick set name of zombie to "{@ZName}" equip last spawned zombie with all leather armor colour last spawned zombie's chestplate green colour last spawned zombie's leggings blue colour last spawned zombie's boots black stoptak mniej więcej wygląda mój skrypt tylko, że kiedy występuje ten przypadek skript zaczyna respić mi po (bardzo duża liczba) zombie, przez co wywala serwer.

Edytowane przez Matiusz1232i tak przy okazji szansa to 100% przy niższej nie próbowałem
Z góry dziękuję za pomoc
Odnośnik do komentarza
https://skript.pl/temat/29864-b%C5%82%C4%85d-z-respieniem-mob%C3%B3w/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi