Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #VENOM
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Venom III"
- victim is not a player:
- chance of 20%:
- remove poison from victim
- apply poison 2 to the victim for 7 seconds
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 20%:
- remove poison from victim
- apply poison 2 to the victim for 7 seconds
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Venom II"
- "%lore of attacker's tool%" does not contain "&7Venom III"
- victim is not a player:
- chance of 15%:
- remove poison from victim
- apply poison 1 to the victim for 5 seconds
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 15%:
- remove poison from victim
- apply poison 1 to the victim for 5 seconds
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Venom I"
- "%lore of attacker's tool%" does not contain "&7Venom II"
- victim is not a player:
- chance of 20%:
- remove poison from victim
- apply poison 1 to the victim for 3 seconds
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 20%:
- remove poison from the victim
- apply poison 1 to the victim for 3 seconds
- #WITHER
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Wither III"
- victim is not a player:
- chance of 20%:
- remove wither from the victim
- apply wither to the victim for 7 seconds
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 20:
- remove wither from the victim
- apply wither to the victim for 7 seconds
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Wither II"
- "%lore of attacker's tool%" does not contain "&7Wither III"
- victim is not a player:
- chance of 15%:
- remove wither from the victim
- apply wither to the victim for 5 seconds
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 15%:
- remove wither from the victim
- apply wither to the victim for 5 seconds
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Wither I"
- "%lore of attacker's tool%" does not contain "&7Wither II"
- victim is not a player:
- chance of 10%:
- remove wither from the victim
- apply wither to the victim for 3 seconds
- stop
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 10%:
- remove wither from the victim
- apply wither to the victim for 3 seconds
- #HEAVY HIT
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Heavy Hit IV"
- victim is not a player:
- chance of 17%:
- increase the damage by 14
- stop
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 17%:
- increase the damage by 14
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Heavy Hit III"
- victim is not a player:
- chance of 15%:
- increase the damage by 10
- stop
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 15%:
- increase the damage by 10
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Heavy Hit II"
- "%lore of attacker's tool%" does not contain "&7Heavy Hit III"
- victim is not a player:
- chance of 7%:
- increase the damage by 7
- stop
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 7%:
- increase the damage by 7
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Heavy Hit I"
- "%lore of attacker's tool%" does not contain "&7Heavy Hit II"
- victim is not a player:
- chance of 5%:
- increase the damage by 3
- stop
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 5%:
- increase the damage by 3
- #VAMPIRE
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Vampire II"
- #message "Pass 1" to attacker
- victim is not a player:
- chance of 35%:
- subtract 1 from the victim's health
- add 1 to the attacker's health
- stop
- #message "Pass 2" to attacker
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- #message "Pass 4" to attacker
- chance of 35%:
- subtract 1 from the victim's health
- add 1 to the attacker's health
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Vampire I"
- "%lore of attacker's tool%" does not contain "&7Vampire II"
- victim is not a player:
- chance of 15%:
- subtract 0.5 from the victim's health
- add 0.5 to the attacker's health
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 15%:
- subtract 0.5 from the victim's health
- add 0.5 to the attacker's health
- #FLAY
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Flay IV"
- victim is not a player:
- chance of 35%:
- wait 1 second
- subtract 2 from the victim's health
- wait 1 second
- subtract 2 from the victim's health
- wait 1 second
- subtract 2 from the victim's health
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 35%:
- wait 1 second
- subtract 2 from the victim's health
- wait 1 second
- subtract 2 from the victim's health
- wait 1 second
- subtract 2 from the victim's health
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Flay III"
- victim is not a player:
- chance of 25%:
- wait 1 second
- subtract 1.5 from the victim's health
- wait 1 second
- subtract 1.5 from the victim's health
- wait 1 second
- subtract 1.5 from the victim's health
- stop
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 25%:
- wait 1 second
- subtract 1.5 from the victim's health
- wait 1 second
- subtract 1.5 from the victim's health
- wait 1 second
- subtract 1.5 from the victim's health
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Flay II"
- "%lore of attacker's tool%" does not contain "&7Flay III"
- victim is not a player:
- chance of 15%:
- wait 1 second
- subtract 1 from the victim's health
- wait 1 second
- subtract 1 from the victim's health
- wait 1 second
- subtract 1 from the victim's health
- stop
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 15%:
- wait 1 second
- subtract 1 from the victim's health
- wait 1 second
- subtract 1 from the victim's health
- wait 1 second
- subtract 1 from the victim's health
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Flay I"
- "%lore of attacker's tool%" does not contain "&7Flay II"
- victim is not a player:
- chance of 10%:
- wait 1 second
- subtract 0.5 from the victim's health
- wait 1 second
- subtract 0.5 from the victim's health
- wait 1 second
- subtract 0.5 from the victim's health
- stop
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 10%:
- wait 1 second
- subtract 0.5 from the victim's health
- wait 1 second
- subtract 0.5 from the victim's health
- wait 1 second
- subtract 0.5 from the victim's health
- #ICE ASPECT
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Ice Aspect II"
- victim is not a player:
- chance of 20%:
- remove slowness from victim
- apply slowness 2 to the victim for 10 seconds
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 20%:
- remove slowness from victim
- apply slowness 2 to the victim for 10 seconds
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Ice Aspect I"
- "%lore of attacker's tool%" does not contain "&7Ice Aspect II"
- victim is not a player:
- chance of 12%:
- remove slowness from victim
- apply slowness 1 to the victim for 10 seconds
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 12%:
- remove slowness from victim
- apply slowness 1 to the victim for 10 seconds
- #DISORIENT
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Disorient III"
- victim is not a player:
- chance of 20%:
- remove nausea from victim
- apply nausea to the victim for 15 seconds
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 20%:
- remove nausea from victim
- apply nausea to the victim for 15 seconds
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Disorient II"
- "%lore of attacker's tool%" does not contain "&7Disorient III"
- victim is not a player:
- chance of 15%:
- remove nausea from victim
- apply nausea to the victim for 10 seconds
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 15%:
- remove nausea from victim
- apply nausea to the victim for 10 seconds
- on damage:
- attacker's tool is a sword
- "%lore of attacker's tool%" contains "&7Disorient I"
- "%lore of attacker's tool%" does not contain "&7Disorient II"
- victim is not a player:
- chance of 10%:
- remove nausea from victim
- apply nausea to the victim for 5 seconds
- stop
- if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
- {sk::e::%attacker%::Faction} is not "<none>" or "none"
- {sk::e::%victim%::Faction} is not "<none>" or "none"
- stop
- else:
- chance of 10%:
- remove nausea from victim
- apply nausea to the victim for 5 seconds
- # Xp steal
- on damage:
- if victim is a player:
- if attacker is holding a sword:
- if lore of attacker's tool contains "&7Xp Steal I":
- chance of 12.5%:
- set {_xp} to the victim's level
- set {_xp} to floor({_xp}/10)
- set {_xp} to {_xp} parsed as an integer
- increase the attacker's level by {_xp}
- reduce the victim's level by {_xp}
- else if lore of attacker's tool contains "&7Xp Steal II":
- chance of 25%:
- set {_xp} to the victim's level
- set {_xp} to floor({_xp}/5)
- set {_xp} to {_xp} parsed as an integer
- increase the attacker's level by {_xp}
- reduce the victim's level by {_xp}
- send message "hello" to attacker
- command /gsword:
- permission: op
- trigger:
- give player 1 sword of sharpness 12902374
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement