Guest User

Untitled

a guest
Oct 16th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. ;=========================================
  2. ;FastPVP
  3. ;Version: 0.1 BETA
  4. ;By MageJackson
  5. ;Created on EasyUO 1.5 Version 196
  6. ;=========================================
  7.  
  8. ;Declarando variáveis
  9. LinesPerCycle 1000
  10. event sysmessage Iniciando a declaracao de variaveis...
  11. set %keyrecall Alt ;Este botão pode ser mudado para qualquer outro
  12. set %band
  13. set %potstam
  14. set %potmana
  15. set %potgh
  16. set %rune
  17. set %poisonenemy #FALSE ;Se colocado como #TRUE depois de você ser curado do poison o macro irá posionar quem fez isto.
  18. event sysmessage Declaracao de variaveis feita com sucesso!
  19. wait 2s
  20. event sysmessage Nao divulgue este macro! Key para recall: %keyrecall
  21. event sysmessage Lembre-se de deixar seu jornal e barra de status abertos...
  22. ;Fim da declaração de variáveis
  23.  
  24. ;Linhas principais
  25. inicio:
  26. scanjournal 1
  27. gosub checkpoison
  28. gosub checkstam
  29. gosub checkfs
  30. gosub checkhp
  31. gosub checkmana
  32. goto inicio
  33.  
  34. ;Checa se o personagem está poisonado.
  35. sub checkpoison
  36. If #CHARID =
  37. {
  38. event macro 15 10
  39. target
  40. event macro 23 0
  41. wait 10
  42. set %pois yes
  43. }
  44. If %pois = yes
  45. {
  46. event macro 15 19
  47. target
  48. event macro 22 0
  49. wait 10
  50. set %pois no
  51. }
  52. return
  53.  
  54. ;Checa a stamina se estiver abaixo de 15 usa uma pot de refresh.
  55. sub checkstam
  56. If #stamina < 15
  57. {
  58. finditem %potstam
  59. set #lObjectID #FindID
  60. event macro 17 0
  61. wait 10
  62. }
  63. return
  64.  
  65. ;Se o macro detecta um FS no jornal automaticamente irá disturba-lo com um Magic Arrow.
  66. sub checkfs
  67. scanjournal 1
  68. If Kal_vas_flam in #Journal
  69. {
  70. event macro 15 4
  71. target
  72. event macro 22 0
  73. wait 10
  74. }
  75. return
  76.  
  77. ;Checa se a vida está abaixo de 100 e usa bandagem, se estiver abaixo de 50 usa pot de GH.
  78. sub checkhp
  79. If %curado = yes
  80. {
  81. wait 40
  82. set %curado no
  83. return
  84. }
  85. If #hits < 99
  86. {
  87. finditem %band
  88. set #lObjectID #FindID
  89. event macro 17 0
  90. target
  91. event macro 23 0
  92. set %curado yes
  93. wait 10
  94. )
  95. If #hits < 50
  96. {
  97. finditem %potgh
  98. set #lObjectID #FindID
  99. event macro 17 0
  100. set %curado yes
  101. wait 10
  102. }
  103. return
  104.  
  105. ;Se a mana estiver abaixo de 60 usa pot de mana.
  106. sub checkmana
  107. If #mana < 60
  108. {
  109. finditem %potmana
  110. set #lObjectID #FindID
  111. event macro 17 0
  112. wait 10
  113. }
  114. return
Add Comment
Please, Sign In to add comment