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. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock