Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;=========================================
- ;FastPVP
- ;Version: 0.1 BETA
- ;By MageJackson
- ;Created on EasyUO 1.5 Version 196
- ;=========================================
- ;Declarando variáveis
- LinesPerCycle 1000
- event sysmessage Iniciando a declaracao de variaveis...
- set %keyrecall Alt ;Este botão pode ser mudado para qualquer outro
- set %band
- set %potstam
- set %potmana
- set %potgh
- set %rune
- set %poisonenemy #FALSE ;Se colocado como #TRUE depois de você ser curado do poison o macro irá posionar quem fez isto.
- event sysmessage Declaracao de variaveis feita com sucesso!
- wait 2s
- event sysmessage Nao divulgue este macro! Key para recall: %keyrecall
- event sysmessage Lembre-se de deixar seu jornal e barra de status abertos...
- ;Fim da declaração de variáveis
- ;Linhas principais
- inicio:
- scanjournal 1
- gosub checkpoison
- gosub checkstam
- gosub checkfs
- gosub checkhp
- gosub checkmana
- goto inicio
- ;Checa se o personagem está poisonado.
- sub checkpoison
- If #CHARID =
- {
- event macro 15 10
- target
- event macro 23 0
- wait 10
- set %pois yes
- }
- If %pois = yes
- {
- event macro 15 19
- target
- event macro 22 0
- wait 10
- set %pois no
- }
- return
- ;Checa a stamina se estiver abaixo de 15 usa uma pot de refresh.
- sub checkstam
- If #stamina < 15
- {
- finditem %potstam
- set #lObjectID #FindID
- event macro 17 0
- wait 10
- }
- return
- ;Se o macro detecta um FS no jornal automaticamente irá disturba-lo com um Magic Arrow.
- sub checkfs
- scanjournal 1
- If Kal_vas_flam in #Journal
- {
- event macro 15 4
- target
- event macro 22 0
- wait 10
- }
- return
- ;Checa se a vida está abaixo de 100 e usa bandagem, se estiver abaixo de 50 usa pot de GH.
- sub checkhp
- If %curado = yes
- {
- wait 40
- set %curado no
- return
- }
- If #hits < 99
- {
- finditem %band
- set #lObjectID #FindID
- event macro 17 0
- target
- event macro 23 0
- set %curado yes
- wait 10
- )
- If #hits < 50
- {
- finditem %potgh
- set #lObjectID #FindID
- event macro 17 0
- set %curado yes
- wait 10
- }
- return
- ;Se a mana estiver abaixo de 60 usa pot de mana.
- sub checkmana
- If #mana < 60
- {
- finditem %potmana
- set #lObjectID #FindID
- event macro 17 0
- wait 10
- }
- return
Add Comment
Please, Sign In to add comment