Jump to content

Recommended Posts

Posted (edited)

auto cleance

    const
        CLEANSE_ID = 1409;
        ITERATION_DELAY = 100;
        
    var
        skill: TL2Skill;
        i: Integer;
     
    begin
     
        while Engine.Status = lsOnline do
        begin
     
            if (SkillList.ByID(CLEANSE_ID, skill)) then
            begin
            
                for i:=0 to Party.Chars.Count - 1 do
                begin
                
                    if (Party.Chars.Items(i).AbnormalID > 0) then
                    begin
                        Engine.SetTarget(Party.Chars.Items(i));
                        Engine.UseSkill(CLEANSE_ID, true, true);
                    end;
                    
                    if User.AbnormalID > 0 then
                    begin
                        Engine.SetTarget(User);
                        Engine.UseSkill(CLEANSE_ID, true, true);
                    end;
                    
                end;
                
            end;
     
            Delay(ITERATION_DELAY);
     
        end;
      
    end.
Edited by fAkeN
Posted

 

auto cleance

    const
        CLEANSE_ID = 1409;
        ITERATION_DELAY = 100;
        
    var
        skill: TL2Skill;
        i: Integer;
     
    begin
     
        while Engine.Status = lsOnline do
        begin
     
            if (SkillList.ByID(CLEANSE_ID, skill)) then
            begin
            
                for i:=0 to Party.Chars.Count - 1 do
                begin
                
                    if (Party.Chars.Items(i).AbnormalID > 0) then
                    begin
                        Engine.SetTarget(Party.Chars.Items(i));
                        Engine.UseSkill(CLEANSE_ID, true, true);
                    end;
                    
                    if User.AbnormalID > 0 then
                    begin
                        Engine.SetTarget(User);
                        Engine.UseSkill(CLEANSE_ID, true, true);
                    end;
                    
                end;
                
            end;
     
            Delay(ITERATION_DELAY);
     
        end;
      
    end.

this script is crap :D

it wont cleanse 99% of debuffs

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...