Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Fletching at Sepulchre #5952

Closed
wants to merge 5,717 commits into from

Conversation

TastyPumPum
Copy link
Contributor

@TastyPumPum TastyPumPum commented Jul 12, 2024

Allows the fletching of darts, arrows and bolts during Sepulchre trips

  • I have tested all my changes thoroughly.

🚀 This description was created by Ellipsis for commit e8cfabc

Summary:

Allows fletching of darts, arrows, and bolts during Sepulchre trips by updating command options, task options, and task execution logic.

Key points:

  • Updated src/lib/types/minions.ts to include fletch option in SepulchreActivityTaskOptions.
  • Modified src/mahoji/commands/minigames.ts to add fletching option in sepulchre command.
  • Updated sepulchreCommand in src/mahoji/lib/abstracted_commands/sepulchreCommand.ts to handle fletching logic.
  • Modified sepulchreTask in src/tasks/minions/minigames/sepulchreActivity.ts to process fletching during Sepulchre trips.
  • Added zeroTimeFletchables array in src/lib/skilling/skills/fletching/fletchables/index.ts to list fletchable items that can be crafted during Sepulchre trips.
  • Updated src/lib/skilling/skills/fletching/fletchables/slayer.ts to export individual fletchable items.

Generated with ❤️ by ellipsis.dev

@TastyPumPum
Copy link
Contributor Author

@ellipsis-dev can you review this pr

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 64d7f12 in 43 seconds

More details
  • Looked at 281 lines of code in 4 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. src/lib/types/minions.ts:384
  • Draft comment:
    The PR description indicates that the changes have not been tested. It's crucial to perform thorough testing, especially for new features that affect game mechanics, to ensure that the implementation works as expected and does not introduce bugs.
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_QDmtuaaclVmxnhBO


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@TastyPumPum
Copy link
Contributor Author

@ellipsis-dev can you review this pr

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to f0b2903 in 49 seconds

More details
  • Looked at 421 lines of code in 7 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_uxXYnzPl01kFVXLx


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

src/mahoji/lib/abstracted_commands/sepulchreCommand.ts Outdated Show resolved Hide resolved
@TastyPumPum TastyPumPum marked this pull request as ready for review July 13, 2024 08:54
@TastyPumPum
Copy link
Contributor Author

@ellipsis-dev can you review and summarise this pr and delete all the previous reviews

Copy link
Contributor

ellipsis-dev bot commented Jul 13, 2024

Sorry, I don't know how to help with that. If you tag me (@ellipsis-dev) in a comment, I can do one of these things (but not multiple at once):

  • review and summarize this pull request
  • make changes to this pull request
  • answer questions about this PR, or about the codebase in general
  • hide my old reviews on this PR (to reduce clutter)

I am able to see previous issue comments for context.

@TastyPumPum
Copy link
Contributor Author

@ellipsis-dev review and summarize this pull request

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to e8cfabc in 51 seconds

More details
  • Looked at 420 lines of code in 7 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_3tCqUCdtWaS2XJUL


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

src/mahoji/lib/abstracted_commands/sepulchreCommand.ts Outdated Show resolved Hide resolved
@@ -380,6 +381,10 @@ export interface TitheFarmActivityTaskOptions extends MinigameActivityTaskOption
export interface SepulchreActivityTaskOptions extends MinigameActivityTaskOptions {
type: 'Sepulchre';
floors: number[];
fletch?: {
fletchable: Fletchable;
Copy link
Collaborator

Choose a reason for hiding this comment

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

ActivityTaskOptions are stored in the database as json, this is storing the full fletchable object there. Like how we use monsterID instead of putting the full monster data, anything that goes in activity task options should use an ID. So this needs to be changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.