Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {arqueiro::*} = false
- {fireman::*} = false
- {minerador::*} = false
- command /habilidades [<text>]:
- trigger:
- if arg 1 isn't set:
- send "&7&l>&c&l> &7&lHabilidades:"
- send "&cArqueiro &c>&7> &cChance de causar dano extra a cada flechada."
- send "&6Fireman &c>&7> &cNão recebe dano de fogo."
- send "&2Minerador &c>&7> &cReceba 1 coin a cada diamante minerado."
- if arg 1 is "arqueiro":
- if {arqueiro::%player%} is false:
- if {fireman::%player%} is false:
- if {minerador::%player%} is false:
- send "&c>&7> &cVocê adiquiriu a habilidade &c&lArqueiro&c!"
- set {arqueiro::%player%} to true
- if {arqueiro::%player%} is true:
- send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
- if {fireman::%player%} is true:
- send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
- if {minerador::%player%} is true:
- send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
- if arg 1 is "fireman":
- if {arqueiro::%player%} is false:
- if {fireman::%player%} is false:
- if {minerador::%player%} is false:
- send "&c>&7> &cVocê adiquiriu a habilidade &6&lFireman&c!"
- set {fireman::%player%} to true
- if {arqueiro::%player%} is true:
- send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
- if {fireman::%player%} is true:
- send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
- if {minerador::%player%} is true:
- send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
- if arg 1 is "minerador":
- if {arqueiro::%player%} is false:
- if {fireman::%player%} is false:
- if {minerador::%player%} is false:
- send "&c>&7> &cVocê adiquiriu a habilidade &2&lMinerador&c!"
- set {minerador::%player%} to true
- if {arqueiro::%player%} is true:
- send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
- if {fireman::%player%} is true:
- send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
- if {minerador::%player%} is true:
- send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
- on shoot:
- if {arqueiro::%shooter%} is true:
- damage victim by 1 hearts
- on mine diamond ore:
- if {minerador::%player%} is true:
- add 1 to player's balance
- on damage:
- if {fireman::%player%} is true:
- if damage was caused by lava, fire or burning:
- cancel event
- on script load:
- set {minerador::*} to false
- set {fireman::*} to false
- set {arqueiro::*} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement