Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {current} = 0
- {dc} = false
- command /enabledc:
- permission:skript.op
- trigger:
- set {dc} to true
- broadcast "<bold><orange>Damage Cycle has been enabled"
- set {current} to a random integer between 1 and 10
- command /disabledc:
- permission:skript.op
- trigger:
- broadcast "<bold><orange>Damage Cycle has been disabled"
- set {dc} to false
- every 5 minutes:
- if {dc} is true:
- set {current} to a random integer between 1 and 10
- if {current} is 1:
- broadcast "<orange><bold>Damage Cycle has been swapped to skeletons!"
- broadcast "<orange><bold>All damage from skeletons will now OHKO you!"
- if {current} is 2:
- broadcast "<orange><bold>Damage Cycle has been swapped to fall damage!"
- broadcast "<orange><bold>All fall damage will now OHKO you!"
- if {current} is 3:
- broadcast "<orange><bold>Damage Cycle has been swapped to zombies!"
- broadcast "<orange><bold>All damage from zombies and zombie pigmen will now OHKO you!"
- if {current} is 4:
- broadcast "<orange><bold>Damage Cycle has been swapped to side effects!"
- broadcast "<orange><bold>All potion and poison damage will now OHKO you!"
- if {current} is 5:
- broadcast "<orange><bold>Damage Cycle has been swapped to spiders!"
- broadcast "<orange><bold>All damage from spiders and cave spiders will now OHKO you!"
- if {current} is 6:
- broadcast "<orange><bold>Damage Cycle has been swapped to explosions!"
- broadcast "<orange><bold>All damage from explosions will now OHKO you!"
- if {current} is 7:
- broadcast "<orange><bold>Damage Cycle has been swapped to suffocation!"
- broadcast "<orange><bold>All damage from suffocation will now OHKO you!"
- if {current} is 8:
- broadcast "<orange><bold>Damage Cycle has been swapped to stupidity!"
- broadcast "<orange><bold>All damage from drowning, cacti, and starvation will now OHKO you!"
- if {current} is 9:
- broadcast "<orange><bold>Damage Cycle has been swapped to endermen and silverfish!"
- broadcast "<orange><bold>All damage from endermen and silverfish will now OHKO you!"
- if {current} is 10:
- broadcast "<orange><bold>Damage Cycle has been swapped to wolves!"
- broadcast "<orange><bold>All damage from wolves will now OHKO you!"
- on damage of a player:
- if {dc} is true:
- if {current} is 1:
- attacker is a skeleton
- damage victim by 200 hearts
- if {current} is 2:
- damage is caused by fall
- damage victim by 200 hearts
- if {current} is 3:
- attacker is a zombie or zombie pigman
- damage victim by 200 hearts
- if {current} is 4:
- if damage is caused by potion:
- damage victim by 200 hearts
- if damage is caused by poison:
- damage victim by 200 hearts
- if {current} is 5:
- attacker is a spider or cave spider
- damage victim by 200 hearts
- if {current} is 6:
- if attacker is a creeper or ghast:
- damage victim by 200 hearts
- if damage is caused by block explosion or entity explosion:
- damage victim by 200 hearts
- if {current} is 7:
- damage is caused by suffocation
- damage victim by 200 hearts
- if {current} is 8:
- damage is caused by thorns, drowning or starvation
- damage victim by 200 hearts
- if {current} is 9:
- attacker is a enderman or silverfish
- damage victim by 200 hearts
- if {current} is 10:
- attacker is a wolf
- damage victim by 200 hearts
Advertisement
Add Comment
Please, Sign In to add comment