Perceptive
Elpy
Posts: 3
Joined: Mar 2014
Reputation: 0
Version:
1.4.1.118
|
Spoiling and Sweeping
Hello,
I have a problem with my spoiler that all it does is spoil and sweep ... It doesn't do any other skills and does not attack even though they are enabled. Any help with this?
|
|
04-15-2014 04:29 AM |
|
TheQQmaster
Trolling the Trolls
Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version:
1.4.2.133
|
RE: Spoiling and Sweeping
1st option u can delete l2
2nd option u can use script
Code:
-- Othell Nukes
ChaseSkillId = 10516 -- Shadow Chase
ChaseSkill = GetSkills():FindById(ChaseSkillId);
HeartBreakerSkillId = 10509 -- Heart Breaker
HeartBreakerSkill = GetSkills():FindById(HeartBreakerSkillId);
ChainBlowSkillId = 10510 -- ChainBlow
ChainBlowSkill = GetSkills():FindById(ChainBlowSkillId);
ReverseSkillId = 10511 -- Reverse
ReverseSkill = GetSkills():FindById(ReverseSkillId);
BloodStabSkillId = 10508 -- Blood Stab
BloodStabSkill = GetSkills():FindById(BloodStabSkillId);
me = GetMe();
-- Othell
if (me:GetClass() == 158) or (me:GetClass() == 159) or (me:GetClass() == 160) or (me:GetClass() == 161) then
-- ShowToClient("Nukes","Othell Detected");
repeat
if (GetMe():IsAlikeDeath() == true)then
Sleep(5*1000)
repeat
Sleep(1000);
until (GetMe():IsAlikeDeath() == false);
end;
if (GetTarget() ~= nil) then
if (GetTarget():IsAlikeDeath() == false) and (GetTarget():IsMonster()) and (GetMe():IsAlikeDeath() == false) then
if (ChaseSkill ~= nil) and (ChaseSkill:CanBeUsed()) and (ChaseSkill:IsSkillAvailable()) then
UseSkillRaw(ChaseSkillId,false,false); -- Shadow Chase
Sleep(500);
end;
if (BloodStabSkill ~= nil) and (BloodStabSkill:CanBeUsed()) and (BloodStabSkill:IsSkillAvailable()) then
UseSkillRaw(BloodStabSkillId,false,false); -- BloodStab
Sleep(500);
end;
if (ChainBlowSkill ~= nil) and (ChainBlowSkill:CanBeUsed()) and (ChainBlowSkill:IsSkillAvailable())then
UseSkillRaw(ChainBlowSkillId,false,false); -- ChainBlow
Sleep(500);
end;
if (HeartBreakerSkill ~= nil) and (HeartBreakerSkill:CanBeUsed()) and (HeartBreakerSkill:IsSkillAvailable()) then
UseSkillRaw(HeartBreakerSkillId,false,false); -- Heart Breaker
Sleep(500);
end;
if (ReverseSkill ~= nil) and (ReverseSkill:CanBeUsed()) and (ReverseSkill:IsSkillAvailable()) then
UseSkillRaw(ReverseSkillId,false,false); -- Reverse
Sleep(500);
end;
end;
end;
Sleep(1000);
until false;
end;
PUSH IF HELPED
|
|
04-15-2014 05:15 AM |
|