Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Poszukuje] Combo bota


Przemo240

Rekomendowane odpowiedzi

Opublikowano

A więc poszukuje combo bota pod tibie 10.40 , mam xeno ale ustawiam i cos nie bije sam z sd np , chyba że ktoś przedstawi obrazkowo jak ustawic w tych opcjach . 

Oraz poszukuje skrypta który będzie leczył exura sio danego gracza jak mu spadnie hp ;)

Kocham mpcforum.pl!!!

18706.png

Pasjonat
Opublikowano

Co do exura sio to łap taką zaawansowaną wersję:

 

 

local config = {
    mana = 5500,                -- Mana without Monsters
    selfSio = 50,               -- Hp% to Sio Self
    selfGran = 75,              -- Hp% to Gran
    selfExura = 90,             -- Hp% to Exura
    lowSioPerc = 50,            -- Hp% for safe Sio
    sioPerc = 75,               -- Hp% for Sio
    massPerc = 80,              -- Hp% for Mass
    enableMass = false,         -- Do you want gran mas res?
    massAmount = 2,             -- minimum # of ppl healed with Mass
    D_MIN = 75,             -- MinDelay for Self Heal
    D_MAX = 125,                -- MaxDelay for Self Heal
    S_MIN = 25,                 -- MinDelay for Heal
    S_MAX = 75,                 -- MaxDelay for Heal
    -- Sio List
    list = {'Name1', 'Name2', 'Name3'}
}
 
--[[ !! Do NOT edit anything below this line !! ]]--
 
