Results 1 to 5 of 5

Thread: action chec mana e cap

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    action chec mana e cap

    ola to com probremas na action de checar mana e cap ta assim


    if cap < 20 and countitem("mana potion") < 20 then
    gotolabel("SairHunt")
    else
    gotolabel("DentroHunt")
    end


    o bot passa pela action como se nao estivesse lendo a action
    alguem me ajude

  2. #2
    iBot User mannarino's Avatar
    Join Date
    May 2012
    Location
    Rio de Janeiro
    Posts
    48
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    15
    Rep Power
    5
    testa essas aqui:

    actions - setup coloque:
    PHP Code:
    -- Potions Settings
    MPtype 
    "mana potion"
    MPmax 30
    MPmin 
    20
    MPprice 
    50

    -- Cap Settings
    CAPmin 
    20 
    no waypoint de check você coloca essa:
    PHP Code:
    wait(500)
    if (
    itemcount("mana potion") <= MPmin) or (cap CAPminthen
    gotolabel
    ('SairHunt')else
    gotolabel('DentroHunt')
    end 
    Mannarino Service Scripts and Help When Possible.


    If help, REP + me please
    Se ajudei, REP+ Por favor

    Mande-me uma Mp

  3. #3
    Banned
    Join Date
    Jul 2012
    Location
    Santa Cruz do Sul - RS
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    0
    O problema está na action, ela está ERRADA!.

    O correto é,

    Code:
    if cap < 20 or (itemcount("mana potion") < 20 then
    gotolabel("SairHunt")
    end

  4. #4
    Normal User
    Join Date
    Jun 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    nada fis das duas maneiras nao deu certo

  5. #5
    Normal User
    Join Date
    Jun 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    agora deu certo nao tava dando usei asim
    if cap > 20 and countitem("mana potion") > 20 then
    gotolabel("DentroHunt")
    else
    gotolabel("Sairhunt")
    end

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •