Jump to content

Recommended Posts

Posted

repeat
    if(GetMe():GetBuffsCount()  >= 1) then    
        if (GetMe():GotBuff(1033) == true) then DeleteMyBuff(1033); -- Poison Resistance
    Sleep(100);
        end;
        if (GetMe():GotBuff(1353) == true) then DeleteMyBuff(1353); -- holy attack resistance bishop
    Sleep(100);
        end;
    end;
until false;

 

 

this script user l2tower need one same with this for l2adrenaline, why  make party for farm have ppl all time give me buff end remover my. the configuration despell,only works if char have the buff.

Posted
32 minutes ago, SkyFielD said:

repeat
    if(GetMe():GetBuffsCount()  >= 1) then    
        if (GetMe():GotBuff(1033) == true) then DeleteMyBuff(1033); -- Poison Resistance
    Sleep(100);
        end;
        if (GetMe():GotBuff(1353) == true) then DeleteMyBuff(1353); -- holy attack resistance bishop
    Sleep(100);
        end;
    end;
until false;

 

 

this script user l2tower need one same with this for l2adrenaline, why  make party for farm have ppl all time give me buff end remover my. the configuration despell,only works if char have the buff.

var
  dispelArray : array of cardinal = [275,274,271,264];
  i:integer;
begin
  while delay(555) do
  begin
    for i := low(dispelArray) to high(dispelArray) do
    begin
      if user.buffs.byid(dispelArray[i], tl2buff) then
      begin
        engine.dispel(dispelArray[i]);
        delay(1000);
      end;
    end;
  end;
end.

 

Posted
5 minutes ago, adr.bot said:

var
  dispelArray : array of cardinal = [275,274,271,264];
  i:integer;
begin
  while delay(555) do
  begin
    for i := low(dispelArray) to high(dispelArray) do
    begin
      if user.buffs.byid(dispelArray[i], tl2buff) then
      begin
        engine.dispel(dispelArray[i]);
        delay(1000);
      end;
    end;
  end;
end.

 

erro  in while delay(555) do

Posted
var
  dispelArray : array of cardinal = [275,274,271,264];
  i:integer;
  buff:tl2buff;
begin
  while engine.delay(555) do
  begin
    for i := low(dispelArray) to high(dispelArray) do
    begin
      if user.buffs.byid(dispelArray[i], buff) then
      begin
        engine.dispel(buff.name);
        delay(1000);
      end;
    end;
  end;
end.

maybe this gonna work, idk, anyways u should have in self buff option for dispel

Posted
4 minutes ago, adr.bot said:

var
  dispelArray : array of cardinal = [275,274,271,264];
  i:integer;
  buff:tl2buff;
begin
  while engine.delay(555) do
  begin
    for i := low(dispelArray) to high(dispelArray) do
    begin
      if user.buffs.byid(dispelArray[i], buff) then
      begin
        engine.dispel(buff.name);
        delay(1000);
      end;
    end;
  end;
end.

maybe this gonna work, idk, anyways u should have in self buff option for dispel

have option for dispel only char have buff not work buff other class.

Posted
6 minutes ago, adr.bot said:

var
  dispelArray : array of cardinal = [275,274,271,264];
  i:integer;
  buff:tl2buff;
begin
  while engine.delay(555) do
  begin
    for i := low(dispelArray) to high(dispelArray) do
    begin
      if user.buffs.byid(dispelArray[i], buff) then
      begin
        engine.dispel(buff.name);
        delay(1000);
      end;
    end;
  end;
end.

maybe this gonna work, idk, anyways u should have in self buff option for dispel

work now very thanks u man :D i am more happy. 

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...