Skip to content

Commit

Permalink
Update actionId upper limit for Dawntrail
Browse files Browse the repository at this point in the history
  • Loading branch information
reyronald committed Jul 19, 2024
1 parent d70a582 commit 6e74d52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 2 additions & 6 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,8 @@ export default function App() {
const actionId = parseInt(logParameter3, 16)

const isCombatAction =
(actionId >= 9 && actionId <= 30000) ||
actionId === ACTION_IDS.Sprint ||
actionId === ACTION_IDS["Release Iron Will"] ||
actionId === ACTION_IDS["Release Defiance"] ||
actionId === ACTION_IDS["Release Grit"] ||
actionId === ACTION_IDS["Release Royal Guard"]
(actionId >= 9 && actionId <= 40000) ||
actionId === ACTION_IDS.Sprint
const isCraftingAction = actionId >= 100001 && actionId <= 100300
const isBugOrDuplicate = logTimestamp === lastTimestamp
const isItem = ability.startsWith("item_")
Expand Down
4 changes: 0 additions & 4 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
export const ACTION_IDS = {
Sprint: 3,
"Release Iron Will": 32065,
"Release Defiance": 32066,
"Release Grit": 32067,
"Release Royal Guard": 32068,
} as const

// https://github.com/OverlayPlugin/cactbot/blob/main/docs/LogGuide.md
Expand Down

0 comments on commit 6e74d52

Please sign in to comment.