Skip to content

Commit

Permalink
raidboss: fix R1S stored quad leaps (#365)
Browse files Browse the repository at this point in the history
Currently,the direction of the quad cross clones is incorrect. I think
this was a slight oversight by Valarnin when coding. When determining
quad cross, the position of `quadCross` should be used for judgment, not
`oneTwoPaw`.
  • Loading branch information
Souma-Sumire authored Aug 24, 2024
1 parent b5b484d commit e9eadb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/raidboss/data/07-dt/raid/r1s.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,13 +559,13 @@ const triggerSet: TriggerSet<Data> = {
data.storedLeaps.quadCross.resolved = true;
let dir: 'dirE' | 'dirW';

if (data.storedLeaps.oneTwoPaw.northSouth === 'north') {
if (data.storedLeaps.oneTwoPaw.leftRight === 'left')
if (data.storedLeaps.quadCross.northSouth === 'north') {
if (data.storedLeaps.quadCross.leftRight === 'left')
dir = 'dirE';
else
dir = 'dirW';
} else {
if (data.storedLeaps.oneTwoPaw.leftRight === 'left')
if (data.storedLeaps.quadCross.leftRight === 'left')
dir = 'dirW';
else
dir = 'dirE';
Expand Down

0 comments on commit e9eadb6

Please sign in to comment.