Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use rune on attack
#1
tried searching for it but couldn't find it, looking for a script that'll use rune on attack in replace of spells like this script right here



local MIN_HEALTH = 80 -- Min. health pc to cast spells. Only cast spells if your characters hp% is higher than this value.
local Monsters = {
    { Name = 'Rotworm', HpMin = 50, HpMax = 100, Spell = 'exori vis' }, -- Monster name, Hp min and max to cast spell and which spell.
    { Name = 'Evil Rotworm', HpMin = 20, HpMax = 100, Spell = 'exori flam' }, -- On this case, it will only cast spells when orc has hp% between 20 and 100%.
}
local attacked_creature = attacked()
if attacked_creature.id > 0 and hppc() >= MIN_HEALTH and cancast() then
    for _, monster in ipairs(Monsters) do
        if monster.Name:lower() == attacked_creature.name:lower() and attacked_creature.hppc >= monster.HpMin and attacked_creature.hppc <= monster.HpMax then
            cast(monster.Spell)
            wait(1000, 1300)
            break
        end

    end
end


but instead of exori vis or exori flam it uses runes instead
Reply

#2
local MIN_HEALTH = 80 -- Min. health pc to cast spells. Only cast spells if your characters hp% is higher than this value.
local Monsters = {
    { Name = 'Rotworm', HpMin = 50, HpMax = 100, Spell = 'exori vis' }, -- Monster name, Hp min and max to cast spell and which spell.
    { Name = 'Evil Rotworm', HpMin = 20, HpMax = 100, Rune = 'great fireball rune' }, -- On this case, it will only cast spells when orc has hp% between 20 and 100%.
}
local attacked_creature = attacked()
if attacked_creature.id > 0 and hppc() >= MIN_HEALTH and cancast() then
    for _, monster in ipairs(Monsters) do
        if monster.Name:lower() == attacked_creature.name:lower() and attacked_creature.hppc >= monster.HpMin and attacked_creature.hppc <= monster.HpMax then
            if monster.Spell ~= nil then
                cast(monster.Spell)
            elseif monster.Rune ~= nil then
                useitemoncreature(monster.Rune, attacked_creature.id)
            end
            wait(1000, 1300)
            break
        end
    end
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016