Skip to content

Commit

Permalink
samurai positionals
Browse files Browse the repository at this point in the history
  • Loading branch information
quisquous committed Oct 5, 2022
1 parent 51d151f commit ade17b2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions oopsyraidsy/jobs/sam.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Options.Triggers.push({
zoneId: ZoneId.MatchAll,
triggers: [
{
// 1D3A = Kasha (flank)
// 1D39 = Gekko (rear)
id: 'Samurai Positional',
netRegex: NetRegexes.abilityFull({ id: '1D3[A9]' }),
mistake: (data, matches) => {
if (/^4471.{4}$/.test(matches.flags))
return;
if (/^3F71.{4}$/.test(matches.flags)) {
return {
type: 'damage',
blame: matches.source,
reportId: matches.sourceId,
text: {
en: `${matches.ability} (positional)`,
},
};
}

return {
type: 'damage',
blame: matches.source,
text: {
en: `${matches.ability} (no combo)`,
},
};
},
},
],
});

0 comments on commit ade17b2

Please sign in to comment.