09-17-2021, 04:30 PM
Heal Summon with UH based on creature id
This script is useful when you are hunting with summons on places where there are same monsters than summons are.
So you just go to a place where only you and your summons shows up, there's no problem is a different monster is around. But if you are hunting with demon skeleton summon then the only demon skeletons that are on your screen must be your summons. Then run this script on console. It will print somethind like "id: 123968934", this number is your summon id. If you have two summons, it will print two ids. Save the ids and place on the second script.
Just place the summons ids on the table below and enable the script. So this script will check your summons life based on its id not name.
keywords: follow player, follow friend, follow bot, follow field, follow different floor, follow multifloor, follow flor
This script is useful when you are hunting with summons on places where there are same monsters than summons are.
So you just go to a place where only you and your summons shows up, there's no problem is a different monster is around. But if you are hunting with demon skeleton summon then the only demon skeletons that are on your screen must be your summons. Then run this script on console. It will print somethind like "id: 123968934", this number is your summon id. If you have two summons, it will print two ids. Save the ids and place on the second script.
local Summon = 'demon skeleton' -- Summon name
local Creatures = getcreatures('mfs')
for _, creature in ipairs(Creatures) do
if creature.name:lower() == Summon:lower() and creature.hppc <= Health_Heal then
print('id:', creature.id)
end
end
Just place the summons ids on the table below and enable the script. So this script will check your summons life based on its id not name.
local SUMMONS_IDS = { 123456789, 987654321 } -- Summon id
local Health_Heal = 30 -- Summons health % that it should use rune to heal.
local Rune_Heal = 'Intense Healing Rune' -- Rune name or id that should be used to heal monk.
local Creatures = getcreatures('mfs')
for _, creature in ipairs(Creatures) do
if table.find(SUMMONS_IDS, creature.id) ~= nil and creature.hppc <= Health_Heal then
useitemoncreature(Rune_Heal, creature.id)
wait(800, 1000)
break
end
end
keywords: follow player, follow friend, follow bot, follow field, follow different floor, follow multifloor, follow flor