Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. variables:
  2. {arqueiro::*} = false
  3. {fireman::*} = false
  4. {minerador::*} = false
  5.  
  6. command /habilidades [<text>]:
  7. trigger:
  8. if arg 1 isn't set:
  9. send "&7&l>&c&l> &7&lHabilidades:"
  10. send "&cArqueiro &c>&7> &cChance de causar dano extra a cada flechada."
  11. send "&6Fireman &c>&7> &cNão recebe dano de fogo."
  12. send "&2Minerador &c>&7> &cReceba 1 coin a cada diamante minerado."
  13.  
  14. if arg 1 is "arqueiro":
  15. if {arqueiro::%player%} is false:
  16. if {fireman::%player%} is false:
  17. if {minerador::%player%} is false:
  18. send "&c>&7> &cVocê adiquiriu a habilidade &c&lArqueiro&c!"
  19. set {arqueiro::%player%} to true
  20.  
  21. if {arqueiro::%player%} is true:
  22. send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
  23.  
  24. if {fireman::%player%} is true:
  25. send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
  26.  
  27. if {minerador::%player%} is true:
  28. send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
  29.  
  30. if arg 1 is "fireman":
  31. if {arqueiro::%player%} is false:
  32. if {fireman::%player%} is false:
  33. if {minerador::%player%} is false:
  34. send "&c>&7> &cVocê adiquiriu a habilidade &6&lFireman&c!"
  35. set {fireman::%player%} to true
  36.  
  37. if {arqueiro::%player%} is true:
  38. send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
  39.  
  40. if {fireman::%player%} is true:
  41. send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
  42.  
  43. if {minerador::%player%} is true:
  44. send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
  45.  
  46. if arg 1 is "minerador":
  47. if {arqueiro::%player%} is false:
  48. if {fireman::%player%} is false:
  49. if {minerador::%player%} is false:
  50. send "&c>&7> &cVocê adiquiriu a habilidade &2&lMinerador&c!"
  51. set {minerador::%player%} to true
  52.  
  53. if {arqueiro::%player%} is true:
  54. send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
  55.  
  56. if {fireman::%player%} is true:
  57. send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
  58.  
  59. if {minerador::%player%} is true:
  60. send "&cVocê já possui uma habilidade, você só poderá trocar quando o servidor reiniciar."
  61.  
  62. on shoot:
  63. if {arqueiro::%shooter%} is true:
  64. damage victim by 1 hearts
  65.  
  66. on mine diamond ore:
  67. if {minerador::%player%} is true:
  68. add 1 to player's balance
  69.  
  70. on damage:
  71. if {fireman::%player%} is true:
  72. if damage was caused by lava, fire or burning:
  73. cancel event
  74.  
  75.  
  76. on script load:
  77. set {minerador::*} to false
  78. set {fireman::*} to false
  79. set {arqueiro::*} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement