Results 1 to 4 of 4

Thread: pedido Check duvida

  1. #1
    Premium User
    Join Date
    May 2013
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    pedido Check duvida

    uso essas confg pra mana e arrow, mais n estou consiguindo fazer um check na hunt, alguem me ajude

    MpType = "Strong mana potion"
    MinMana = 70 -- Min Mana to leave Hunt
    MaxMana = 250 -- Max Mana to Hunt

    AmmoType = "crystalline arrow" -- Prismatic Bolt or Crystalline Arrow
    AmmoMin = 400 -- Min Bolts/Arrow to leave
    AmmoMax = 1300 -- for hunt

    seria assim ?
    if weaponamount <= AmmoMin or MinMana(MpType) <= MinMana or cap <= CapToLeave then
    gotolabel("Refill")

  2. #2
    Premium User
    Join Date
    May 2013
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    ajudemmmmmmmmm me por favorrrrrr, + resp garantidoooooooo

  3. #3
    Normal User tinicius's Avatar
    Join Date
    Nov 2012
    Location
    Minas Gerais, Brazil.
    Posts
    457
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    38
    Rep Power
    5

    if itemcount(AmmoType) <= AmmoMin or itemcount(MpType) <= MinMana then
    gotolabel("Refill")
    else
    gotolabel(XXXX)
    end



    se preferir pode tirar esse "else gotolabel(xxxx)"
    do seu modo nao iria funcionar pq "weaponamount" só conta a munição da arma..
    If i helped you rep+


    Scripter
    Selling EK 410 w/ 87 days of voucher AND 390 ED w/ 6 days of voucher BOTH PVP
    Actions That You May Need Here!

  4. #4
    Premium User
    Join Date
    May 2013
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    valeu lek, deus abençoe

Posting Permissions

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