Skip to content

raidboss: OC add new phantom jobs and north horn template - #1126

Merged
Legends0 merged 10 commits into
mainfrom
update_phantom_jobs
Jul 30, 2026
Merged

raidboss: OC add new phantom jobs and north horn template#1126
Legends0 merged 10 commits into
mainfrom
update_phantom_jobs

Conversation

@Legends0

Copy link
Copy Markdown
Collaborator

This adds the new phantom jobs to the job data and some to the helper functions to start.

@cactbotbot

cactbotbot commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

@Legends0 Thanks for your contribution! 🌵🚀

@Legends0

Legends0 commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

I'm not sure if this warrants pulling the phantom job data out to its own includes or we end up having copied data in two files.

@github-actions github-actions Bot added raidboss /ui/raidboss module needs-review Awaiting review labels Jul 28, 2026
@Legends0 Legends0 changed the title raidboss: OC add new phantomJobs, helper functions, north horn template raidboss: OC add new phantom jobs and north horn template Jul 28, 2026
@xiashtra

xiashtra commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

I'm not sure if this warrants pulling the phantom job data out to its own includes or we end up having copied data in two files.

Yes, all the phantom job data and functions should be pulled out into a seperate file that can be included in both zone files so we aren't duplicating code.

I'd like to see something done about the duplication of the CE DirectorUpdate ids between the trigger files and the resource files but that would be a bigger change.

@xiashtra

Copy link
Copy Markdown
Collaborator

Reminder that you can and should run the lint and test scripts locally before uploading so you don't need so many follow-ups to correct simple errors.

@github-actions github-actions Bot added the resources /resources label Jul 29, 2026
@Legends0

Copy link
Copy Markdown
Collaborator Author

Reminder that you can and should run the lint and test scripts locally before uploading so you don't need so many follow-ups to correct simple errors.

I've been using npx eslint from the cactbot directory, but for some reason it doesn't catch a lot of these.

@xiashtra

Copy link
Copy Markdown
Collaborator

Reminder that you can and should run the lint and test scripts locally before uploading so you don't need so many follow-ups to correct simple errors.

I've been using npx eslint from the cactbot directory, but for some reason it doesn't catch a lot of these.

The lint script runs more than just eslint; you're failing on the dprint checks right now. npm run lint will run the entire script.

@Legends0

Copy link
Copy Markdown
Collaborator Author

The lint script runs more than just eslint; you're failing on the dprint checks right now. npm run lint will run the entire script.

I see, thanks I was able to run the lint command there and npm test command. I see the post-process test fails. I am not sure why.

@Bing-su

Bing-su commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

On a different note, among the CE bosses, Arbatel uses a mechanic based on the knowledge level... This might require some work. ( Knowledge level 5 death , Knowledge level 3 holy, Knowledge level 4 flare, Knowledge level prime number death )

Comment thread resources/occult_crescent_common.ts Outdated
Comment on lines +227 to +236
effectIds,
canDispel,
canSlow,
canCleanse,
canFreeze,
canSuspend,
caresAboutTankbuster,
canBlockPhysical,
canBlockMagical,
caresAboutAOE,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
effectIds,
canDispel,
canSlow,
canCleanse,
canFreeze,
canSuspend,
caresAboutTankbuster,
canBlockPhysical,
canBlockMagical,
caresAboutAOE,
effectIds: effectIds,
canDispel: canDispel,
canSlow: canSlow,
canCleanse: canCleanse,
canFreeze: canFreeze,
canSuspend: canSuspend,
caresAboutTankbuster: caresAboutTankbuster,
canBlockPhysical: canBlockPhysical,
canBlockMagical: canBlockMagical,
caresAboutAOE: caresAboutAOE,

This should resolve your error.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems it's something more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's failing the test that checks if user js override files will work when in an eval'ed context. We should still be able to move the helper functions out into a seperate file, but I think we're stuck having to duplicate the effect ids, unless someone else has a solution.

cc: @valarnin

@github-actions github-actions Bot removed the needs-review Awaiting review label Jul 29, 2026
Co-authored-by: xiashtra <91220277+xiashtra@users.noreply.github.com>
@github-actions github-actions Bot added the needs-review Awaiting review label Jul 29, 2026

@xiashtra xiashtra left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these are easier to read as a single-line.

Comment thread resources/occult_crescent_common.ts Outdated
Comment thread resources/occult_crescent_common.ts Outdated
Comment thread resources/occult_crescent_common.ts Outdated
Comment thread resources/occult_crescent_common.ts Outdated
Comment thread resources/occult_crescent_common.ts Outdated
Comment thread resources/occult_crescent_common.ts Outdated
Comment thread resources/occult_crescent_common.ts Outdated
Comment thread resources/occult_crescent_common.ts Outdated
Comment thread resources/occult_crescent_common.ts Outdated

@xiashtra xiashtra left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should solve the process-triggers script failing on the user js eval test. It's not an ideal solution but I think we're stuck with the way user js files work.

Comment thread resources/occult_crescent_common.ts Outdated
Comment thread resources/occult_crescent_common.ts Outdated
Comment thread ui/raidboss/data/07-dt/eureka/occult_crescent_north_horn.ts
Comment thread ui/raidboss/data/07-dt/eureka/occult_crescent_north_horn.ts Outdated
Comment thread ui/raidboss/data/07-dt/eureka/occult_crescent_south_horn.ts
Comment thread ui/raidboss/data/07-dt/eureka/occult_crescent_south_horn.ts Outdated
Comment thread ui/raidboss/data/07-dt/eureka/occult_crescent_north_horn.ts Outdated
@github-actions github-actions Bot removed the needs-review Awaiting review label Jul 29, 2026
@github-actions github-actions Bot added the needs-review Awaiting review label Jul 29, 2026
@Legends0

Copy link
Copy Markdown
Collaborator Author

Thanks @xiashtra for helping troubleshoot the post-process test issue. I probably won't get around to work on north horn until I finish up DMU, but wanted to quickly update the new phantom jobs for existing South Horn triggers and future North Horn work.

@github-actions github-actions Bot removed the needs-review Awaiting review label Jul 30, 2026
@Legends0
Legends0 merged commit 046944e into main Jul 30, 2026
12 checks passed
@Legends0
Legends0 deleted the update_phantom_jobs branch July 30, 2026 06:36
github-actions Bot pushed a commit that referenced this pull request Jul 30, 2026
…late (#1126)

This adds the new phantom jobs to the job data and some to the helper
functions to start. Additionally, moves the functions to a common resource.

---------

Co-authored-by: xiashtra <91220277+xiashtra@users.noreply.github.com> 046944e
github-actions Bot pushed a commit that referenced this pull request Jul 30, 2026
…late (#1126)

This adds the new phantom jobs to the job data and some to the helper
functions to start. Additionally, moves the functions to a common resource.

---------

Co-authored-by: xiashtra <91220277+xiashtra@users.noreply.github.com> 046944e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

raidboss /ui/raidboss module resources /resources

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants