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
Good party with Ertheia ( Eviscerator)
Author Message
capucine Offline
Expired VIP Member
**

Posts: 1,083
Joined: Jan 2013
Reputation: 208
Version: 1.4.2.142
Post: #11
RE: Good party with Ertheia ( Eviscerator)

its a custom function, not a function from L2Tower... what he posted was NOT the whole script but only part of it...!

(05-22-2015 16:30 PM)rhadamants Wrote:  
(05-21-2015 16:53 PM)TheQQmaster Wrote:  
(05-21-2015 09:12 AM)cuongbeo88 Wrote:  Agree with Fox. I have to say , Evis is good DD but not better than dagger spoiler and Yul Ghost. My Evis always has more than 30% mana ( 1200).

use scripts to drain man lol Wink

part of evi

    LUA Programming
if (CheckDebuffLvL() >= 3) then -- if getting 3rd level of debuff Hydro Attack
if (myself:GetMpPercent()<= 50)	then -- if i got 50 or less I drain MP
UseSkillAttack(HydroDrainID);-- use skill
else
UseSkillAttack(HydroFlareID);-- else i do good DPs
end;
end;


This script dont work for me.
I have not found this function: CheckDebuffLvL in L2TowerHelp really is no such function?
05-22-2015 17:09 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: 641
Version: 1.4.2.133
Post: #12
RE: Good party with Ertheia ( Eviscerator)

(05-22-2015 16:30 PM)rhadamants Wrote:  
(05-21-2015 16:53 PM)TheQQmaster Wrote:  
(05-21-2015 09:12 AM)cuongbeo88 Wrote:  Agree with Fox. I have to say , Evis is good DD but not better than dagger spoiler and Yul Ghost. My Evis always has more than 30% mana ( 1200).

use scripts to drain man lol Wink

part of evi

    LUA Programming
if (CheckDebuffLvL() >= 3) then -- if getting 3rd level of debuff Hydro Attack
if (myself:GetMpPercent()<= 50)	then -- if i got 50 or less I drain MP
UseSkillAttack(HydroDrainID);-- use skill
else
UseSkillAttack(HydroFlareID);-- else i do good DPs
end;
end;


This script dont work for me.
I have not found this function: CheckDebuffLvL in L2TowerHelp really is no such function?

hmmm'


    LUA Programming
SleepDelayNuke = 400;
SleepDelayRepeat = 800;
CheckIfRunning = true;
 
-- Othell Nukes
ChaseSkillId = 10516						-- Shadow Chase
HeartBreakerSkillId = 10509					-- Heart Breaker
ChainBlowSkillId = 10510					-- ChainBlow
ReverseSkillId = 10511						-- Reverse
BloodStabSkillId = 10508					-- Blood Stab
UppercutID = 10546;	
CloneAttackID = 10532;	
 
-- new tyrr
LateralHitID = 30500;
BackspinBlowID = 30501;
GravityHitID = 30504;
SpinningKickID = 30503;
 
-- Tyrr Nukes
DestructionId = 10258;
TripleId = 261;
MegaId = 10260;
FlashId = 10318;
BomberId = 10262;
HurricaneRushId = 10267;
SonicRageId = 345;	
RushImpactID = 793; 		-- 
HurricaneBlasterID = 10263; 		-- 
MomentumFlashID = 10327; 		-- 
RagingForceID = 346; 		-- 
 
-- Yul Nukes
PinpointId = 10763				-- Pinpoint Shot
TornadoId = 10760				-- Tornado Shot
QuickId = 10762					-- Quick Shot
ImpactId = 10769				-- Impact Shot
RecoilId = 10770				-- Recoil Shot
 
-- FEOH
ElementalSpikeID = 11011;
ElementalCrashID = 11017;
ElementalDestructionID = 11023;
CurseGloomID = 1263; 		-- 
DevilsCurseID = 11047; 		-- 
 
--new feoh
HydroAttackID = 30001; -- Hydro Attack
AirRushID = 30012; -- Air Rush
HydroFlareID = 30003;	
HydroDrainID = 30007;	
StormSignID = 30002;	
ThreateningWindID = 30011;	
 
function CheckDebuff(skillID) 		
	local MyTarget = GetTarget();
	if (MyTarget~=nil) and (MyTarget:IsMonster()) and not (MyTarget:IsAlikeDeath()) then
		if not MyTarget:GotBuff(skillID) then
			return true
		end;
	end;
