L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LF script Iss Doomcryer OOP healing
Author Message
exxolon Offline
Expired VIP Member
**

Posts: 4
Joined: Sep 2014
Reputation: 0
Version: 1.4.2.132
Post: #1
LF script Iss Doomcryer OOP healing

Please send me someone script for Iss Doomcryer OOP healing ??? Ty so much ...Blush
09-22-2014 08:13 AM
Find all posts by this user Quote this message in a reply
jokey Offline
Expired VIP Member
**

Posts: 13
Joined: Jun 2013
Reputation: 2
Version: 1.4.2.142
Post: #2
RE: LF script Iss Doomcryer OOP healing

Use and check for me Big Grin.
Add chars needs to buff in 3 list : LstWar (buff warrior), LstWiz (buff wizard), LstKni (buff knight). It's ok on my iss dominator.

Rep me if it's useful for u ^^!


Attached File(s)
.lua  6-Domi-Harmony-Test.lua (Size: 1.4 KB / Downloads: 83)
(This post was last modified: 09-22-2014 14:07 PM by jokey.)
09-22-2014 13:02 PM
Find all posts by this user Quote this message in a reply
exxolon Offline
Expired VIP Member
**

Posts: 4
Joined: Sep 2014
Reputation: 0
Version: 1.4.2.132
Post: #3
RE: LF script Iss Doomcryer OOP healing

Name for Iss write somewhere or not , and auto inv/leave is OK ? Only char for WAr or wiz or Kight is need ? Ty
09-22-2014 17:02 PM
Find all posts by this user Quote this message in a reply
jokey Offline
Expired VIP Member
**

Posts: 13
Joined: Jun 2013
Reputation: 2
Version: 1.4.2.142
Post: #4
RE: LF script Iss Doomcryer OOP healing

It's for ISS dominator so don't need pt and ISS name. Just run it on ISS.It can buff many char (in clan and 500 ranger).

See script and you know how to do!


Attached File(s)
.lua  6-Domi-Harmony.lua (Size: 1.5 KB / Downloads: 55)
(This post was last modified: 09-23-2014 12:28 PM by jokey.)
09-23-2014 12:20 PM
Find all posts by this user Quote this message in a reply
dumwian Offline
Seer of Hallate
*

Posts: 83
Joined: Aug 2013
Reputation: 13
Version: 1.4.2.142
Post: #5
RE: LF script Iss Doomcryer OOP healing

not saying it's bad script, I just think the op was looking for OOP heals not buffs, it's not the same thing.
09-23-2014 15:35 PM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version: 1.4.2.133
Post: #6
RE: LF script Iss Doomcryer OOP healing

    LUA Programming
ShowToClient("HEAL","OOP WYN HEAL ISS");
 
-- CONFIG --
CheckUser = "";	-- name
PetHealing = false;		-- enable pet heal
HPWhenHealMaster = 75;		-- Heal master percent
HPWhenHealPet = 70;		-- Heal pets
HealInRange =  900;		-- Range
HealSkillId = 11570;		-- Healing skill
 
FindUser = nil; 
HealSkill = GetSkills():FindById(HealSkillId);
 
 
 
function PetBelongs(pet)
	if CheckUser == pet:GetNickName() then
		return true;
	end;
	return false;
end;
 
 
-- MAIN LOOP --
repeat
	if(GetUserByName(CheckUser) == nil)then
		repeat
			Sleep(1000);
		until (GetUserByName(CheckUser) ~= nil);
			FindUser = GetUserByName(CheckUser);
 
	elseif(GetUserByName(CheckUser) ~= nil)then
		FindUser = GetUserByName(CheckUser);
	end;
	if PetHealing then
		pets = GetPetList();
		for pet in pets.list do
			if PetBelongs(pet) and (pet:GetHpPercent() <= HPWhenHealPet) and not pet:IsAlikeDeath() and (GetMe():GetRangeTo(pet) < HealInRange) and (HealSkill ~= nil) and (HealSkill:CanBeUsed()) then
				Target(pet);
				Sleep(200);
				UseSkill(HealSkillId);
				ClearTargets();
			end;
		end;
	Sleep(500);
	end;
	if(FindUser:GetHpPercent() < HPWhenHealMaster) and (GetMe():GetRangeTo(FindUser) < HealInRange) and (HealSkill ~= nil) and (HealSkill:CanBeUsed())then
		Target(FindUser);
		Sleep(200);
		UseSkill(HealSkillId);
		ClearTargets();
	end;
	Sleep(500);
 
