command /boss:
trigger:
if player has permission "skrypt.kopanie":
spawn 1 zombie at player
set the last spawned entity's max health to 300
heal last spawned entity
set name of spawned Zombie to "&c&lBOSS"
set helmet of the spawned Zombie to a 4610:0
set chestplate of the spawned Zombie to a 4605:0
set leggings of the spawned Zombie to a 4683:0
set boots of the spawned entity to a 4622:0
set tool of the spawned entity to a 4669:0
on damage:
if attacker is a player:
if victim is a zombie:
if name of victim is "&c&lBOSS":
if health of victim is between 200 and 100:
send "&cZabijcie ich moi słudzy" to attacker
else:
if health of victim is 50:
send "2" to attacker
Jak zrobić że gdy Boss ma 200 hp (około bo broń zadaje obrażenia u mnie 51.5, więc potrzebuję between) to obok atakującego coś się dzieje
Pytanie
LordYu 296
Mam taki skrypt:
command /boss:
trigger:
if player has permission "skrypt.kopanie":
spawn 1 zombie at player
set the last spawned entity's max health to 300
heal last spawned entity
set name of spawned Zombie to "&c&lBOSS"
set helmet of the spawned Zombie to a 4610:0
set chestplate of the spawned Zombie to a 4605:0
set leggings of the spawned Zombie to a 4683:0
set boots of the spawned entity to a 4622:0
set tool of the spawned entity to a 4669:0
on damage:
if attacker is a player:
if victim is a zombie:
if name of victim is "&c&lBOSS":
if health of victim is between 200 and 100:
send "&cZabijcie ich moi słudzy" to attacker
else:
if health of victim is 50:
send "2" to attacker
Jak zrobić że gdy Boss ma 200 hp (około bo broń zadaje obrażenia u mnie 51.5, więc potrzebuję between) to obok atakującego coś się dzieje
Odnośnik do komentarza
https://skript.pl/temat/15903-akcje-przy-odpowiedniej-ilo%C5%9Bci-%C5%BCycia/Udostępnij na innych stronach
8 odpowiedzi na to pytanie
Rekomendowane odpowiedzi