<commit_before>import React from 'react';

import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import SpellIcon from 'common/SpellIcon';
import Analyzer from 'Parser/Core/Analyzer';
import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox';
import { formatMilliseconds, formatNumber, formatPercentage } from 'common/format';
import getDamageBonus from 'Parser/Mage/Shared/Modules/GetDamageBonus';

const BONUS_DAMAGE = 2.5;
const CAST_BUFFER = 250;

const debug = false;

class Pyroclasm extends Analyzer {

  damage = 0;
  beginCastTimestamp = 0;
  castTimestamp = 0;
  buffUsed = false;
  isBuffed = false;
  beginCastFound = false;
  count = 0;
  wastedProcs = 0;
  usedProcs = 0;
  totalProcs = 0;

  constructor(...args) {
    super(...args);
    this.active = this.selectedCombatant.hasTalent(SPELLS.PYROCLASM_TALENT.id);
  }
<commit_msg>[Fire Mage] Pyroclasm Tuning<commit_after>import React from 'react';

import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import SpellIcon from 'common/SpellIcon';
import Analyzer from 'Parser/Core/Analyzer';
import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox';
import { formatMilliseconds, formatNumber, formatPercentage } from 'common/format';
import getDamageBonus from 'Parser/Mage/Shared/Modules/GetDamageBonus';

const BONUS_DAMAGE = 2.25;
const CAST_BUFFER = 250;

const debug = false;

class Pyroclasm extends Analyzer {

  damage = 0;
  beginCastTimestamp = 0;
  castTimestamp = 0;
  buffUsed = false;
  isBuffed = false;
  beginCastFound = false;
  count = 0;
  wastedProcs = 0;
  usedProcs = 0;
  totalProcs = 0;

  constructor(...args) {
    super(...args);
    this.active = this.selectedCombatant.hasTalent(SPELLS.PYROCLASM_TALENT.id);
  }

{'fraction_non_alphanumeric': 0.10835214446952596, 'fraction_numerical': 0.014108352144469526, 'mean_word_length': 4.6826923076923075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3395432', 'n_tokens_mistral': 638, 'n_tokens_neox': 612, 'n_words': 147}