You might try the logic that Sorvani posted, since mine was broken.
Does out of combat regen work on live while mounted? If not, you'll probably want to wrap an optional rule around it so the default behaviour is live like and the server op can change it if they want to.
Also, if you want to get this committed you should post a diff once you have it all working, since that's easy for someone to apply versus trying to copy/paste code out of a post manually and get it right.
|