Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /boss [<text>]:
- trigger:
- if arg 1 is "spawn":
- set {boss.zycie} to 60000
- spawn wither skeleton at player
- set name of last spawned entity to "&4&o&lWladca Krwi"
- #USUN#equip last spawned entity with diamond helmet of protection 20 and unbreaking 3 and thorns 5 #usun "#USUN#" zeby boss nie zalozyl helmu
- #USUN#equip last spawned entity with diamond chestplate of protection 20 and unbreaking 3 and thorns 5 #usun "#USUN#" zeby boss nie zalozyl napiersnika
- #USUN#equip last spawned entity with diamond leggings of protection 20 and unbreaking 3 and thorns 5 #usun "#USUN#" zeby boss nie zalozyl spodni
- #USUN#equip last spawned entity with diamond boots of protection 20 and unbreaking 3 and thorns 5 #usun "#USUN#" zeby boss nie zalozyl botow
- set last spawned entity's held item to diamond sword of sharpness 15 and unbreaking 5 and fire aspect 5
- set last spawned entity's max health to 60000
- heal last spawned entity
- if arg 1 is "zabij":
- loop entities in radius 100 of player:
- loop-entity is wither skeleton
- loop-entity's name is "&4&o&lWladca Krwi"
- delete loop-entity
- send "&aZabito %loop-entity's name%"
- on damage:
- attacker is player
- set damage to damage * 100
- victim is wither skeleton
- victim's name is "&4&o&lWladca Krwi":
- set {_zycie} to victim's health / 60000
- display "%victim's name%" on bossbar with {_zycie} * 100 percent by 15 seconds for attacker
- send "%victim's health%" to attacker
- send "%{_zycie}%" to attacker
- if victim's health is less than {boss.zycie} - 1000:
- remove 1000 from {boss.zycie}
- loop 10 times:
- spawn baby zombie at victim
- equip last spawned entity with gold helmet of protection 15 and unbreaking 3
- spawn 10 of particle explode offset by 0.5, 1, 0.5 at victim's location
- set last spawned entity's held item to diamond sword of sharpness 8 and unbreaking 5
- set name of last spawned entity to "&4&o&lSluga Wladcy Krwi"
- set last spawned entity's max health to 250
- heal last spawned entity
- victim's health - damage is less or equal to 0:
- cancel event
- kill victim
- drop diamond helmet of protection 30 named "&a&oNagroda &4&oBossa" at victim
- drop diamond chestplate of protection 30 named "&a&oNagroda &4&oBossa" at victim
- drop diamond leggings of protection 30 named "&a&oNagroda &4&oBossa" at victim
- drop diamond boots of protection 30 named "&a&oNagroda &4&oBossa" at victim
- drop diamond sword of sharpness 30 and fire aspect 15 and unbreaking 5 named "&a&oNagroda &4&oBossa" at victim
- on damage:
- attacker is player
- victim is zombie
- victim's name is "&4&o&lSluga Wladcy Krwi":
- set {_zycie} to victim's health / 250
- send "%victim's health%" to attacker
- display "%victim's name%" on bossbar with {_zycie} * 100 percent by 15 seconds for attacker
- victim's health - damage is less or equal to 0:
- cancel event
- kill victim
Advertisement
Add Comment
Please, Sign In to add comment