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
Spoiling and Sweeping
Author Message
Perceptive Offline
Elpy
*

Posts: 3
Joined: Mar 2014
Reputation: 0
Version: 1.4.1.118
Post: #1
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
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 640
Version: 1.4.2.133
Post: #2
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 [Image: knUu53] IF HELPED
04-15-2014 05:15 AM
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
  Mug/Plunder spoiling Yulaa 9 7,707 08-23-2014 18:03 PM
Last Post: mardukx



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