<commit_before>'use strict';

[{
  zoneRegex: {
    en: /^Eden's Gate: Sepulture \(Savage\)$/,
    cn: /^伊甸零式希望乐园 \(觉醒之章4\)$/,
    ko: /^희망의 낙원 에덴: 각성편\(영웅\) \(4\)$/,
  },
  timelineFile: 'e4s.txt',
  timelineTriggers: [
    {
      id: 'E4S Earthen Anguish',
      regex: /Earthen Anguish/,
      beforeSeconds: 3,
      condition: function(data) {
        return data.role == 'healer' || data.role == 'tank';
      },
      alertText: {
        en: 'Tank Busters',
        de: 'Tank buster',
        fr: 'Tank busters',
        ja: 'タンクバスター',
        cn: '坦克死刑',
        ko: '탱버',
      },
    },
  ],
  triggers: [
    {
      id: 'E4S Earthen Gauntlets',
      regex: Regexes.ability({ id: '40E6', source: 'Titan', capture: false }),
      regexDe: Regexes.ability({ id: '40E6', source: 'Titan', capture: false }),
      regexFr: Regexes.ability({ id: '40E6', source: 'Titan', capture: false }),
      regexJa: Regexes.ability({ id: '40E6', source: 'タイタン', capture: false }),
      regexCn: Regexes.ability({ id: '40E6', source: '泰坦', capture: false }),
      regexKo: Regexes.ability({ id: '40E6', source: '타이탄', capture: false }),
      run: function(data) {
        data.phase = 'landslide';
        delete data.printedBury;
      },
    },
    {
      id: 'E4S Earthen Armor',
      regex: Regexes.ability({ id: '40E7', source: 'Titan', capture: false }),
      regexDe: Regexes.ability({ id: '40E7', source: 'Titan', capture: false }),
      regexFr: Regexes.ability({ id: '40E7', source: 'Titan', capture: false }),
      regexJa: Regexes.ability({ id: '40E7', source: 'タイタン', capture: false }),
      regexCn: Regexes.ability({ id: '40E7', source: '泰坦', capture: false }),
      regexKo: Regexes.ability({ id: '40E7', source: '타이탄', capture: false }),
      run: function(data) {
        data.phase = 'armor';
        delete data.printedBury;
      },
    },
    {
      id: 'E4S Stonecrusher',
      regex: Regexes.startsUsing({ id: '4116', source: 'Titan' }),
      regexDe: Regexes.startsUsing({ id: '4116', source: 'Titan' }),
      regexFr: Regexes.startsUsing({ id: '4116', source: 'Titan' }),
      regexJa: Regexes.startsUsing({ id: '4116', source: 'タイタン' }),
      regexCn: Regexes.startsUsing({ id: '4116', source: '泰坦' }),
      regexKo: Regexes.startsUsing({ id: '4116', source: '타이탄' }),
      alertText: function(data, matches) {
        if (matches.target == data.me) {
          return {<commit_msg>raidboss: fix error in conversion causing e4s bombs to not appear<commit_after>'use strict';

[{
  zoneRegex: {
    en: /^Eden's Gate: Sepulture \(Savage\)$/,
    cn: /^伊甸零式希望乐园 \(觉醒之章4\)$/,
    ko: /^희망의 낙원 에덴: 각성편\(영웅\) \(4\)$/,
  },
  timelineFile: 'e4s.txt',
  timelineTriggers: [
    {
      id: 'E4S Earthen Anguish',
      regex: /Earthen Anguish/,
      beforeSeconds: 3,
      condition: function(data) {
        return data.role == 'healer' || data.role == 'tank';
      },
      alertText: {
        en: 'Tank Busters',
        de: 'Tank buster',
        fr: 'Tank busters',
        ja: 'タンクバスター',
        cn: '坦克死刑',
        ko: '탱버',
      },
    },
  ],
  triggers: [
    {
      id: 'E4S Earthen Gauntlets',
      regex: Regexes.ability({ id: '40E6', source: 'Titan', capture: false }),
      regexDe: Regexes.ability({ id: '40E6', source: 'Titan', capture: false }),
      regexFr: Regexes.ability({ id: '40E6', source: 'Titan', capture: false }),
      regexJa: Regexes.ability({ id: '40E6', source: 'タイタン', capture: false }),
      regexCn: Regexes.ability({ id: '40E6', source: '泰坦', capture: false }),
      regexKo: Regexes.ability({ id: '40E6', source: '타이탄', capture: false }),
      run: function(data) {
        data.phase = 'landslide';
        delete data.printedBury;
      },
    },
    {
      id: 'E4S Earthen Armor',
      regex: Regexes.ability({ id: ['40E7', '40E9'], source: 'Titan', capture: false }),
      regexDe: Regexes.ability({ id: ['40E7', '40E9'], source: 'Titan', capture: false }),
      regexFr: Regexes.ability({ id: ['40E7', '40E9'], source: 'Titan', capture: false }),
      regexJa: Regexes.ability({ id: ['40E7', '40E9'], source: 'タイタン', capture: false }),
      regexCn: Regexes.ability({ id: ['40E7', '40E9'], source: '泰坦', capture: false }),
      regexKo: Regexes.ability({ id: ['40E7', '40E9'], source: '타이탄', capture: false }),
      run: function(data) {
        data.phase = 'armor';
        delete data.printedBury;
      },
    },
    {
      id: '<NAME>',
      regex: Regexes.startsUsing({ id: '4116', source: 'Titan' }),
      regexDe: Regexes.startsUsing({ id: '4116', source: 'Titan' }),
      regexFr: Regexes.startsUsing({ id: '4116', source: 'Titan' }),
      regexJa: Regexes.startsUsing({ id: '4116', source: 'タイタン' }),
      regexCn: Regexes.startsUsing({ id: '4116', source: '泰坦' }),
      regexKo: Regexes.startsUsing({ id: '4116', source: '타이탄' }),
      alertText: function(data, matches) {
        if (matches.target == data.me) {
          return {
{'fraction_non_alphanumeric': 0.18994751715785224, 'fraction_numerical': 0.03108599111828825, 'mean_word_length': 2.6977611940298507, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6327122', 'n_tokens_mistral': 2021, 'n_tokens_neox': 2010, 'n_words': 445}