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:
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: