Jump to content

Recommended Posts

Posted

Hi. I'm trying to make a script for auto frenzy. It's useful for instances and 7rb. 

const
frenzy = 176;
var
buff: TL2Buff;
skill: tl2skill;
begin
while delay(500) do begin
   if skilllist.byid(frenzy,skill) and (skill.endtime = 0) and not User.buffs.byid(frenzy,buff) then begin
      Engine.Facecontrol(0, false);
      delay(100);
      Engine.useitem(6314); // homu conversion
      delay(500);
      Engine.useitem(4745); // yaksa mace health
      delay(500);
      Engine.Useskill(176); //frenzy
      delay(1000);
      Engine.Useitem(9443); //my weapon
      delay(100);
      Engine.Facecontrol(0, true);
   end;
end;
end.

Here's the problem. Even if the skill.endtime is not = 0 starts to do the stuff. It tries to use the weapons and frenzy. 

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