Skip to content

Commit

Permalink
triggers build: raidboss: update seal triggers to SystemLogMessage (#…
Browse files Browse the repository at this point in the history
…5965)

This is related to #4201. bf5b96c
  • Loading branch information
github-actions committed Dec 1, 2023
1 parent d76b6d4 commit c4c5b5a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 48 deletions.
9 changes: 3 additions & 6 deletions 02-arr/raid/t1.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,9 @@ Options.Triggers.push({
},
{
id: 'T1 Slime Timer First',
type: 'GameLog',
netRegex: {
line: 'The Allagan megastructure will be sealed off.*?',
code: Util.gameLogCodes.message,
capture: false,
},
type: 'SystemLogMessage',
// The Allagan megastructure will be sealed off
netRegex: { id: '7DC', param1: '379', capture: false },
delaySeconds: 35,
suppressSeconds: 5,
infoText: (_data, _matches, output) => output.text(),
Expand Down
27 changes: 9 additions & 18 deletions 03-hw/alliance/weeping_city.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,35 +70,26 @@ Options.Triggers.push({
// Because of this, we restrict those triggers for each boss to activate
// only when that boss is in progress.
id: 'Weeping City HeadMarker Arachne',
type: 'GameLog',
netRegex: {
line: 'The Queen\'s Room will be sealed off.*?',
code: Util.gameLogCodes.message,
capture: false,
},
type: 'SystemLogMessage',
// The Queen's Room will be sealed off
netRegex: { id: '7DC', param1: '6E0', capture: false },
run: (data) => data.arachneStarted = true,
},
{
id: 'Weeping City HeadMarker Ozma',
type: 'GameLog',
netRegex: {
line: 'The Gloriole will be sealed off.*?',
code: Util.gameLogCodes.message,
capture: false,
},
type: 'SystemLogMessage',
// The Gloriole will be sealed off
netRegex: { id: '7DC', param1: '6E5', capture: false },
run: (data) => {
data.arachneStarted = false;
data.ozmaStarted = true;
},
},
{
id: 'Weeping City HeadMarker Calofisteri',
type: 'GameLog',
netRegex: {
line: 'The Tomb Of The Nullstone will be sealed off.*?',
code: Util.gameLogCodes.message,
capture: false,
},
type: 'SystemLogMessage',
// The Tomb Of The Nullstone will be sealed off
netRegex: { id: '7DC', param1: '6E6', capture: false },
run: (data) => {
data.ozmaStarted = false;
data.calStarted = true;
Expand Down
18 changes: 6 additions & 12 deletions 04-sb/eureka/eureka_hydatos.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,16 @@ Options.Triggers.push({
},
{
id: 'BA Seal',
type: 'GameLog',
netRegex: {
line: '.* will be sealed off.*?',
code: Util.gameLogCodes.message,
capture: false,
},
type: 'SystemLogMessage',
// "will be sealed off"
netRegex: { id: '7DC', capture: false },
run: (data) => data.sealed = true,
},
{
id: 'BA Clear Data',
type: 'GameLog',
netRegex: {
line: '.*is no longer sealed.*?',
code: Util.gameLogCodes.message,
capture: false,
},
type: 'SystemLogMessage',
// "is no longer sealed"
netRegex: { id: '7DE', capture: false },
run: (data) => {
delete data.side;
delete data.mythcall;
Expand Down
18 changes: 6 additions & 12 deletions 06-ew/dungeon/the_sildihn_subterrane.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ Options.Triggers.push({
triggers: [
{
id: 'Sildihn Geryon Seal Left Mechs',
type: 'GameLog',
netRegex: {
line: 'The Silt Pump will be sealed off.*?',
code: Util.gameLogCodes.message,
capture: false,
},
type: 'SystemLogMessage',
// The Silt Pump will be sealed off
netRegex: { id: '7DC', param1: '1068', capture: false },
// May be overwritten by Runaway Sludge below.
run: (data) => data.catapultMechs = leftDoorYesPump,
},
Expand All @@ -124,12 +121,9 @@ Options.Triggers.push({
},
{
id: 'Sildihn Geryon Seal Right Mechs',
type: 'GameLog',
netRegex: {
line: 'The Settling Basin will be sealed off.*?',
code: Util.gameLogCodes.message,
capture: false,
},
type: 'SystemLogMessage',
// The Settling Basin will be sealed off
netRegex: { id: '7DC', param1: '106D', capture: false },
// May be overwritten by Suddenly Sewage below.
run: (data) => data.catapultMechs = rightDoorNoCeruleum,
},
Expand Down

0 comments on commit c4c5b5a

Please sign in to comment.