Skip to content

Commit

Permalink
raidboss/oopsy: add P9N
Browse files Browse the repository at this point in the history
  • Loading branch information
foophoof committed May 27, 2023
1 parent 7f03895 commit cbac238
Show file tree
Hide file tree
Showing 3 changed files with 535 additions and 2 deletions.
19 changes: 18 additions & 1 deletion ui/oopsyraidsy/data/06-ew/raid/p9n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,24 @@ export type Data = OopsyData;

const triggerSet: OopsyTriggerSet<Data> = {
zoneId: ZoneId.AnabaseiosTheNinthCircle,
damageWarn: {},
damageWarn: {
'P9N Blizzard III (Large)': '811F',
'P9N Blizzard III (Small)': '8121',
'P9N Swinging Kick (Front Combination) ': '812D',
'P9N Swinging Kick (Rear Combination)': '812E',
'P9N Archaic Rockbreaker': '812A',
'P9N Ice Sphere Shatter (Large)': '86E5',
'P9N Ice Sphere Shatter (Small)': '86E4',
'P9N Fire Sphere Explosion (Large)': '86E3',
'P9N Fire Sphere Explosion (Small)': '86E2',
},
shareWarn: {
'P9N Pulverizing Pounce': '813F',
},
soloWarn: {
'P9N Fire III, large': '8120',
'P9N Fire III, small': '811E',
},
};

export default triggerSet;
164 changes: 163 additions & 1 deletion ui/raidboss/data/06-ew/raid/p9n.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import Conditions from '../../../../../resources/conditions';
import Outputs from '../../../../../resources/outputs';
import { Responses } from '../../../../../resources/responses';
import ZoneId from '../../../../../resources/zone_id';
import { RaidbossData } from '../../../../../types/data';
import { TriggerSet } from '../../../../../types/trigger';
Expand All @@ -8,7 +11,166 @@ const triggerSet: TriggerSet<Data> = {
id: 'AnabaseiosTheNinthCircle',
zoneId: ZoneId.AnabaseiosTheNinthCircle,
timelineFile: 'p9n.txt',
triggers: [],
triggers: [
{
id: 'P9N Gluttony\'s Augur',
type: 'StartsUsing',
netRegex: { id: '8116', source: 'Kokytos', capture: false },
response: Responses.aoe(),
},
{
id: 'P9N Global Spell',
type: 'StartsUsing',
netRegex: { id: '8141', source: 'Kokytos', capture: false },
infoText: (_data, _matches, output) => output.text!(),
outputStrings: {
text: {
en: 'aoe + bleed',
de: 'AoE + Blutung',
fr: 'AoE + saignement',
ja: 'AoE + DoT',
cn: 'AOE + 流血',
ko: '전체 공격 + 도트',
},
},
},
{
id: 'P9N Ascendant Fist',
type: 'StartsUsing',
netRegex: { id: '8131', source: 'Kokytos', capture: true },
response: Responses.tankBuster(),
},
{
id: 'P9N Pulverizing Pounce',
type: 'HeadMarker',
netRegex: { id: '00A1' },
response: Responses.stackMarkerOn(),
},
{
id: 'P9N Fire III',
type: 'HeadMarker',
netRegex: { id: '01C5' },
condition: Conditions.targetIsYou(),
response: Responses.spread(),
},
{
id: 'P9N Charybdis',
type: 'StartsUsing',
netRegex: { id: '8133', source: 'Kokytos', capture: true },
condition: Conditions.targetIsYou(),
infoText: (_data, _matches, output) => output.text!(),
outputStrings: {
text: {
en: 'Drop Puddles Outside',
de: 'Flächen drausen ablegen',
fr: 'Déposez les zones au sol à l\'extérieur',
ja: '散開',
cn: '散开',
ko: '산개',
},
},
},
{
id: 'P9N Archaic Rockbreaker',
type: 'StartsUsing',
netRegex: { id: '8128', source: 'Kokytos', capture: false },
response: Responses.knockback(),
},
{
id: 'P9N Beastly Roar',
type: 'StartsUsing',
netRegex: { id: '8138', source: 'Kokytos', capture: false },
response: Responses.knockback(),
},
{
id: 'P9N Archaic Demolish',
type: 'StartsUsing',
netRegex: { id: '812F', source: 'Kokytos', capture: false },
alertText: (_data, _matches, output) => output.healerGroups!(),
outputStrings: {
healerGroups: Outputs.healerGroups,
},
},
{
id: 'P9N Front Combination + Inside Roundhouse',
type: 'StartsUsing',
netRegex: { id: '8148', source: 'Kokytos', capture: false },
alertText: (_data, _matches, output) => output.text!(),
outputStrings: {
text: {
en: 'Get Behind and Under',
},
},
},
{
id: 'P9N Rear Combination + Inside Roundhouse',
type: 'StartsUsing',
netRegex: { id: '814A', source: 'Kokytos', capture: false },
alertText: (_data, _matches, output) => output.text!(),
outputStrings: {
text: {
en: 'Go Front and Under',
},
},
},
{
id: 'P9N Front Combination + Outside Roundhouse',
type: 'StartsUsing',
netRegex: { id: '8147', source: 'Kokytos', capture: false },
alertText: (_data, _matches, output) => output.text!(),
outputStrings: {
text: {
en: 'Get Behind and Out',
de: 'Geh nach Hinten und Raus',
fr: 'Passez derrière et extérieur',
ja: '後ろの外側へ',
cn: '去背后远离',
ko: '보스 뒤 바깥쪽으로',
},
},
},
{
id: 'P9N Rear Combination + Outside Roundhouse',
type: 'StartsUsing',
netRegex: { id: '8149', source: 'Kokytos', capture: false },
alertText: (_data, _matches, output) => output.text!(),
outputStrings: {
text: {
en: 'Go Front and Out',
},
},
},
{
id: 'P9N Ecliptic Meteor',
type: 'StartsUsing',
netRegex: { id: '813B', source: 'Kokytos', capture: false },
infoText: (_data, _matches, output) => output.text!(),
outputStrings: {
text: {
en: 'Hide behind unbroken meteor',
de: 'Hinter einem nicht zerbrochenen Meteor verstecken',
fr: 'Cachez-vous derrière le météore intact',
ja: '壊れていないメテオの後ろへ',
cn: '躲在未破碎的陨石后',
ko: '금이 안 간 돌 뒤에 숨기',
},
},
},
{
id: 'P9N Burst',
type: 'StartsUsing',
netRegex: { id: '8136', source: 'Comet', capture: false },
response: Responses.moveAway(),
},
],
timelineReplace: [
{
locale: 'en',
replaceText: {
'Front Combination/Rear Combination': 'Front/Rear Combination',
},
},
],
};

export default triggerSet;
Loading

0 comments on commit cbac238

Please sign in to comment.