init start
local friends = {
{name = 'Friend1', hppc = 90},
{name = 'Friend2', hppc = 30},
-- you can delete or add friends by copying lines
}
local selfhppc = 90 -- % 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')
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
edit1: fixed bug
Post feedback please also feel free to improve! It lacks checking if enough mana to cast spells. Also could be improved to sio player with least hp.
Found out LucasLib has massheal and sio functions, but anyway this might be usefull.
01-11-2014, 01:54 AM
RoxZin xD
Looks cool! I was thinking on how to do it :p nice job, +rep
01-11-2014, 03:54 AM
Raphael
Looks pretty cool, mate.
By the way, to check for mana and any other requirements for spells (soul points, cooldown, level, etc...) try using cancastspell from Lucas' lib.
01-13-2014, 01:52 AM
SweApa
omg i didnt see u created a thread with it. i hope this one doesnt give u an error code ! ima try it.
thanks.
Gonna rep u when i tried it.
01-13-2014, 01:18 PM
SweApa
Okey so i tested it now, all works awesome. !!
SOME improvements can be make, like mana check aswell as the
mass res is slower then your selfhealing cooldowns so between 2 mass ress u can fit 1 self heal if its needed between the cooldown.
01-13-2014, 02:54 PM
jakub
Thank you I didnt know that I will fix it when I got time ;)
01-14-2014, 12:37 AM
SweApa
Quote:
Originally Posted by jakub
Thank you I didnt know that I will fix it when I got time ;)
Thanks man! i love your work, with this EK'S nor i will never die !!!!!!!!! <333333333333
01-14-2014, 01:10 AM
pradenho
A question exists as to do without writing? Why are you hunting with hotkey, because this suddenly not Heal in exhausted
01-15-2014, 06:57 PM
SweApa
Plx update :D
01-16-2014, 12:20 PM
jakub
okay gonna check it now:)
EDIT: try if this work well (Can not test myself got no ED):
init start
local friends = {
{name = 'Friend1', hppc = 90},
{name = 'Friend2', hppc = 30},
-- you can delete or add friends by copying lines
}
local selfhppc = 90 -- % 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')
elseif cancastspell('Heal Friend') and tosioname ~= nil and $hppc >= selfhppc then
cast('exura sio "' .. tosioname)
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
If it work I will put it into first post
Leave feedback please
edit:
It wont self heal if mas res is cooldowned, it will sio. No self heal between mas res will be implemented today sory :/
01-18-2014, 02:58 AM
SweApa
Quote:
If it work I will put it into first post
Leave feedback please
edit:
It wont self heal if mas res is cooldowned, it will sio. No self heal between mas res will be implemented today sory :/[/FONT]
so what's new in this one and the first one?
Just died cuz it didnt self heal between mass res xDDDD really need it haha :D
Edit: i dont think u can sio between mass res.
This is almost perfect ! works so fucking good. almost PERFECT!
01-25-2014, 03:29 AM
SweApa
Quote:
Originally Posted by jakub
Thank you I didnt know that I will fix it when I got time ;)
Bump =)!
01-30-2014, 01:19 AM
SweApa
Sorry for spamming the thread man, but self.heal between Mass res CD is a must really. Then it's gonna be hardcore. i wont use the lastest script u made because u said it wont selfheal if mass res in on CD, it will sio, and that is just not good for me. i need it to selfheal first, then mass res, then sio if it's safe for both.
thank you man!
03-04-2014, 11:58 PM
Orexx
How is this persistent hotkey? anyone else try it?
03-05-2014, 02:17 AM
SweApa
@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. @bergvall 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.
03-05-2014, 04:34 PM
bergvall
Quote:
Originally Posted by SweApa
@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.
That was me! :)
06-07-2014, 10:22 PM
Fredrik
And if name have like this 'Knight Lord'Ace' ? it dont work with 'Knight lord~'
06-07-2014, 10:54 PM
mistgun
Quote:
Originally Posted by Fredrik
And if name have like this 'Knight Lord'Ace' ? it dont work with 'Knight lord~'
put this:
'Knight Lord\'Ace'
07-23-2014, 04:30 PM
Micose
I will check how it works hunting some Drakens at WOTE! :DD
09-11-2014, 02:23 PM
wybocenooba
i think its bad script it use only mas res when im 2 sqm next to EK and i have full hp and if am north west or something like that of ek bot still use mas res but not ek in rage
sorry for my bad eng and can someone do better script?
09-11-2014, 09:39 PM
wybocenooba
help :(
09-12-2014, 08:10 AM
wybocenooba
help help help help
09-12-2014, 08:14 AM
osiris ra
@wybocenooba did u hunt only whit knight? or whit other vocations? because fas as i know will cast mas res if there are some player from the party at 2 sqm of you if the player had certain % of life
09-12-2014, 10:53 AM
wybocenooba
im only with knight
but if im with knight and paladin should be mas res then sio and next mas res not mas res wait... and next mas res