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
exori on monster when hp<%
#1
How do i add on exori script the condition to use spell when the creature is lowhp?
added lua function to check monsters HP but its not working
anyone knows how to fix ?

local Monsters = { 'Dragon Lord', 'Dragon' } -- Monsters to kill
local SafeList = { 'Mrcn', 'CM Guido' } -- Your safelist
local MinMonsters = 2 -- Min. count to cast exori.
local SafeHealth = 50 -- Only if your HP % is higher or equal to this valaue.
local CheckPlayers = true -- Check for players? Not going to CAST SPELL if player on screen.
local CheckAllFloor = true -- Checks all floors for players?
local HP_finish = 30 -- Health % that it will finish the monster kill with spell

if hppc() >= SafeHealth and cancast() and maround(1, unpack(Monsters)) >= MinMonsters and monsters.hppc <= HP_finish then
    if not CheckPlayers or paroundignore(0, CheckAllFloor, unpack(SafeList)) == 0 then
        cast('exori')
        wait(1000, 1200)
    end
end[/font][/font]

credit to Arkilys exori script: 
|Only Registered members can see download links. | Click here to buy subscription or here to register.

#2
I need to know some details to make this script...

Do you wanna cast exori ONLY when any monster around you has low hp (but respecting the min. count) or just if the creature that you are attacking has low hp (but respecting the min. count)?

#3
- just if the creature that you are attacking has low hp (but respecting the min. count)
for most of the cases i'll use this config, because only at high level the other condition would be useful

#4
Script to exori if attacking creature has low hp% but respect min. count.
local Monsters = { 'Dragon Lord', 'Dragon' } -- Monsters to kill
local SafeList = { 'Mrcn', 'CM Guido' } -- Your safelist
local MinMonsters = 2 -- Min. count to cast exori.
local SafeHealth = 50 -- Only if your HP % is higher or equal to this valaue.
local CheckPlayers = true -- Check for players? Not going to CAST SPELL if player on screen.
local CheckAllFloor = true -- Checks all floors for players?
local HP_Monster = 30 -- Health % that it will finish the monster kill with spell

if hppc() >= SafeHealth and cancast() and maround(1, unpack(Monsters)) >= MinMonsters then
    local attacked_creature = attacked()
    if attacked_creature.id > 0 and attacked_creature.dist == 1 and attacked_creature.hppc <= HP_Monster and (not CheckPlayers or paroundignore(0, CheckAllFloor, unpack(SafeList)) == 0) then
        cast('exori')
        wait(1000, 1200)
    end
end

Script to use exori if a monster around you has low hp but respecting min. count.
local Monsters = { 'Dragon Lord', 'Dragon' } -- Monsters to kill
local SafeList = { 'Mrcn', 'CM Guido' } -- Your safelist
local MinMonsters = 2 -- Min. count to cast exori.
local SafeHealth = 50 -- Only if your HP % is higher or equal to this valaue.
local CheckPlayers = true -- Check for players? Not going to CAST SPELL if player on screen.
local CheckAllFloor = true -- Checks all floors for players?
local HP_Monster = 30 -- Health % that it will finish the monster kill with spell

if hppc() >= SafeHealth and cancast() then
    local MonsterCount = 0
    local MonsterLowHp = false
    local creatures = getcreatures('mfs')
    for _, monster in ipairs(creatures) do
        if monster.dist <= 1 and table.find(Monsters, monster.name) ~= nil then
            MonsterCount = MonsterCount + 1
            if monster.hppc <= HP_Monster then
                MonsterLowHp = true
            end
        end
    end

    if MonsterCount >= MinMonsters and MonsterLowHp and (not CheckPlayers or paroundignore(0, CheckAllFloor, unpack(SafeList)) == 0) then
        cast('exori')
        wait(1000, 1200)
    end
end



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016