Skip to content

Commit

Permalink
oopsy: fix food buff triggers (#5761)
Browse files Browse the repository at this point in the history
Fixes #5748
  • Loading branch information
quisquous authored Aug 10, 2023
1 parent bf8ccc6 commit 1deb225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/oopsyraidsy/data/00-misc/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const triggerSet: OopsyTriggerSet<Data> = {
comment: { cn: '食物消失' },
type: 'LosesEffect',
// Well Fed
netRegex: NetRegexes.losesEffect({ effectId: '48' }),
netRegex: NetRegexes.losesEffect({ effectId: '30' }),
condition: (_data, matches) => {
// Prevent "Eos loses the effect of Well Fed from Critlo Mcgee"
return matches.target === matches.source;
Expand Down Expand Up @@ -51,7 +51,7 @@ const triggerSet: OopsyTriggerSet<Data> = {
{
id: 'General Well Fed',
type: 'GainsEffect',
netRegex: NetRegexes.gainsEffect({ effectId: '48' }),
netRegex: NetRegexes.gainsEffect({ effectId: '30' }),
run: (data, matches) => {
if (!data.lostFood)
return;
Expand Down

0 comments on commit 1deb225

Please sign in to comment.