until false;



    LUA Programming
WarriorHarmonyList = {""};
WizardHarmonyList = {""};
 
WarriorFrenzyId = 11596;					
WarriorFrenzySkill = GetSkills():FindById(WarriorFrenzyId);	
WizardFrenzyId = 11597;					
WizardFrenzySkill = GetSkills():FindById(WizardFrenzyId);	
 
 
function Search(user,list)
	for x,b in pairs(list) do
		if (user == b) then
			return true;
		end;
	end;
end;
 
 
repeat
 
	if (GetMe():IsAlikeDeath() == true)then
			Sleep(5*1000)
		repeat
			Sleep(1000);
		until (GetMe():IsAlikeDeath() == false);
	end;
 
 
playerlist = GetPlayerList();
	for player in playerlist.list do
		if player:GetDistance() < 900 then
			if player:GetClanName() == GetMe():GetClanName() then
			--	ShowToClient("Debugger","Checked "..player:GetName());
				if (Search(player:GetName(),WarriorHarmonyList)) then
					Target(player:GetId());
					if GetTarget() ~= nil and GetTarget():GotBuff(WarriorFrenzyId) == false and player:IsAlikeDeath() == false then
						if (WarriorFrenzySkill ~= nil) and (WarriorFrenzySkill:CanBeUsed()) and (WarriorFrenzySkill:IsSkillAvailable()) then
							UseSkillRaw(WarriorFrenzyId,false,false);
							--ShowToClient("Debugger","WarriorFrenzy Buff casted ON "..player:GetName());
							ClearTargets();
							Sleep(1000);
						end;
					end;
				end;
				if (Search(player:GetName(),WizardHarmonyList)) then
					Target(player:GetId());
					if GetTarget() ~= nil and GetTarget():GotBuff(WizardFrenzyId) == false  and player:IsAlikeDeath() == false then
						if (WizardFrenzySkill ~= nil) and (WizardFrenzySkill:CanBeUsed()) and (WizardFrenzySkill:IsSkillAvailable()) then
							UseSkillRaw(WizardFrenzyId,false,false);
							--ShowToClient("Debugger","WizardFrenzy Buff casted ON "..player:GetName());
							ClearTargets();
							Sleep(1000);
						end;
					end;
				end;
				Sleep(1000);
				ClearTargets();
			end;
		end;
	end;
Sleep(60*1000);
until false;


PUSH [Image: knUu53] IF HELPED
09-23-2014 15:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Doomcryer or Spectral dancer? or else? vito54 2 3,675 07-26-2014 21:16 PM
Last Post: capucine
  Trouble with pet healing lianx1 3 2,827 07-14-2014 20:40 PM
Last Post: tophersoccer
  ISS Healing OOP badjoras 2 3,785 07-05-2013 13:57 PM
Last Post: badjoras
Question Wynn+ Iss Healing mitonas 5 4,297 02-26-2013 19:19 PM
Last Post: capucine
  Problem whith healing Dncmike 1 2,279 01-14-2013 12:11 PM
Last Post: anderpr
  Iss healing Kramp 13 9,649 06-03-2012 09:09 AM
Last Post: Kramp
  Healing Delay MrGalun 1 3,549 05-19-2012 21:01 PM
Last Post: ambiance
  Healing bolas2000 0 2,322 01-16-2012 21:17 PM
Last Post: bolas2000
  Party-healing Bishop bot lolman 6 20,121 08-03-2011 21:18 PM
Last Post: lolman
  healing config wizofoz 3 4,775 07-19-2011 09:02 AM
Last Post: SiN



User(s) browsing this thread: 1 Guest(s)