import Module from 'Parser/Core/Module';

export const PRYDAZ_ITEM_ID = 132444;
const PRYDAZ_HEAL_SPELL_ID = 207472;

class Prydaz extends Module {
  healing = 0;
  on_byPlayer_absorbed(event) {
    const spellId = event.ability.guid;
    if (spellId === PRYDAZ_HEAL_SPELL_ID) {
      this.healing += event.amount;
    }
  }
}

export default Prydaz;

@@ -1,8 +1,43 @@
+import ITEMS from 'common/ITEMS';%0A%0A
 import M
@@ -74,46 +74,8 @@
 ';%0A%0A
-export const PRYDAZ_ITEM_ID = 132444;%0A
 cons
@@ -153,16 +153,174 @@
 ng = 0;%0A
+%0A  on_initialized() %7B%0A    if (!this.owner.error) %7B%0A      this.active = this.owner.selectedCombatant.hasNeck(ITEMS.PRYDAZ_XAVARICS_MAGNUM_OPUS.id);%0A    %7D%0A  %7D%0A%0A
   on_byP

Fix Prydaz was always shown