return false;
end;
 
function UseSkillAttack(skillID)
	local MyTarget = GetTarget();
	if (CheckTargetCanBeUsedSkill(MyTarget)) then
		local Skill = GetSkills():FindById(skillID);
		if (Skill ~= nil) and (Skill:IsSkillAvailable()) and (Skill:CanBeUsed()) then		
			UseSkillRaw(skillID, false, false);
			Sleep(SleepDelayNuke);
		end;
	end;	
end;
 
 
function CheckTargetCanBeUsedSkill(target)
	if (target ~= nil) and not (target:IsAlikeDeath()) and not (target:IsMe()) and not (target:IsMyPartyMember())  then
		if (target:IsMonster()) or (target:IsPlayer())  then
			return true;
		end;
	end;
			return false;
end;
 
 
function SkillUsageChecker(skillID)
	local Skill = GetSkills():FindById(skillID);
	if (Skill ~= nil) and (Skill:IsSkillAvailable()) and (Skill:CanBeUsed()) then		
		return true
	end;
		return false;	
end;
 
 
 
function CheckDebuffLvL() 		
	local MyTarget = GetTarget();
	local HydroAttackDebuff = MyCurrentTarget:GetBuff(StormSignID);
	if (MyTarget~=nil) and (MyTarget:IsMonster()) and not (MyTarget:IsAlikeDeath()) then
		if HydroAttackDebuff ~= nil then
			return HydroAttackDebuff.skillLvl;
		end;
		end;
return 0;
end;
 
me = GetMe();
 
 
-- sayune
if (me:GetClass() == 189) or (me:GetClass() == 185) or (me:GetClass() == 187) then
	repeat		
		myself = GetMe();
		MyCurrentTarget = GetTarget();
 
		if not CheckIfRunning or not IsPaused() then
			if CheckTargetCanBeUsedSkill(MyCurrentTarget) then
				if ((MyCurrentTarget:GetDistance() < 900) and (MyCurrentTarget:GetDistance() > 350)) then
					UseSkillAttack(AirRushID);
				end;
					UseSkillAttack(ThreateningWindID);
				if (CheckDebuffLvL() == 0) then
					UseSkillAttack(HydroAttackID);
				end;
				if (CheckDebuffLvL() >= 3) then
					if (myself:GetMpPercent()<= 50)	then
						UseSkillAttack(HydroDrainID);
					else
						UseSkillAttack(HydroFlareID);
					end;
				end;
			end;	
		end;	
		Sleep(SleepDelayRepeat);
	until false;
end;
 
 
-- FEOH
if (me:GetClass() == 166) or (me:GetClass() == 167) or (me:GetClass() == 168) or (me:GetClass() == 169)  or (me:GetClass() == 170) then
	repeat	
		me = GetMe();	
		if CheckDebuff(DevilsCurseID) then
			UseSkillAttack(DevilsCurseID);
			Sleep(300);
		end;
		if me:GetClass() == 167 then
			if CheckDebuff(CurseGloomID) then
				UseSkillAttack(CurseGloomID);
				Sleep(300);
			end;
		end;
		UseSkillAttack(ElementalSpikeID);
		Sleep(300);
		UseSkillAttack(ElementalCrashID);
		Sleep(300);
		UseSkillAttack(ElementalDestructionID);
		Sleep(500);
	until false;
end;
 
 
 
-- tyrr new
if (me:GetClass() == 188) or (me:GetClass() == 182) or (me:GetClass() == 184) or (me:GetClass() == 186) then
	repeat
		myself = GetMe();
		MyCurrentTarget = GetTarget();
		if (myself ~= nil) and (myself:IsAlikeDeath() == false) then
			if CheckTargetCanBeUsedSkill(MyCurrentTarget) then
				if SkillUsageChecker(LateralHitID) then
					UseSkillRaw(LateralHitID,false,false);
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(BackspinBlowID) then
					UseSkillRaw(BackspinBlowID,false,false);
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(GravityHitID) then
					UseSkillRaw(GravityHitID,false,false);
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(SpinningKickID) then
					UseSkillRaw(SpinningKickID,false,false);
					Sleep(SleepDelayNuke);
				end;
 
			end;
		elseif (myself ~= nil) and (myself:IsAlikeDeath()) then
			repeat
				Sleep(1000);
			until (myself:IsAlikeDeath() == false);
		end;
		Sleep(SleepDelayRepeat);
	until false;
