PDA

View Full Version : Extension to notify on new level gained



KlatuB
January 15th, 2017, 02:50
Has/can an extension be made to notify the player when a character has gained a new level. As in when giving experience points via the party sheet.

JohnD
January 15th, 2017, 03:50
Don't think so.

Moon Wizard
January 15th, 2017, 04:17
You could do it by writing a script which:
* Reads all current character XP information on startup
* Sets up a database handler for "charsheet.*.exp" (or whatever the ruleset uses)
* When handler is called,
** Compare to old XP information
** Notify in the chat window if the leveling threshold has been reached.
** Set the new XP value as the current XP for the character in the script.

Regards,
JPG