Results 1 to 5 of 5

Thread: Check Suplementos

  1. #1
    iBot User srjhon's Avatar
    Join Date
    Jun 2012
    Location
    Brasil
    Posts
    335
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5

    Check Suplementos

    Boa tarde, gostaria de uma action permanente que fizesse o char ir para tal waypoint

    Nesta action ele tinha que checar mana potions, brown mushroons, health potions e cap.

    Alguém me ajuda ?
    I'm back!

  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
    actions - setup
    Code:
    -- Setup
    
    
    -- Potions Settings
    MPtype = "mana potion"
    MPmax = 100
    MPmin = X
    MPprice = 50
    
    HPtype = "health potion"
    HPmax = 50
    HPmin = X
    HPprice = 190
    
    -- Cap Settings
    CAPmin = X
    
    -- Food Settings
    Mushmin = X
    troca os X pelos valores.

    waypoints - cria uma action e poe isso:
    HTML Code:
    wait(500)
    if (itemcount("mana potion") <= MPmin) or (itemcount("health potion") <= HPmin) or (cap < CAPmin) or (itemcount("Brown Mushroom") <= Mushmin) then
    gotolabel('leave')else
    gotolabel('go12')
    end
    testa ae
    Mannarino Service Scripts and Help When Possible.


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

    Mande-me uma Mp

  3. #3
    iBot User srjhon's Avatar
    Join Date
    Jun 2012
    Location
    Brasil
    Posts
    335
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    Pelo que eu vi vai dar certo, sabe fazer uma action que compro todos os itens ai postados ?

    Brown mush
    hp e mp ?
    I'm back!

  4. #4
    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
    Code:
    wait(1000)
    say("hi")
    wait(1000)
    npcsay("trade")
    wait(1000)
    buyitemsupto("health potion", X)
    wait(1000)
    buyitemsupto("mana potion", X)
    wait(1000)
    buyitemsupto("Brown Mushroom", x)
    wait(1000)
    abç
    Mannarino Service Scripts and Help When Possible.


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

    Mande-me uma Mp

  5. #5
    iBot User srjhon's Avatar
    Join Date
    Jun 2012
    Location
    Brasil
    Posts
    335
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    Obrigado, funcionou
    I'm back!

Posting Permissions

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