end;
 
 
-- Othell
if (me:GetClass() == 158) or (me:GetClass() == 159) or (me:GetClass() == 160) or (me:GetClass() == 161) then
	repeat
		myself = GetMe();
		MyCurrentTarget = GetTarget();
		if (myself ~= nil) and (myself:IsAlikeDeath() == false) then
			if CheckTargetCanBeUsedSkill(MyCurrentTarget) then
				if SkillUsageChecker(ChaseSkillId) then
					UseSkillRaw(ChaseSkillId,false,false); 		-- Shadow Chase
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(BloodStabSkillId) then
					UseSkillRaw(BloodStabSkillId,false,false); 	-- BloodStab
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(ChainBlowSkillId) then
					UseSkillRaw(ChainBlowSkillId,false,false); 	-- ChainBlow
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(HeartBreakerSkillId) then
					UseSkillRaw(HeartBreakerSkillId,false,false); 	-- Heart Breaker
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(ReverseSkillId) then
					UseSkillRaw(ReverseSkillId,false,false); 	-- Reverse
					Sleep(SleepDelayNuke);
				end;
				--if SkillUsageChecker(UppercutID) then
				--	UseSkillRaw(UppercutID,false,false); 	-- Reverse
				--	Sleep(SleepDelayNuke);
				--end;
				if SkillUsageChecker(CloneAttackID) then
					UseSkillRaw(CloneAttackID,false,false); 	-- Reverse
					Sleep(SleepDelayNuke);
				end;
 
 
			end;
		elseif (myself ~= nil) and (myself:IsAlikeDeath()) then
			repeat
				Sleep(1000);
			until (myself:IsAlikeDeath() == false);
		end;
		Sleep(SleepDelayRepeat);
	until false;
end;
 
 
-- YUL
if (me:GetClass() == 162) or (me:GetClass() == 163) or (me:GetClass() == 164) or (me:GetClass() == 165)then
	repeat
if (not CheckIfRunning or not IsPaused()) then
		myself = GetMe();
		MyCurrentTarget = GetTarget();
 
		if (myself ~= nil) and (myself:IsAlikeDeath() == false) then
			if CheckTargetCanBeUsedSkill(MyCurrentTarget) then
				if SkillUsageChecker(PinpointId) then
					UseSkillRaw(PinpointId,false,false); 
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(TornadoId) then
					UseSkillRaw(TornadoId,false,false); 
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(QuickId) then
					UseSkillRaw(QuickId,false,false); 
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(ImpactId) then
					UseSkillRaw(ImpactId,false,false); 
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(RecoilId) then
					UseSkillRaw(RecoilId,false,false); 
					Sleep(SleepDelayNuke);
				end;
				end;
		elseif (myself ~= nil) and (myself:IsAlikeDeath()) then
			repeat
				Sleep(1000);
			until (myself:IsAlikeDeath() == false);
		end;
		end;
		Sleep(SleepDelayRepeat);
	until false;
end;
 
 
-- TYRR
if (me:GetClass() == 153) or (me:GetClass() == 154) or (me:GetClass() == 155) or (me:GetClass() == 156) or (me:GetClass() == 157) then
	repeat
		myself = GetMe();
		MyCurrentTarget = GetTarget();
		if (myself ~= nil) and (myself:IsAlikeDeath() == false) then
			if CheckTargetCanBeUsedSkill(MyCurrentTarget) then
				if SkillUsageChecker(DestructionId) then
					UseSkillRaw(DestructionId,false,false);
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(MegaId) then
					UseSkillRaw(MegaId,false,false);
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(BomberId) then
					UseSkillRaw(BomberId,false,false);
					Sleep(SleepDelayNuke);
				end;
				if (MyCurrentTarget:GetDistance() > 300) then
					if SkillUsageChecker(HurricaneRushId) then
						UseSkillRaw(HurricaneRushId,false,false);
						Sleep(SleepDelayNuke);
					end;
				end;
				if (myself:GetClass() == 157) or (myself:GetClass() == 156) then
					if (MyCurrentTarget:GetDistance() > 200) then
						if SkillUsageChecker(HurricaneBlasterID) then
							if CheckDebuff(DestructionId) or CheckDebuff(HurricaneBlasterID) then
								UseSkillRaw(HurricaneBlasterID,false,false);
								Sleep(SleepDelayNuke);
							end;
						end;
					end;
				elseif (myself:GetClass() == 155) then
					if (MyCurrentTarget:GetDistance() > 200) then
						if SkillUsageChecker(RagingForceID) then
							if CheckDebuff(DestructionId) or CheckDebuff(RagingForceID) then
								UseSkillRaw(RagingForceID,false,false);
								Sleep(SleepDelayNuke);
							end;
						end;
					end;
					if SkillUsageChecker(MomentumFlashID) then
						UseSkillRaw(MomentumFlashID,false,false);
						Sleep(SleepDelayNuke);
					end;
				end;
 
 
			end;
		elseif (myself ~= nil) and (myself:IsAlikeDeath()) then
			repeat
				Sleep(1000);
			until (myself:IsAlikeDeath() == false);
		end;
		Sleep(SleepDelayRepeat);
	until false;
