TheQQmaster
Trolling the Trolls
Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version:
1.4.2.133
|
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
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 IF HELPED
|
|