Jump to content

Adrenaline Switching Weapons When Low Hp


Recommended Posts

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?

 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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

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