@
Orexx
YE put it in presistent and put it on "yes"
Im using it ALL THE TIME- it doesnt feel the mass ress cooldown.
i just put it into scripts and put yes on it. and then save.
someone helped me with making it feel the cooldown so it's working ALOT better.
Use this instead:
Code:
init start
local friends = {
{name = 'ekNAME', hppc = 89},
{name = 'ekNAME', hppc = 89},
-- you can delete or add friends by copying lines
}
local selfhppc = 75 -- % of your HP to mas res self (if enough people are in range), if your HP% is below will not sio friends.
local mininrange = 2 -- Atleast how many peope has to be in range of mas res to use it (including you only if your HP% is below selfhppc)
-- If theres no action to take it will run SPELL HEALER.
init end
auto(20,50)
local inrange = 0
local tosioname = nil
if $hppc <= selfhppc then
inrange = inrange + 1
end
foreach creature m 'pt' do
for k, v in ipairs(friends) do
if m.name == v.name and m.hppc <= v.hppc then
if tosioname == nil then
tosioname = m.name
end
if m.dist <=3 then
inrange = inrange + 1
end
end
end
end
if inrange >= mininrange then
if getsetting('SpellHealer/Enabled') == 'yes' then
setsetting('SpellHealer/Enabled', 'no')
end
if cancastspell('Mass Healing') then
cast('exura gran mas res')
else if $hppc <= selfhppc and cooldown('exura gran mas res') then
cast('exura vita')
end
end
return
end
if tosioname ~= nil and $hppc >= selfhppc then
if getsetting('SpellHealer/Enabled') == 'yes' then
setsetting('SpellHealer/Enabled', 'no')
end
if cancastspell('Heal Friend') then
cast('exura sio "' .. tosioname)
end
return
end
if getsetting('SpellHealer/Enabled') == 'no' then
setsetting('SpellHealer/Enabled', 'yes')
end
It's the same but with a cooldown checker on mas res.