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

 

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

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..