function sendList()
    local t = config.list
    local s = ''
    if #t ~= 0 then
        s = "This script will heal "
        for i=1,#t-1 do
            s = s .. t[i] .. ", "
        end
        s = s .. t[#t]
        if config.enableMass then
            s = s .. ' and will massheal ' .. config.massAmount .. ' or more people.'
        else
            s = s .. ' and will not massheal.'
        end
    else
        s = "This script will not sio because the list is empty"
        if config.enableMass then
            s = s .. ' and will massheal ' .. config.massAmount .. ' or more people.'
        else
            s = s .. ' and will not massheal.'
        end
    end
    smartHealLog:SendOrangeMessage('AndroScript',s)
end
 
function onCommand(channel, m)
    channel:SendYellowMessage(Self:Name(), m)
    if string.find(m, '/add') then
        table.insert(config.list, m:sub(6))
        sendList()
    elseif string.find(m, '/remove') then
        for i, v in ipairs(config.list) do
            if v == m:sub(9) then
                table.remove(config.list, i)
            end
        end
        sendList()
    elseif string.find(m, '/list') then
        sendList()
    elseif string.find(m, '/massHeal') then
        if (config.enableMass) then
            config.enableMass = false
        else
            config.enableMass = true
        end
        sendList()
    elseif string.find(m, '/massNumber') then
        config.massAmount = tonumber(m:sub(13)) or config.massAmount
        sendList()
    elseif string.find(m, '/find') then
        if(table.contains(config.list, m:sub(7))) then
            channel:SendOrangeMessage('AndroScript', m:sub(7) .. ' has been found.')
        else
            channel:SendOrangeMessage('AndroScript', m:sub(7) .. ' has NOT been found.')
        end
    elseif string.find(m, '/close') then
        canClose = true
        channel:SendOrangeMessage('AndroScript','The channel may now be closed.')
    else
        channel:SendOrangeMessage('AndroScript', 'Commands are:\n/add name\n/remove name\n/find name\n/massHeal\n/massNumber #\n/list\n/close')
    end
end
 
function onClose(channel)
    if not canClose then
        smartHealLog = Channel.New('Smart Healer', onCommand, onClose)
        smartHealLog:SendOrangeMessage('AndroScript', 'Please do not close this channel!')
    end
end
 
local function massHeal()
    local massCount = 0
    local hpperc = Self.Health() / Self.MaxHealth() * 100
    if (hpperc < config.massPerc) then
        massCount = massCount + 1
    end
    for i in Creature.iPlayers(3) do
        local creature = Creature.New(i)
        local delta = math.abs(Self.Position().x - creature:Position().x) + math.abs(Self.Position().y - creature:Position().y)
        if (delta < 5 and creature:HealthPercent() < config.massPerc) then
            massCount = massCount + 1
        end
        if (massCount >= config.massAmount and Self.GetSpellCooldown('exura') and Self.Mana() > 150) then
            return true
        end
    end
end
 
local function sio(chpperc)
    chpperc = chpperc or config.sioPerc
    for i in Creature.iPlayers() do
        local creature = Creature.New(i)
        if (table.contains(config.list, creature:Name()) and creature:HealthPercent() < chpperc and creature:isVisible() and Self.Mana() > 140 and Self.GetSpellCooldown('exura')) then
            return creature:Name()
        end
    end
end
 
function druidHeal()
    local hpperc = Self.Health() / Self.MaxHealth() * 100
    local tosio = Self.Name()
    -- Exura Sio Self
    if (hpperc <= config.selfSio and Self.Mana() >= 140 and Self.GetSpellCooldown('exura')) then
        wait(config.D_MIN,config.D_MAX)
        Self.Cast('exura sio "' .. Self.Name(), 140)
    -- Exura Sio Low Hp
    elseif (sio(config.lowSioPerc)) then
        tosio = sio(config.lowSioPerc) or tosio
        wait(config.S_MIN,config.S_MAX)
        Self.Cast('exura sio "' .. tosio, 140)
    ---[[ Exura Gran Mas Res
        elseif (config.enableMass and massHeal()) then
        wait(config.S_MIN,config.S_MAX)
        Self.Cast('exura gran mas res', 150)
    --]]
    -- Exura Gran Self
    elseif (hpperc <= config.selfGran and Self.Mana() >= 70 and Self.GetSpellCooldown('exura')) then
        wait(config.D_MIN,config.D_MAX)
        Self.Cast('exura gran', 70)
    -- Exura Sio High Hp       
    elseif (sio(config.sioPerc)) then
        tosio = sio(config.sioPerc) or tosio
        wait(config.S_MIN,config.S_MAX)
        Self.Cast('exura sio "' .. tosio, 140)
    -- Exura Self
    elseif (hpperc <= config.selfExura and Self.Mana() >= 20 and Self.PartyStatus() == 0 and Self.GetSpellCooldown('exura')) then
        wait(config.D_MIN,config.D_MAX)
        Self.Cast('exura', 20)
    end
end
 
function lowMana()
    local monsterCount = 0
    if (Self.Mana() < 160 and Self.ItemCount(238) > 0 and Self.Level() > 80) then
        wait(config.D_MIN,config.D_MAX)
        Self.UseItemWithMe(238)
    elseif (Self.Mana() < 160 and Self.ItemCount(237) > 0 and Self.Level() > 50) then
        wait(config.D_MIN,config.D_MAX)
        Self.UseItemWithMe(237)
    elseif (Self.Mana() < 160 and Self.ItemCount(268) > 0) then
        wait(config.D_MIN,config.D_MAX)
        Self.UseItemWithMe(268)
    end
    for i in Creature.iMonsters() do
        monsterCount = monsterCount + 1
    end
    if (monsterCount == 0 and Self.Mana() < config.mana) then
        wait(config.D_MIN,config.D_MAX)
        if (Self.ItemCount(238) > 0 and Self.Level() > 80) then
            Self.UseItemWithMe(238)
        elseif (Self.ItemCount(237) > 0 and Self.Level() > 50) then
            Self.UseItemWithMe(237)
        elseif (Self.ItemCount(268) > 0) then
            Self.UseItemWithMe(268)
        end
        Module('lowMana'):Delay(1250)
    end
end
 
local function init()
    smartHealLog = Channel.New('Smart Healer', onCommand, onClose)
    smartHealLog:SendOrangeMessage('AndroScript', 'Smart healing enabled!')
    sendList()
end
 
local druidHealModule = Module.New('druidHeal', druidHeal)
local lowManaModule = Module.New('lowMana', lowMana)
 
init()
A co do combobota to jedyne słuszne wyjście to kupić MageBota.
:)

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...