Jak zablokować drop eq które boss ma na sobie, bo "clear drops" nie działa. Proszę o pomoc.
Tutaj macie kod.
on rightclick on dispenser:
cancel event
if player is holding Paper named "&bTest":
teleport player to location at -1003, 17, -1073
spawn 1 zombie at location -1003, 17, -1070
set the last spawned entity's max health to 50
heal last spawned entity
set the spawned zombie's display name to "&4&lGoblin &2%spawned zombie's health%&9/&c%max health of last spawned entity%"
set helmet of the spawned zombie to a diamond helmet
set chestplate of the spawned zombie to a diamond chestplate
set leggings of the spawned zombie to a diamond leggings
set boots of the spawned zombie to a diamond boots
set tool of the spawned zombie to a diamond sword of sharpness 5
on damage of zombie:
name of victim contains "&4&lGoblin":
set name of victim to "&4&lGoblin &2%health of victim%&9/&c%max health of victim%"
on death of zombie:
name of victim contains "&4&lGoblin":
broadcast "&4%attacker% zabil Goblina !"
create a fake explosion at the victim
clear drops
wait 1 tick
Pytanie
Kleks1 0
Jak zablokować drop eq które boss ma na sobie, bo "clear drops" nie działa. Proszę o pomoc.
Tutaj macie kod.
on rightclick on dispenser:
cancel event
if player is holding Paper named "&bTest":
teleport player to location at -1003, 17, -1073
spawn 1 zombie at location -1003, 17, -1070
set the last spawned entity's max health to 50
heal last spawned entity
set the spawned zombie's display name to "&4&lGoblin &2%spawned zombie's health%&9/&c%max health of last spawned entity%"
set helmet of the spawned zombie to a diamond helmet
set chestplate of the spawned zombie to a diamond chestplate
set leggings of the spawned zombie to a diamond leggings
set boots of the spawned zombie to a diamond boots
set tool of the spawned zombie to a diamond sword of sharpness 5
on damage of zombie:
name of victim contains "&4&lGoblin":
set name of victim to "&4&lGoblin &2%health of victim%&9/&c%max health of victim%"
on death of zombie:
name of victim contains "&4&lGoblin":
broadcast "&4%attacker% zabil Goblina !"
create a fake explosion at the victim
clear drops
wait 1 tick
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi