text: class HeroUpdateHitpointsHandler {
    static get ID() {
      return 3959;
    }
  
    constructor() {
      this._handler = (e, a) => {
        let parsedJson = JSON.parse(e.detail);
  
        window.hero.maxHp = parsedJson[Variables.hpUpdateMaxHp];
        window.hero.hp = parsedJson[Variables.hpUpdateHp];
      }
    }
  
    get handler() {
      return this._handler;
    }
  }