Advertisement
Guest User

Untitled

a guest
Apr 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1.  
  2. command bossevent:
  3. permission: dupa.bossevent
  4. trigger:
  5. loop all entities:
  6. if "%displayname of loop-entity%" contains "&cBOSS GIANT":
  7. kill loop-entity
  8. set {_loc} to random element out of {bossloc::*}
  9. spawn 1 giant at {_loc}
  10. set displayname of the last spawned entity to "&cBOSS GIANT"
  11. set the last spawned entity's max health to 1000
  12. set helmet slot of the last spawned entity to diamond helmet of unbreaking 1 and protection 1
  13. equip the last spawned entity with a iron leggings of unbreaking 1 and protection 1
  14. heal the last spawned entity
  15. broadcast " &8&m--------------------&8[ &6Event BOSS &8]&m--------------------"
  16. broadcast "&c&l "
  17. broadcast "&c&l &e Na &6Ruinach&e pojawil sie &cGiant BOSS!"
  18. broadcast "&c&l &e Lapcie za miecze i wchodzcie wszyscy na &6/warp"
  19. broadcast " &8&m-----------------------------------------------------"
  20. stop
  21.  
  22. every 2 hours:
  23. execute console command "bossevent"
  24.  
  25. on damage of giant:
  26. if "%region at attacker%" contains "ruins":
  27. chance of 20%:
  28. poison the attacker for 4 seconds
  29. chance of 10%:
  30. ignite the attacker
  31. chance of 30%:
  32. apply slowness 1 to the attacker for 8 seconds
  33. chance of 15%:
  34. damage attacker by 1 heart
  35. chance of 20%:
  36. damage attacker by 2 heart
  37. chance of 2%:
  38. spawn 2 cave spider at victim
  39. chance of 1%:
  40. spawn 2 zombie at victim
  41.  
  42. on death of giant:
  43. if "%region at victim%" contains "ruins":
  44. clear drops
  45. broadcast " &8&m--------------------&8[ &6Event BOSS &8]&m--------------------"
  46. broadcast "&c&l "
  47. broadcast "&c&l &cGiant Boss &azostał zabity przez &b%attacker%"
  48. broadcast " &8&m-----------------------------------------------------"
  49. execute console command "dajkrysztal %attacker% 15"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement