Jump to content

Recommended Posts

Posted

How can i set up in adrenaline when my hp is below 40% to change to a meele weapon so i can lifesteal and when my hp is above 80% to change back to crossbow? I tried putting it in both attack and self buff with conditions but it keeps spam equiping the weapon can i do it with a script or is it possible without one?

 

Posted

Check this script and modify id's of your weapons

procedure checkHP;         // PONE DAGA O ARCO DEPENDIENDO DEL HP (Dagger or Bow checking hp)
var
 item:Tl2Item;
 bow,dagger:integer;
begin
dagger:=6591;   //Angel Slayer(HP Drain)
bow:=7577;  //Draco Bow(focus) 
Inventory.User.ByID(dagger, item);
   if ((User.HP < 50) and (item.equipped=false))
    then begin
    Engine.UseItem(dagger);
    Delay(1000) ;
    end;
   if ((User.HP > 70) and (item.equipped=true))
    then begin
    Engine.UseItem(bow);
    Delay(1000) ;
    end;   
end;

begin
while true do begin
delay(2000);
CheckHP;
end;
end.

Credits by me :P

 

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