Skip to content

Commit

Permalink
triggers build: build: Bump version to 0.33.1 (OverlayPlugin#504)
Browse files Browse the repository at this point in the history
Hold merge for OverlayPlugin#503. e6d6cfe
  • Loading branch information
github-actions committed Nov 19, 2024
1 parent 7772fd1 commit 1c72e68
Show file tree
Hide file tree
Showing 6 changed files with 1,453 additions and 91 deletions.
116 changes: 54 additions & 62 deletions 04-sb/trial/byakko-ex.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,49 @@ Options.Triggers.push({
id: 'TheJadeStoaExtreme',
zoneId: ZoneId.TheJadeStoaExtreme,
timelineFile: 'byakko-ex.txt',
timelineTriggers: [
{
id: 'ByakkoEx Fell Swoop',
regex: /Fell Swoop/,
beforeSeconds: 5,
response: Responses.bigAoe('alert'),
},
],
triggers: [
{
id: 'ByaEx Heavenly Strike',
id: 'ByakkoEx Heavenly Strike',
type: 'StartsUsing',
netRegex: { id: '27DA', source: 'Byakko' },
response: Responses.tankBuster(),
response: Responses.tankCleave('alert'),
},
{
id: 'ByaEx Flying Donut',
id: 'ByakkoEx Sweep The Leg Intermission',
type: 'StartsUsing',
netRegex: { id: '27F4', source: 'Byakko', capture: false },
response: Responses.getIn(),
},
{
id: 'ByaEx Sweep The Leg',
id: 'ByakkoEx Sweep The Leg Standard',
type: 'StartsUsing',
netRegex: { id: '27DB', source: 'Byakko', capture: false },
response: Responses.getBehind(),
},
{
id: 'ByaEx Storm Pulse',
id: 'ByakkoEx Storm Pulse',
type: 'StartsUsing',
netRegex: { id: '27DC', source: 'Byakko', capture: false },
response: Responses.aoe(),
},
{
id: 'ByaEx Distant Clap',
id: 'ByakkoEx Distant Clap',
type: 'StartsUsing',
netRegex: { id: '27DD', source: 'Byakko', target: 'Byakko', capture: false },
alertText: (_data, _matches, output) => output.text(),
outputStrings: {
text: {
en: 'Distant Clap',
de: 'Donnergrollen',
fr: 'Tonnerre lointain',
ja: '遠雷',
cn: '月环',
ko: '원뢰',
},
},
condition: (data) => data.flareMarker !== data.me,
delaySeconds: 0.1,
response: Responses.getUnder(),
},
{
id: 'ByaEx State Of Shock Tank 1',
id: 'ByakkoEx State Of Shock Tank 1',
type: 'StartsUsing',
netRegex: { id: '27E0', source: 'Byakko' },
condition: (data, matches) => data.role === 'tank' && matches.target !== data.me,
Expand All @@ -62,7 +62,7 @@ Options.Triggers.push({
},
},
{
id: 'ByaEx State Of Shock Tank 2',
id: 'ByakkoEx State Of Shock Tank 2',
type: 'StartsUsing',
netRegex: { id: '27E0', source: 'Byakko' },
condition: (data, matches) => data.role === 'tank' && matches.target === data.me,
Expand All @@ -80,15 +80,15 @@ Options.Triggers.push({
},
},
{
id: 'ByaEx Roar Counter',
id: 'ByakkoEx Roar Counter',
type: 'StartsUsing',
netRegex: { id: '27F9', source: 'Hakutei', capture: false },
run: (data) => {
data.roarCount = (data.roarCount ?? 0) + 1;
},
},
{
id: 'ByaEx Roar of Thunder',
id: 'ByakkoEx Roar Of Thunder',
type: 'StartsUsing',
netRegex: { id: '27F9', source: 'Hakutei', capture: false },
delaySeconds: 14,
Expand All @@ -110,11 +110,11 @@ Options.Triggers.push({
},
},
{
id: 'ByaEx Bubble',
id: 'ByakkoEx Gale Force',
type: 'HeadMarker',
netRegex: { id: '0065' },
condition: Conditions.targetIsYou(),
infoText: (_data, _matches, output) => output.text(),
alertText: (_data, _matches, output) => output.text(),
outputStrings: {
text: {
en: 'Drop bubble outside',
Expand All @@ -127,11 +127,11 @@ Options.Triggers.push({
},
},
{
id: 'ByaEx Ominous Wind',
id: 'ByakkoEx Ominous Wind',
type: 'GainsEffect',
netRegex: { effectId: '5C9' },
condition: Conditions.targetIsYou(),
infoText: (_data, _matches, output) => output.text(),
alertText: (_data, _matches, output) => output.text(),
outputStrings: {
text: {
en: 'Pink bubble',
Expand All @@ -144,7 +144,7 @@ Options.Triggers.push({
},
},
{
id: 'ByaEx Puddle Marker',
id: 'ByakkoEx Aratama',
type: 'HeadMarker',
netRegex: { id: '0004' },
condition: Conditions.targetIsYou(),
Expand All @@ -161,26 +161,23 @@ Options.Triggers.push({
},
},
{
id: 'ByaEx G100',
id: 'ByakkoEx White Herald',
type: 'HeadMarker',
netRegex: { id: '0057' },
condition: Conditions.targetIsYou(),
infoText: (_data, _matches, output) => output.text(),
outputStrings: {
text: {
en: 'Get away',
de: 'Weg da',
fr: 'Éloignez-vous',
ja: '離れる',
cn: '远离人群',
ko: '멀리가기',
},
},
response: Responses.awayFrom(),
run: (data, matches) => data.flareMarker = matches.target,
},
{
id: 'ByakkoEx White Herald Cleanup',
type: 'Ability',
netRegex: { id: '9C1A', source: 'Hakutei', capture: false },
run: (data) => delete data.flareMarker,
},
// https://xivapi.com/InstanceContentTextData/18606
// en: Twofold is my wrath, twice-cursed my foes!
{
id: 'ByaEx Tiger Add',
id: 'ByakkoEx Tiger Add',
type: 'BattleTalk2',
netRegex: { instanceContentTextId: '48AE', capture: false },
condition: (data) => data.role === 'tank' || data.job === 'BLU',
Expand All @@ -197,22 +194,22 @@ Options.Triggers.push({
},
},
{
id: 'ByaEx Stake Counter',
id: 'ByakkoEx Stake Counter',
type: 'StartsUsing',
netRegex: { id: '27E2', source: 'Byakko', capture: false },
run: (data) => {
data.stakeCount = (data.stakeCount ?? 0) + 1;
},
},
{
id: 'ByaEx Stake Counter Cleanup',
id: 'ByakkoEx Stake Counter Cleanup',
type: 'StartsUsing',
netRegex: { id: '27E2', source: 'Byakko', capture: false },
delaySeconds: 20,
run: (data) => delete data.stakeCount,
},
{
id: 'ByaEx Highest Stakes',
id: 'ByakkoEx Highest Stakes',
type: 'StartsUsing',
netRegex: { id: '27E2', source: 'Byakko', capture: false },
infoText: (data, _matches, output) => output.text({ num: data.stakeCount }),
Expand All @@ -238,7 +235,6 @@ Options.Triggers.push({
},
'replaceText': {
'--Hakutei Add--': '--Hakutei Add--',
'--leap north--': '--Sprung nach Norden--',
'--tiger targetable--': '--Tiger anvisierbar--',
'--tiger untargetable--': '--Tiger nicht anvisierbar--',
'Answer On High': 'Himmlische Antwort',
Expand All @@ -247,17 +243,17 @@ Options.Triggers.push({
'Dance Of The Incomplete': 'Tanz der zwei Gesichter',
'Distant Clap': 'Donnergrollen',
'Fell Swoop': 'Auf einen Streich',
'Fire and Lightning': 'Feuer und Blitz',
'Fire And Lightning': 'Feuer und Blitz',
'Gale Force': 'Orkan',
'Heavenly Strike': 'Himmlischer Schlag',
'Highest Stakes': 'Höchstes Risiko',
'Hundredfold Havoc': 'Hundertfache Verwüstung',
'Imperial Guard': 'Herbststurm',
'Ominous Wind': 'Unheilvoller Wind',
'State of Shock': 'Bannblitze',
'State Of Shock': 'Bannblitze',
'Steel Claw': 'Stahlklaue',
'Storm Pulse': 'Gewitterwelle',
'Sweep the Leg': 'Vertikalität',
'Sweep The Leg': 'Vertikalität',
'The Roar Of Thunder': 'Brüllen des Donners',
'The Voice Of Thunder': 'Stimme des Donners',
'Unrelenting Anguish': 'Pandämonium',
Expand All @@ -273,7 +269,6 @@ Options.Triggers.push({
},
'replaceText': {
'--Hakutei Add--': '--Add Hakutei--',
'--leap north--': '--saut au nord--',
'--tiger targetable--': '--tigre ciblable--',
'--tiger untargetable--': '--tigre non ciblable--',
'Answer On High': 'Foudre céleste',
Expand All @@ -282,17 +277,17 @@ Options.Triggers.push({
'Dance Of The Incomplete': 'Danse semi-bestiale',
'Distant Clap': 'Tonnerre lointain',
'Fell Swoop': 'Éléments déchaînés',
'Fire and Lightning': 'Feu et foudre',
'Fire And Lightning': 'Feu et foudre',
'Gale Force': 'Coup de rafale',
'Heavenly Strike': 'Frappe céleste',
'Highest Stakes': 'Tout pour le tout',
'Hundredfold Havoc': 'Ravages centuples',
'Imperial Guard': 'Garde impériale',
'Ominous Wind': 'Vent mauvais',
'State of Shock': 'Foudroiement brutal',
'State Of Shock': 'Foudroiement brutal',
'Steel Claw': 'Griffe d\'acier',
'Storm Pulse': 'Pulsion de tempête',
'Sweep the Leg': 'Verticalité',
'Sweep The Leg': 'Verticalité',
'The Roar Of Thunder': 'Rugissement du tonnerre',
'The Voice Of Thunder': 'Voix du tonnerre',
'Unrelenting Anguish': 'Douleur continuelle',
Expand All @@ -308,25 +303,24 @@ Options.Triggers.push({
'Twofold is my wrath, twice-cursed my foes!': '駆けろ、我が半身ッ!歯向かう者どもに、牙と爪を突き立ててやれ!',
},
'replaceText': {
'--leap north--': '--北に飛ぶ--',
'--tiger untargetable--': '--白帝タゲ不可--',
'Answer On High': '天つ雷',
'Bombogenesis': '爆弾低気圧',
'Clutch': '掌握',
'Dance Of The Incomplete': '半獣舞踏',
'Distant Clap': '遠雷',
'Fell Swoop': '迅雷風烈波',
'Fire and Lightning': '雷火一閃',
'Fire And Lightning': '雷火一閃',
'Gale Force': '暴風',
'Heavenly Strike': '天雷掌',
'Highest Stakes': '乾坤一擲',
'Hundredfold Havoc': '百雷繚乱',
'Imperial Guard': '白帝一陣',
'Ominous Wind': '祟り風',
'State of Shock': '呪縛雷',
'State Of Shock': '呪縛雷',
'Steel Claw': '鉄爪斬',
'Storm Pulse': '風雷波動',
'Sweep the Leg': '旋体脚',
'Sweep The Leg': '旋体脚',
'The Roar Of Thunder': '雷轟',
'The Voice Of Thunder': '雷声',
'Unrelenting Anguish': '無間地獄',
Expand All @@ -342,7 +336,6 @@ Options.Triggers.push({
},
'replaceText': {
'--Hakutei Add--': '--白帝出现--',
'--leap north--': '--跳北--',
'--tiger targetable--': '--白帝可选中--',
'--tiger untargetable--': '--白帝无法选中--',
'Answer On High': '天雷',
Expand All @@ -351,17 +344,17 @@ Options.Triggers.push({
'Dance Of The Incomplete': '半兽舞蹈',
'Distant Clap': '远雷',
'Fell Swoop': '迅雷风烈波',
'Fire and Lightning': '雷火一闪',
'Fire And Lightning': '雷火一闪',
'Gale Force': '暴风',
'Heavenly Strike': '天雷掌',
'Highest Stakes': '乾坤一掷',
'Hundredfold Havoc': '百雷缭乱',
'Imperial Guard': '白帝降临',
'Ominous Wind': '妖风',
'State of Shock': '咒缚雷',
'State Of Shock': '咒缚雷',
'Steel Claw': '铁爪斩',
'Storm Pulse': '风雷波动',
'Sweep the Leg': '旋体脚',
'Sweep The Leg': '旋体脚',
'The Roar Of Thunder': '雷轰',
'The Voice Of Thunder': '雷声',
'Unrelenting Anguish': '无间地狱',
Expand All @@ -377,7 +370,6 @@ Options.Triggers.push({
},
'replaceText': {
'--Hakutei Add--': '--하얀 제왕 등장--',
'--leap north--': '--보스 북쪽으로 이동--',
'--tiger targetable--': '--호랑이 타겟가능--',
'--tiger untargetable--': '--호랑이 타겟불가--',
'Answer On High': '하늘의 번개',
Expand All @@ -386,17 +378,17 @@ Options.Triggers.push({
'Dance Of The Incomplete': '반수의 춤',
'Distant Clap': '원뢰',
'Fell Swoop': '신뢰풍렬파',
'Fire and Lightning': '뇌화일섬',
'Fire And Lightning': '뇌화일섬',
'Gale Force': '폭풍',
'Heavenly Strike': '천뢰장',
'Highest Stakes': '건곤일척',
'Hundredfold Havoc': '백뢰요란',
'Imperial Guard': '제왕의 진격',
'Ominous Wind': '불길한 바람',
'State of Shock': '주박뢰',
'State Of Shock': '주박뢰',
'Steel Claw': '강철 발톱',
'Storm Pulse': '풍뢰파동',
'Sweep the Leg': '돌려차기',
'Sweep The Leg': '돌려차기',
'The Roar Of Thunder': '뇌굉',
'The Voice Of Thunder': '뇌성',
'Unrelenting Anguish': '무간지옥',
Expand Down
Loading

0 comments on commit 1c72e68

Please sign in to comment.