Results 1 to 5 of 5

Thread: Ajuda a entender essa action de soft, please

  1. #1
    Normal User duca1010's Avatar
    Join Date
    Sep 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    20
    Rep Power
    4

    Ajuda a entender essa action de soft, please

    --[[
    Action Name: Soft Boots Changer
    Author: Y4rR0 from IMBAscripts
    Version: 1.0
    ]]--
    local minReqVal = {61, 70}
    local maxReqVal = {95, 98}
    local softInUseId = 3549
    local softId = 6529
    local softWornId = 6530
    local otherBootsId = itemid(otherBoots)
    local otherBootsCount = itemcount(otherBootsId)
    local minRandom = math.random(minReqVal[1], minReqVal[2])
    local maxRandom = math.random(maxReqVal[1], maxReqVal[2])
    ----<< CODE, DONT EDIT >>----
    if ((mppc <= minRandom) and (not pzone) and (boots ~= softInUseId) and (itemcount(softId) > 0)) then
    moveitems(softId, "all", "boots", 1)
    wait(1000, 1100)
    elseif ((mppc >= maxRandom) or (pzone) or (boots == softWornId)) then
    if ((otherBootsCount > 0) and ((boots == softInUseId) or (boots == softWornId))) then
    moveitems(otherBootsId, "all", "boots", 1)
    wait(1000, 1100)
    elseif ((otherBootsCount == 0) and (boots == softInUseId)) then
    moveitems(softInUseId, "boots", mainBp, 1)
    wait(1000, 1100)
    elseif ((otherBootsCount == 0) and (boots == softWornId)) then
    moveitems(softWornId, "boots", mainBp, 1)
    wait(1000, 1100)
    end
    end




    Tipo nao entendi direito ela, alguem pode me ajudar por exemplo aonde eu defino quanto de mana para colocar e quanto para tirar e botar a boh

    please...

  2. #2
    iBot User
    Join Date
    Jun 2012
    Posts
    707
    Mentioned
    22 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    72 Post(s)
    Reputation
    43
    Rep Power
    6
    creio que aki
    local minReqVal = {61, 70}
    local maxReqVal = {95, 98}

    se nao der usa essa:
    Code:
    --[[
        Name: Soft Boots Changer
        Version: v1.0.0
        Status: Working
        Author: Sayild
    ]]--
    
    local mainBoots = 'boots of haste' -- your main boots
    local softName = 'soft boots' -- dont change
    local minToEquip = 80 -- % of mana for equip soft's
    
    -- // dont edit below this line
    
    local idSayild = itemid(softName)
    local idSayiild = itemid(mainBoots)
    
    if mppc > minToEquip or pzone then
        if boots ~= idSayiild then
            if itemcount(mainBoots) > 0 then
            wait(150)
                moveitems(mainBoots, 'all', 'boots', 1)
            end
        end
    end
    
    if mppc <= minToEquip and pzone == false then
        if boots ~= idSayild then
            if itemcount(softName) > 0 then
            wait(150)
                moveitems(softName, 'all', 'boots', 1)
            end
        end
    end
    obs: tem risco do bot jogar sua soft no chao acidentalmente.
    Sold EK 235 FOR MANUU
    Sold EK 234 FOR BADUREK
    Sold ED 220 FOR KKSECIA
    Sold EK 114+RP 93 FOR MANUU
    Sold 33kks FOR DAYLISE
    Sold ACC 57 DAYS VOUCHER LEXZINOS
    Sold 1.5kk for FACPPF
    Sold Ek 133 46 days voucher for PMartineli92
    Sold MS 171 22 days voucher for Zed Wb.

    Vendo contas com Voucher

  3. #3
    Normal User duca1010's Avatar
    Join Date
    Sep 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    20
    Rep Power
    4
    local minReqVal = {61, 70}
    local maxReqVal = {95, 98}

    sim mas nao entendi aonde está a definição, ou que atributo esse 61 , 70 representa..

    faça um exemplo de como alterar para eu entender please

  4. #4
    iBot User
    Join Date
    Jun 2012
    Posts
    707
    Mentioned
    22 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    72 Post(s)
    Reputation
    43
    Rep Power
    6
    Quote Originally Posted by duca1010 View Post
    local minReqVal = {61, 70}
    local maxReqVal = {95, 98}

    sim mas nao entendi aonde está a definição, ou que atributo esse 61 , 70 representa..

    faça um exemplo de como alterar para eu entender please
    acho q de 61 a 70% ele poe a soft.
    de 95 a 98% ele tira a soft.
    Sold EK 235 FOR MANUU
    Sold EK 234 FOR BADUREK
    Sold ED 220 FOR KKSECIA
    Sold EK 114+RP 93 FOR MANUU
    Sold 33kks FOR DAYLISE
    Sold ACC 57 DAYS VOUCHER LEXZINOS
    Sold 1.5kk for FACPPF
    Sold Ek 133 46 days voucher for PMartineli92
    Sold MS 171 22 days voucher for Zed Wb.

    Vendo contas com Voucher

  5. #5
    Normal User duca1010's Avatar
    Join Date
    Sep 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    20
    Rep Power
    4
    faz sentido!!! nao tinha pensado nisso... ainda mais por nao encontrar essa declaração de uso de % na chamada


    vlw acho que é isso mesmo

Posting Permissions

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