10-31-2015, 23:54 PM
Hi guys,
I'm playing on l2classic, I've been searching the forums on how to set up CP/HP/MP and Party Buffs and i did exactly what everyone told...but somehow it wont heal at all or buffs. The healer ONLY heal the one that is being targeted, it wont heal himself or the rest of the party b/c it wont target...ANY HELP IS GREATLY APPRECIATED!
p/s i found this script but when i run it in game it says error script not valid...
CharNameToHeal = "xxx";
CharNameToHeal = "xxx";
CharNameToHeal = "xxx";
HPWhenHeal = 73; -- HP%
HealInRange = 850; -- Max Range
HealSkillId = 11756; -- Panic Heal
ResSkillId = 11784; -- Blessed Resurrection
----------------------------------------------------------------
WhoToHeal = nil;
HealSkill = GetSkills():FindById(HealSkillId);
ResSkill = GetSkills():FindById(ResSkillId);
repeat
----------
PlayerList = GetPartyList();
for user in PlayerList.list do
if(user:GetHpPercent() < HPWhenHeal) and
(GetMe():GetRangeTo(user) < HealInRange) and
(HealSkill ~= nil) and (HealSkill:CanBeUsed())then
Target(user);
Sleep(500);
UseSkill(HealSkillId); -- Healing Melody
ClearTargets();
ClearTargets();
end;
--------------
for user in PlayerList.list do
if(user:IsAlikeDeath() == true) and
(GetMe():GetRangeTo(user) < HealInRange) and
(ResSkill ~= nil) and
(ResSkill:CanBeUsed()) then
Target(user);
Sleep(300);
UseSkillRaw(11784, false, false); -- Blessed Resurrection
Sleep(400);
ClearTargets();
Sleep(400);
end;
end;
end;
until false;
just use /recstart_skillname use ress + heal skill then /recstop... open file into script folder with name "skillname", there are your skill's ID.... copy and paste them on top of the script i just posted (and remember to change ress id here too:
LUA Programming
Sleep(300);
UseSkillRaw(11784, false, false); -- Blessed Resurrection
Sleep(400);
I'm playing on l2classic, I've been searching the forums on how to set up CP/HP/MP and Party Buffs and i did exactly what everyone told...but somehow it wont heal at all or buffs. The healer ONLY heal the one that is being targeted, it wont heal himself or the rest of the party b/c it wont target...ANY HELP IS GREATLY APPRECIATED!
p/s i found this script but when i run it in game it says error script not valid...
CharNameToHeal = "xxx";
CharNameToHeal = "xxx";
CharNameToHeal = "xxx";
HPWhenHeal = 73; -- HP%
HealInRange = 850; -- Max Range
HealSkillId = 11756; -- Panic Heal
ResSkillId = 11784; -- Blessed Resurrection
----------------------------------------------------------------
WhoToHeal = nil;
HealSkill = GetSkills():FindById(HealSkillId);
ResSkill = GetSkills():FindById(ResSkillId);
repeat
----------
PlayerList = GetPartyList();
for user in PlayerList.list do
if(user:GetHpPercent() < HPWhenHeal) and
(GetMe():GetRangeTo(user) < HealInRange) and
(HealSkill ~= nil) and (HealSkill:CanBeUsed())then
Target(user);
Sleep(500);
UseSkill(HealSkillId); -- Healing Melody
ClearTargets();
ClearTargets();
end;
--------------
for user in PlayerList.list do
if(user:IsAlikeDeath() == true) and
(GetMe():GetRangeTo(user) < HealInRange) and
(ResSkill ~= nil) and
(ResSkill:CanBeUsed()) then
Target(user);
Sleep(300);
UseSkillRaw(11784, false, false); -- Blessed Resurrection
Sleep(400);
ClearTargets();
Sleep(400);
end;
end;
end;
until false;
just use /recstart_skillname use ress + heal skill then /recstop... open file into script folder with name "skillname", there are your skill's ID.... copy and paste them on top of the script i just posted (and remember to change ress id here too:
LUA Programming
Sleep(300);
UseSkillRaw(11784, false, false); -- Blessed Resurrection
Sleep(400);