<commit_before>import React from 'react';
import Analyzer from 'Parser/Core/Analyzer';
import Combatants from 'Parser/Core/Modules/Combatants';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import SpellLink from 'common/SpellLink';


class Tier21_2set extends Analyzer {
  static dependencies = {
    combatants: Combatants,
  };

  extraDmg = 0;

  on_initialized() {
    this.active = this.combatants.selected.hasBuff(SPELLS.ENHANCE_SHAMAN_T21_2SET_EQUIP.id);
  }

  on_byPlayer_damage(event) {
    if (this.combatants.selected.hasBuff(254308)) {  //ForceOfTheMountain.id
      if (event.ability.guid === SPELLS.ROCKBITER.id) {
        this.extraDmg += (event.amount + event.absorbed || 0)/2;
      }
    }
  }

  item() {
    return {
      id: `spell-${SPELLS.FORCE_OF_THE_MOUNTAIN.id}`,
      icon: <SpellIcon id={SPELLS.FORCE_OF_THE_MOUNTAIN.id} />,
      title: <SpellLink id={SPELLS.FORCE_OF_THE_MOUNTAIN.id} />,
      result: this.owner.formatItemDamageDone(this.extraDmg),<commit_msg>Removed hardcoded ability id<commit_after>import React from 'react';
import Analyzer from 'Parser/Core/Analyzer';
import Combatants from 'Parser/Core/Modules/Combatants';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import SpellLink from 'common/SpellLink';


class Tier21_2set extends Analyzer {
  static dependencies = {
    combatants: Combatants,
  };

  extraDmg = 0;

  on_initialized() {
    this.active = this.combatants.selected.hasBuff(SPELLS.ENHANCE_SHAMAN_T21_2SET_EQUIP.id);
  }

  on_byPlayer_damage(event) {
    if (this.combatants.selected.hasBuff(SPELLS.FORCE_OF_THE_MOUNTAIN.id)) {
      if (event.ability.guid === SPELLS.ROCKBITER.id) {
        this.extraDmg += (event.amount + event.absorbed || 0)/2;
      }
    }
  }

  item() {
    return {
      id: `spell-${SPELLS.FORCE_OF_THE_MOUNTAIN.id}`,
      icon: <SpellIcon id={SPELLS.FORCE_OF_THE_MOUNTAIN.id} />,
      title: <SpellLink id={SPELLS.FORCE_OF_THE_MOUNTAIN.id} />,
      result: this.owner.formatItemDamageDone(this.extraDmg),
{'fraction_non_alphanumeric': 0.12723754233188195, 'fraction_numerical': 0.011611030478955007, 'mean_word_length': 3.9592326139088727, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1690686', 'n_tokens_mistral': 799, 'n_tokens_neox': 772, 'n_words': 121}