Hello all
I've made a patch for event based point regeneration. It's based off Eric Green's original Circlemud one here:
www.circlemud.org/pub/CircleMUD/contrib/...s/utils/regen.README
What it does:
Changes Hitpoint, Mana and Move regeneration from happening once every 60 seconds to happening in real time.
For example if someone normally gains 60 hitpoints every tick, they will now receive 1 hitpoint every second.
This re-write makes use of Vatiken's Mud Events, which is awesome and you should definitely be using this all the time.
Once installed the key thing to remember is to use these new functions when making changes to hitpoints/mana/move:
alter_hit(ch, amount);
alter_move(ch, amount);
alter_mana(ch, amount);
"Amount" will be deducted from the characters points. For healing you send a negative amount.
Attachment EventRegeneration.zip not found