end;
 
 
-- TYRR duelist
if (me:GetClass() == 152) then
	repeat
		myself = GetMe();
		MyCurrentTarget = GetTarget();
		if (myself ~= nil) and (myself:IsAlikeDeath() == false) then
			if CheckTargetCanBeUsedSkill(MyCurrentTarget) then
				if SkillUsageChecker(DestructionId) then
					UseSkillRaw(DestructionId,false,false);
					Sleep(SleepDelayNuke);
				end;
				if (MyCurrentTarget:GetDistance() > 300) then
					if SkillUsageChecker(SonicRageId) then
						if CheckDebuff(DestructionId) or CheckDebuff(SonicRageId) then
							UseSkillRaw(SonicRageId,false,false);
							Sleep(SleepDelayNuke);
						end;
					end;
				end;
				if SkillUsageChecker(TripleId) then
					UseSkillRaw(TripleId,false,false);
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(FlashId) then
					UseSkillRaw(FlashId,false,false);
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(MegaId) then
					UseSkillRaw(MegaId,false,false);
					Sleep(SleepDelayNuke);
				end;
				if SkillUsageChecker(BomberId) then
					UseSkillRaw(BomberId,false,false);
					Sleep(SleepDelayNuke);
				end;
				if (MyCurrentTarget:GetDistance() > 300) then
					if SkillUsageChecker(HurricaneRushId) then
						UseSkillRaw(HurricaneRushId,false,false);
						Sleep(SleepDelayNuke);
					end;
				end;
			end;
		elseif (myself ~= nil) and (myself:IsAlikeDeath()) then
			repeat
				Sleep(1000);
			until (myself:IsAlikeDeath() == false);
		end;
		Sleep(SleepDelayRepeat);
	until false;
end;


PUSH [Image: knUu53] IF HELPED
05-24-2015 16:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rhadamants Offline
Expired VIP Member
**

Posts: 27
Joined: Jun 2012
Reputation: 6
Version: 1.4.2.136
Post: #13
RE: Good party with Ertheia ( Eviscerator)

Where can the Id of all classes?
05-24-2015 23:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  v125 Ertheia NaoJogoMais 96 59,093 12-29-2017 11:58 AM
Last Post: pena123
Information How to get 'PARTY MEMBER TARGET'? Caaioc 9 6,349 01-24-2016 09:57 AM
Last Post: TheQQmaster
  //cfg party buffs cant make them work (help) drake182 3 3,684 01-02-2016 05:47 AM
Last Post: Wazzapkhv
  Ertheia funcional autoattack ? (mage) Sm4sher 0 2,111 11-11-2015 08:57 AM
Last Post: Sm4sher
  Script Ertheia Mage no AOE Madness12 1 2,283 09-28-2015 16:02 PM
Last Post: Botter100
  How i do to prophet heal the party player ? sectorzueira 2 2,884 09-11-2015 13:40 PM
Last Post: sectorzueira
  party buffs stopped work buybuy 2 2,606 09-01-2015 19:54 PM
Last Post: buybuy
  Good spots 90 archer + iss LegitPlayer01 1 2,532 08-26-2015 12:09 PM
Last Post: TheQQmaster
  Good Pvp class aiwaras83 1 2,435 06-20-2015 04:20 AM
Last Post: capucine
  ID ERTHEIA michal9077 1 3,311 05-29-2015 01:10 AM
Last Post: cardeal



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