Skip to content

Commit

Permalink
raidboss: asura ActorSetPos update (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
wexxlee authored Mar 10, 2024
1 parent f76557a commit 64b82b3
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions ui/raidboss/data/06-ew/trial/asura.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,20 +234,18 @@ const triggerSet: TriggerSet<Data> = {
},
{
id: 'Asura Iconic Execution With Jump',
type: 'CombatantMemory',
// Filter to only enemy actors for performance
netRegex: { id: '4[0-9A-Fa-f]{7}', capture: true },
type: 'ActorSetPos',
// The Asura Image doesn't have associated ActorSetPos lines except for this mechanic.
// Can't meaningfully filter regex as nearly all 271 lines are NPCs; but it's <100 in total.
netRegex: {},
condition: (data, matches) =>
data.iconicExecutionCount >= 3 &&
data.asuraImageId === matches.id &&
data.storedIconMech !== undefined,
alertText: (data, matches, output) => {
if (matches.pairPosX === undefined || matches.pairPosY === undefined)
return;

const imageLoc = Directions.xyToCardinalDirOutput(
parseFloat(matches.pairPosX),
parseFloat(matches.pairPosY),
parseFloat(matches.x),
parseFloat(matches.y),
centerX,
centerY,
);
Expand Down

0 comments on commit 64b82b3

Please sign in to comment.