Guest User

UHC Damage Cycle

a guest
Mar 5th, 2014
524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. variables:
  2. {current} = 0
  3. {dc} = false
  4.  
  5. command /enabledc:
  6. permission:skript.op
  7. trigger:
  8. set {dc} to true
  9. broadcast "<bold><orange>Damage Cycle has been enabled"
  10. set {current} to a random integer between 1 and 10
  11. command /disabledc:
  12. permission:skript.op
  13. trigger:
  14. broadcast "<bold><orange>Damage Cycle has been disabled"
  15. set {dc} to false
  16. every 5 minutes:
  17. if {dc} is true:
  18. set {current} to a random integer between 1 and 10
  19. if {current} is 1:
  20. broadcast "<orange><bold>Damage Cycle has been swapped to skeletons!"
  21. broadcast "<orange><bold>All damage from skeletons will now OHKO you!"
  22. if {current} is 2:
  23. broadcast "<orange><bold>Damage Cycle has been swapped to fall damage!"
  24. broadcast "<orange><bold>All fall damage will now OHKO you!"
  25. if {current} is 3:
  26. broadcast "<orange><bold>Damage Cycle has been swapped to zombies!"
  27. broadcast "<orange><bold>All damage from zombies and zombie pigmen will now OHKO you!"
  28. if {current} is 4:
  29. broadcast "<orange><bold>Damage Cycle has been swapped to side effects!"
  30. broadcast "<orange><bold>All potion and poison damage will now OHKO you!"
  31. if {current} is 5:
  32. broadcast "<orange><bold>Damage Cycle has been swapped to spiders!"
  33. broadcast "<orange><bold>All damage from spiders and cave spiders will now OHKO you!"
  34. if {current} is 6:
  35. broadcast "<orange><bold>Damage Cycle has been swapped to explosions!"
  36. broadcast "<orange><bold>All damage from explosions will now OHKO you!"
  37. if {current} is 7:
  38. broadcast "<orange><bold>Damage Cycle has been swapped to suffocation!"
  39. broadcast "<orange><bold>All damage from suffocation will now OHKO you!"
  40. if {current} is 8:
  41. broadcast "<orange><bold>Damage Cycle has been swapped to stupidity!"
  42. broadcast "<orange><bold>All damage from drowning, cacti, and starvation will now OHKO you!"
  43. if {current} is 9:
  44. broadcast "<orange><bold>Damage Cycle has been swapped to endermen and silverfish!"
  45. broadcast "<orange><bold>All damage from endermen and silverfish will now OHKO you!"
  46. if {current} is 10:
  47. broadcast "<orange><bold>Damage Cycle has been swapped to wolves!"
  48. broadcast "<orange><bold>All damage from wolves will now OHKO you!"
  49.  
  50. on damage of a player:
  51. if {dc} is true:
  52. if {current} is 1:
  53. attacker is a skeleton
  54. damage victim by 200 hearts
  55. if {current} is 2:
  56. damage is caused by fall
  57. damage victim by 200 hearts
  58. if {current} is 3:
  59. attacker is a zombie or zombie pigman
  60. damage victim by 200 hearts
  61. if {current} is 4:
  62. if damage is caused by potion:
  63. damage victim by 200 hearts
  64. if damage is caused by poison:
  65. damage victim by 200 hearts
  66. if {current} is 5:
  67. attacker is a spider or cave spider
  68. damage victim by 200 hearts
  69. if {current} is 6:
  70. if attacker is a creeper or ghast:
  71. damage victim by 200 hearts
  72. if damage is caused by block explosion or entity explosion:
  73. damage victim by 200 hearts
  74. if {current} is 7:
  75. damage is caused by suffocation
  76. damage victim by 200 hearts
  77. if {current} is 8:
  78. damage is caused by thorns, drowning or starvation
  79. damage victim by 200 hearts
  80. if {current} is 9:
  81. attacker is a enderman or silverfish
  82. damage victim by 200 hearts
  83. if {current} is 10:
  84. attacker is a wolf
  85. damage victim by 200 hearts
Advertisement
Add Comment
Please, Sign In to add comment