<commit_before>import SPELLS from 'common/SPELLS';

import CoreAbilities from 'parser/shared/modules/Abilities';

class Abilities extends CoreAbilities {
  spellbook() {
    const combatant = this.selectedCombatant;
    return [
      {
        spell: SPELLS.PRAYER_OF_MENDING_CAST,
        category: Abilities.SPELL_CATEGORIES.ROTATIONAL,
        cooldown: haste => 12 / (1 + haste),
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
        },
      },
      {
        spell: SPELLS.DESPERATE_PRAYER,
        buffSpellId: SPELLS.DESPERATE_PRAYER.id,
        category: Abilities.SPELL_CATEGORIES.DEFENSIVE,
        cooldown: 90, // todo: Account for Angel's Mercy if possible
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: 0.35,
          averageIssueEfficiency: 0.20,
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.APOTHEOSIS_TALENT,
        category: Abilities.SPELL_CATEGORIES.COOLDOWNS,
        cooldown: 120,
        enabled: combatant.hasTalent(SPELLS.APOTHEOSIS_TALENT.id),
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: .45,
          averageIssueEfficiency: 0.25,
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.DIVINE_HYMN_CAST,
        buffSpellId: SPELLS.DIVINE_HYMN_HEAL.id,
        category: Abilities.SPELL_CATEGORIES.COOLDOWNS,
        cooldown: 180,
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: 0.45,
          averageIssueEfficiency: 0.25,
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.SYMBOL_OF_HOPE,
        category: Abilities.SPELL_CATEGORIES.COOLDOWNS,
        cooldown: 300,
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: 0.01, // This spell should be cast at least one per encounter
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.HOLY_WORD_SALVATION_TALENT,
        category: Abilities.SPELL_CATEGORIES.COOLDOWNS,
        cooldown: 720, // reduced by Sanctify and Serenity
        enabled: combatant.hasTalent(SPELLS.HOLY_WORD_SALVATION_TALENT.id),
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: 0.45,
          averageIssueEfficiency: 0.25,
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.HOLY_WORD_SANCTIFY,
        category: Abilities.SPELL_CATEGORIES.ROTATIONAL,
        cooldown: 60, // reduced by PoH and Renew
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
        },
      },
      {
        spell: SPELLS.HOLY_WORD_SERENITY,
        category: Abilities.SPELL_CATEGORIES.ROTATIONAL,
        cooldown: 60, // reduced by Heal and Flash Heal
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
        },
      },
      {
        spell: SPELLS.DIVINE_STAR_TALENT,
        category: Abilities.SPELL_CATEGORIES.ROTATIONAL,
        cooldown: 15,<commit_msg>Making changes based off of Niphyr’s feedback<commit_after>import SPELLS from 'common/SPELLS';

import CoreAbilities from 'parser/shared/modules/Abilities';

class Abilities extends CoreAbilities {
  spellbook() {
    const combatant = this.selectedCombatant;
    return [
      {
        spell: SPELLS.PRAYER_OF_MENDING_CAST,
        category: Abilities.SPELL_CATEGORIES.ROTATIONAL,
        cooldown: haste => 12 / (1 + haste),
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
        },
      },
      {
        spell: SPELLS.DESPERATE_PRAYER,
        buffSpellId: SPELLS.DESPERATE_PRAYER.id,
        category: Abilities.SPELL_CATEGORIES.DEFENSIVE,
        cooldown: 90, // todo: Account for Angel's Mercy if possible
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: 0.35,
          averageIssueEfficiency: 0.20,
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.APOTHEOSIS_TALENT,
        category: Abilities.SPELL_CATEGORIES.COOLDOWNS,
        cooldown: 120,
        enabled: combatant.hasTalent(SPELLS.APOTHEOSIS_TALENT.id),
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: 0.30,
          averageIssueEfficiency: 0.10,
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.DIVINE_HYMN_CAST,
        buffSpellId: SPELLS.DIVINE_HYMN_HEAL.id,
        category: Abilities.SPELL_CATEGORIES.COOLDOWNS,
        cooldown: 180,
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: 0.30,
          averageIssueEfficiency: 0.10,
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.SYMBOL_OF_HOPE,
        category: Abilities.SPELL_CATEGORIES.COOLDOWNS,
        cooldown: 300,
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: 0.01, // This spell should be cast at least one per encounter
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.HOLY_WORD_SALVATION_TALENT,
        category: Abilities.SPELL_CATEGORIES.COOLDOWNS,
        cooldown: 720, // reduced by Sanctify and Serenity
        enabled: combatant.hasTalent(SPELLS.HOLY_WORD_SALVATION_TALENT.id),
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
          recommendedEfficiency: 0.30,
          averageIssueEfficiency: 0.10,
          majorIssueEfficiency: 0,
        },
      },
      {
        spell: SPELLS.HOLY_WORD_SANCTIFY,
        category: Abilities.SPELL_CATEGORIES.ROTATIONAL,
        cooldown: 60, // reduced by PoH and Renew
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
        },
      },
      {
        spell: SPELLS.HOLY_WORD_SERENITY,
        category: Abilities.SPELL_CATEGORIES.ROTATIONAL,
        cooldown: 60, // reduced by Heal and Flash Heal
        gcd: {
          base: 1500,
        },
        castEfficiency: {
          suggestion: true,
        },
      },
      {
        spell: SPELLS.DIVINE_STAR_TALENT,
        category: Abilities.SPELL_CATEGORIES.ROTATIONAL,
        cooldown: 15,
{'fraction_non_alphanumeric': 0.08813407152476432, 'fraction_numerical': 0.02468951069878797, 'mean_word_length': 1.7769007062733693, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1204804', 'n_tokens_mistral': 2396, 'n_tokens_neox': 2192, 'n_words': 381}