<commit_before>import Conditions from '../../../../../resources/conditions.ts';
import NetRegexes from '../../../../../resources/netregexes.ts';
import { Responses } from '../../../../../resources/responses.js';
import ZoneId from '../../../../../resources/zone_id.js';

export default {
  zoneId: ZoneId.TheBurn,
  timelineFile: 'the_burn.txt',
  triggers: [
    {
      id: 'The Burn Crystal Needle',
      netRegex: NetRegexes.startsUsing({ id: '3193', source: 'Hedetet' }),
      netRegexDe: NetRegexes.startsUsing({ id: '3193', source: 'Hedetet' }),
      netRegexFr: NetRegexes.startsUsing({ id: '3193', source: 'Hedetet' }),
      netRegexJa: NetRegexes.startsUsing({ id: '3193', source: 'ヘデテト' }),
      netRegexCn: NetRegexes.startsUsing({ id: '3193', source: '赫德提特' }),
      netRegexKo: NetRegexes.startsUsing({ id: '3193', source: '헤데테트' }),
      condition: Conditions.caresAboutPhysical(),
      response: Responses.tankBuster(),
    },
    {
      id: 'The Burn Hailfire',
      netRegex: NetRegexes.headMarker({ id: '0002', capture: false }),
      condition: (data) => !data.hedetet,
      infoText: (data, _, output) => output.text(),
      outputStrings: {
        text: {
          en: 'Hide behind crystal',
          de: 'Hinter dem Kristall verstecken',
          fr: 'Cachez-vous derrière le cristal',
          ja: '水晶の後ろに',
          cn: '躲在水晶后',
          ko: '크리스탈 뒤에 숨기',
        },
      },
    },
    {
      id: 'The Burn Shardstrike',
      netRegex: NetRegexes.headMarker({ id: '0060' }),
      condition: Conditions.targetIsYou(),
      alertText: (data, _, output) => output.text(),
      outputStrings: {
        text: {
          en: 'Spread + Avoid Crystals',
          de: 'Verteilen + Kristall meiden',
          fr: 'Écartez-vous & évitez les cristaux',
          ja: '散開 + 水晶を避ける',
          cn: '散开并远离水晶',
          ko: '산개 + 크리스탈 피하기',
        },
      },
    },
    {
      id: 'The Burn Crystal Shardfall',
      netRegex: NetRegexes.startsUsing({ id: '3191', source: 'Hedetet', capture: false }),
      netRegexDe: NetRegexes.startsUsing({ id: '3191', source: 'Hedetet', capture: false }),
      netRegexFr: NetRegexes.startsUsing({ id: '3191', source: 'Hedetet', capture: false }),
      netRegexJa: NetRegexes.startsUsing({ id: '3191', source: 'ヘデテト', capture: false }),
      netRegexCn: NetRegexes.startsUsing({ id: '3191', source: '赫德提特', capture: false }),
      netRegexKo: NetRegexes.startsUsing({ id: '3191', source: '헤데테트', capture: false }),
      infoText: (data, _, output) => output.text(),
      outputStrings: {
        text: {
          en: 'Hide behind crystal',
          de: 'Hinter dem Kristall verstecken',
          fr: 'Cachez-vous derrière le cristal',
          ja: '水晶の後ろに',<commit_msg>raidboss: the_burn fr (#2516)<commit_after>import Conditions from '../../../../../resources/conditions.ts';
import NetRegexes from '../../../../../resources/netregexes.ts';
import { Responses } from '../../../../../resources/responses.js';
import ZoneId from '../../../../../resources/zone_id.js';

export default {
  zoneId: ZoneId.TheBurn,
  timelineFile: 'the_burn.txt',
  triggers: [
    {
      id: 'The Burn Crystal Needle',
      netRegex: NetRegexes.startsUsing({ id: '3193', source: 'Hedetet' }),
      netRegexDe: NetRegexes.startsUsing({ id: '3193', source: 'Hedetet' }),
      netRegexFr: NetRegexes.startsUsing({ id: '3193', source: 'Hedetet' }),
      netRegexJa: NetRegexes.startsUsing({ id: '3193', source: 'ヘデテト' }),
      netRegexCn: NetRegexes.startsUsing({ id: '3193', source: '赫德提特' }),
      netRegexKo: NetRegexes.startsUsing({ id: '3193', source: '헤데테트' }),
      condition: Conditions.caresAboutPhysical(),
      response: Responses.tankBuster(),
    },
    {
      id: 'The Burn Hailfire',
      netRegex: NetRegexes.headMarker({ id: '0002', capture: false }),
      condition: (data) => !data.hedetet,
      infoText: (data, _, output) => output.text(),
      outputStrings: {
        text: {
          en: 'Hide behind crystal',
          de: 'Hinter dem Kristall verstecken',
          fr: 'Cachez-vous derrière le cristal',
          ja: '水晶の後ろに',
          cn: '躲在水晶后',
          ko: '크리스탈 뒤에 숨기',
        },
      },
    },
    {
      id: 'The Burn Shardstrike',
      netRegex: NetRegexes.headMarker({ id: '0060' }),
      condition: Conditions.targetIsYou(),
      alertText: (data, _, output) => output.text(),
      outputStrings: {
        text: {
          en: 'Spread + Avoid Crystals',
          de: 'Verteilen + Kristall meiden',
          fr: 'Dispersez-vous + évitez les cristaux',
          ja: '散開 + 水晶を避ける',
          cn: '散开并远离水晶',
          ko: '산개 + 크리스탈 피하기',
        },
      },
    },
    {
      id: 'The Burn Crystal Shardfall',
      netRegex: NetRegexes.startsUsing({ id: '3191', source: 'Hedetet', capture: false }),
      netRegexDe: NetRegexes.startsUsing({ id: '3191', source: 'Hedetet', capture: false }),
      netRegexFr: NetRegexes.startsUsing({ id: '3191', source: 'Hedetet', capture: false }),
      netRegexJa: NetRegexes.startsUsing({ id: '3191', source: 'ヘデテト', capture: false }),
      netRegexCn: NetRegexes.startsUsing({ id: '3191', source: '赫德提特', capture: false }),
      netRegexKo: NetRegexes.startsUsing({ id: '3191', source: '헤데테트', capture: false }),
      infoText: (data, _, output) => output.text(),
      outputStrings: {
        text: {
          en: 'Hide behind crystal',
          de: 'Hinter dem Kristall verstecken',
          fr: 'Cachez-vous derrière le cristal',
          ja: '水晶の後ろに',
{'fraction_non_alphanumeric': 0.1711191335740072, 'fraction_numerical': 0.020938628158844765, 'mean_word_length': 2.5564826700898586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5096933', 'n_tokens_mistral': 2047, 'n_tokens_neox': 2028, 'n_words': 446}