spyros23 Posted July 14, 2015 Posted July 14, 2015 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?
tommy_demateo Posted July 22, 2015 Posted July 22, 2015 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now