What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[PLUGIN] UseBandages

Neyder

New Member
Joined
Feb 26, 2013
Messages
64
UseBandages Plugin v1.0.1

This simple plugin will force the bot using bandages when health is under 65% (editable in source)
It checks if toon has First Aid skill, required lvl, and if right bandage is available, but doesn't
check the skill lvl, so don't give him bandages that he can't use.
Obviously, when not in combat, flying, on taxi, recently bandaged, etc.

Installation
Just copy the folder "UseBandages" in "/HB/Plugins/"
Don't forget to enable it.

Configuration
There is no configuration for the plugin, if requested I can add a form to edit life percentage for using bandages.
You can edit line 38 and 39 in source, if needed, for now.
Code:
// You can edit this, don't forget to recompile
public int maxLifePercent = 65; // Will apply bandage if life is below
public int minLifePercent = 30; // Will let the bot eat if below

You have to disable "UseBandages" in singular, and, if you don't want the bot to eat at all, you can put EatAt% to 0.
I something like 30%,
anyway this value has to be below the value of bandages %.

Download :
https://neyder-hb.googlecode.com/svn/trunk/Plugins/

SVN :
Code:
svn checkout http://neyder-hb.googlecode.com/svn/trunk/Plugins/

Changelog :
Code:
v1.0.1 :
- Bugfixes

v1.0.0 :
- Initial release
 
Last edited:
Interesting code here. Was looking for something with bandages. I wonder if there is a way to implement the function of crafting bandages if you have the mats required - as you are leveling - up to <X> quantity. Do you mind if I use this code in my CR I am crafting up?
 
Back
Top