Results 1 to 3 of 3

Thread: Ajuda com essa Action

  1. #1
    iBot User
    Join Date
    Dec 2012
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Exclamation Ajuda com essa Action

    Olá, essa action compra as Strong manas e Sd de um mage p voltar p hunt, 400 SMP e 50 SD.
    A minha dúvida é na parte (local sds = positive(25 - itemcount('sudden death rune')) * 108), pq ele sempre completa as SD deixando em 50. Gostaria q ele comprasse até fica com 100 e n estou sabendo onde alterar.
    Quem poder ajudar agradeço...

    Action:
    local mana = positive(manaamount - itemcount(mananame)) * manaprice
    local sds = positive(25 - itemcount('sudden death rune')) * 108
    local softs = positive(itemcount('worn soft boots')) * 10000
    local Total = mana + sds + softs + 5000

    say("hi")
    wait(1500,2500)
    npcsay("deposit all")
    wait(200,300)
    npcsay("yes")
    wait(200,300)

    if Total > 0 then
    npcsay("withdraw "..Total)
    wait(200,300)
    npcsay("yes")
    wait(200,300)
    npcsay("Balance")
    wait(200,300)
    end

  2. #2
    iBot User Ragekemi's Avatar
    Join Date
    Sep 2012
    Posts
    300
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    15
    Rep Power
    5
    na verdade essa action está settada para comprar 25 sds...
    PHP Code:
    local sds positive(25 itemcount('sudden death rune')) * 108
    .                   altere aqui 

  3. #3
    iBot User
    Join Date
    Dec 2012
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Não pow, se o char sai da cave com 10 SD ele compra 40 e deixa as 50, se sai com 21 compra 29 e deixa 50, sempre assim... qria q ele deixasse sempre 100 em vez das 50.

Posting Permissions

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