10-31-2013, 03:46 PM
Looking at the code I don't see any reason why restmp wouldn't be working properly. Maybe you're not understanding how the rest code works, which is understandable as it hasn't been thoroughly documented yet. The restMP and restHP specify a percentage where the bot will not attack a new mob once its current target is dead; if rest is triggered, the bot will remain in its current position until it reaches 100% hp and 100% mp or it is attacked by a mob. It will not stop attacking its current mob if it falls below those percentages; only fleeing will be triggered mid combat. The fact that you say its working sometimes makes me think that you might be confused about how it behaves, but there could also be a bug...maybe somebody else can provide us some feedback as to whether its working for them or not as I'm not at a location where I can test it currently.