Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command bossevent:
- permission: dupa.bossevent
- trigger:
- loop all entities:
- if "%displayname of loop-entity%" contains "&cBOSS GIANT":
- kill loop-entity
- set {_loc} to random element out of {bossloc::*}
- spawn 1 giant at {_loc}
- set displayname of the last spawned entity to "&cBOSS GIANT"
- set the last spawned entity's max health to 1000
- set helmet slot of the last spawned entity to diamond helmet of unbreaking 1 and protection 1
- equip the last spawned entity with a iron leggings of unbreaking 1 and protection 1
- heal the last spawned entity
- broadcast " &8&m--------------------&8[ &6Event BOSS &8]&m--------------------"
- broadcast "&c&l "
- broadcast "&c&l &e Na &6Ruinach&e pojawil sie &cGiant BOSS!"
- broadcast "&c&l &e Lapcie za miecze i wchodzcie wszyscy na &6/warp"
- broadcast " &8&m-----------------------------------------------------"
- stop
- every 2 hours:
- execute console command "bossevent"
- on damage of giant:
- if "%region at attacker%" contains "ruins":
- chance of 20%:
- poison the attacker for 4 seconds
- chance of 10%:
- ignite the attacker
- chance of 30%:
- apply slowness 1 to the attacker for 8 seconds
- chance of 15%:
- damage attacker by 1 heart
- chance of 20%:
- damage attacker by 2 heart
- chance of 2%:
- spawn 2 cave spider at victim
- chance of 1%:
- spawn 2 zombie at victim
- on death of giant:
- if "%region at victim%" contains "ruins":
- clear drops
- broadcast " &8&m--------------------&8[ &6Event BOSS &8]&m--------------------"
- broadcast "&c&l "
- broadcast "&c&l &cGiant Boss &azostał zabity przez &b%attacker%"
- broadcast " &8&m-----------------------------------------------------"
- execute console command "dajkrysztal %attacker% 15"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement