ENTREGUE [Macro]Espada/Macho

Discussão em 'Macro Entregue' iniciado por GoshTimeBR, 24 Fevereiro 2017.

Status do Tópico:
Não esta aberto para novas mensagens.
  1. GoshTimeBR

    GoshTimeBR Neutro
    VIP

    Afiliado:
    28 Maio 2014
    Mensagens:
    47
    Curtidas Recebidas:
    3
    Curtiu:
    0
    Sexo:
    Masculino
    Cubos:
    311.00
    Nick:
    Coruja_BR
    O que esse macro faz: ele mata mobs, repara para baixo,Verifica se tem mob na frente, evitando end of stream.
    [hr]
    -Pode ser em qualquer home.
    -Na hotbar ficarão espada/machado e itens para repara.
    [hr]

    Macro
    $${
    if(up);
    log("&5[MACRO] &6Mata Mobs &4OFF");
    unset(up);
    stop;
    else;
    set(up);
    log("&5[MACRO] &6Mata Mobs &2ON");
    #dr=0;

    //..............................verefica item usado
    &i=%ITEM%;
    &espada="^276|267|272|268|283$";
    &machado="^279|258|275|271|286$";
    &d="^276|279$";&f="^267|258$";
    &p="^272|275$";&m="^268|271$";
    &o="^283|286$";
    ifmatches(%&i%,%&espada%);
    ifmatches(%&i%,%&d%);
    #dr=100;

    #d=85;
    endif;
    ifmatches(%&i%,%&f%);
    #dr=20;

    #d=10;
    endif;
    ifmatches(%&i%,%&o%);
    #dr=10;

    #d=5;
    endif;
    ifmatches(%&i%,%&p%);
    #dr=20;

    #d=10;
    endif;
    ifmatches(%&i%,%&m%);
    #dr=10;

    #d=5;
    endif;
    endif;
    ifmatches(%&i%,%&machado%);
    ifmatches(%&i%,%&d%);
    #dr=100;
    #d=85;
    endif;
    ifmatches(%&i%,%&f%);
    #dr=20;
    #d=10;
    endif;
    ifmatches(%&i%,%&o%);
    #dr=10;
    #d=5;
    endif;
    ifmatches(%&i%,%&p%);
    #dr=20;

    #d=10;
    endif;
    ifmatches(%&i%,%&m%);
    #dr=10;
    #d=5;
    endif;
    endif;

    if(%#dr%=0);
    log("&9[MACRO] &1Mata Mobs &4OFF");
    log("&9[MACRO] &1Reinicie o macro e pegue o item na mão!");
    unset(up);
    stop;
    endif;

    //..............................Pergunda se é vip
    &r=SIM,NAO;
    prompt(&time,$$[[%&r%]],"Vc é vip?");
    ifmatches(%&time%,"^SIM|sim$");
    #time=3;
    else;
    #time=6;
    endif;

    //..............................verefica pra onde esta olhando
    ifmatches(%DIRECTION%,N);
    &dir=NORTH;
    endif;
    ifmatches(%DIRECTION%,S);
    &dir=SOUTH;
    endif;
    ifmatches(%DIRECTION%,W);
    &dir=WEST;
    endif;
    ifmatches(%DIRECTION%,E);
    &dir=EAST;
    endif;
    }$$
    /pvp off
    $${
    #bau=1;
    #ver=1;
    do;

    //..............................Olhando e batendo
    look(%&dir%);
    look(,-24);
    pick(%&i%);
    if(%HIT%="ENTITY");
    key(attack);
    endif;
    inc(#ver);

    //..............................Verefica a Durability
    if(%DURABILITY%<%#dr%);

    if(%DURABILITY%<%#d%);
    log("&Verefique se vc tem condiçoes para reparar sua arma!");
    log("&3Espada/Machado Muito danificado");
    log("&9[MACRO] &1Mata Mobs &4OFF");
    unset(up);
    stop;
    endif;
    log("&5[MACRO]&6 Reparando...");
    look(+0,90);
    wait(100ms);
    do(3);
    key(use);
    loop;
    look(,-110);
    wait(500ms);
    endif;

    /home upmob
    $${endif;
    wait(1t);
    loop;
    endif;
    }$$

    -Macro editado desse aqui pois eles não guardava mais nos bau pois devido alguma alteração
     
Status do Tópico:
Não esta aberto para novas mensagens.