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

Wildy slayer #5426

Merged
merged 115 commits into from
May 12, 2024
Merged

Wildy slayer #5426

merged 115 commits into from
May 12, 2024

Conversation

TastyPumPum
Copy link
Contributor

@TastyPumPum TastyPumPum commented Oct 12, 2023

Wildy slayer:

Changes:

  • Added Krystilia
  • Added larran's keys
  • Added slayers enchantment's
  • Added revs drop rates on task
  • Added ability to extend revs
  • Ensured you cant get catacombs drops during a wildy task
  • Added seperate slayer task streak for wildy slayer, checked Turael skipping resets the correct streaks
  • Added ring of wealth (i)
  • Added pkChance to monsters during a wildy task
  • Added pkChance to Scorpia, Chaos Elemental, Chaos Fanatic and Crazy Archaeologist
  • Added Dagon'hai to Slayer CL
  • Added 100% drop rate to larran's keys from superiors
  • Added I Wildy More Slayer unlock
  • Added a boolean to /k to allow kill trips in the wilderness off task (for boosted clue rates with row)
  • Added barraging to normal jellies if in the wilderness
  • Added 10% more common superiors if in wilderness
  • Added cannon to wildy Hill/Moss giants
  • Added multi cannon to wildy slayer cave npcs

@gc I'm completely fine if this isn't done in a way that works for you, this was just a personal fun project mainly with seeing how much I could do with it. Open to changing and moving anything into different PRs if that makes it easier for you.


🚀 This description was created by Ellipsis for commit 863b3bc

Summary:

This PR introduces comprehensive Wilderness Slayer features, including new NPCs, items, and task mechanics, deeply integrated into the game's systems.

Key points:

  • Added Krystilia NPC for Wilderness Slayer tasks.
  • Introduced larran's keys, slayer enchantments, and ring of wealth (i).
  • Implemented pkChance for monsters during Wilderness tasks.
  • Added separate slayer task streak for Wilderness tasks.
  • Included new items like Dagon'hai set to Slayer Collection Log.
  • Adjusted drop rates and mechanics to accommodate Wilderness setting.
  • Modified various files (schema.prisma, MUser.ts, CollectionsExport.ts, etc.) to support new features.

Generated with ❤️ by ellipsis.dev

@sweep-ai
Copy link

sweep-ai bot commented Oct 12, 2023

Apply Sweep Rules to your PR?

  • Apply: Leftover TODOs in the code should be handled.
  • Apply: All new business logic should have corresponding unit tests in the tests/ directory.
  • Apply: Any clearly inefficient or repeated code should be optimized or refactored.

@TastyPumPum TastyPumPum marked this pull request as ready for review April 23, 2024 12:37
src/lib/MUser.ts Outdated Show resolved Hide resolved
Comment on lines 311 to 318
{
name: 'Bird nest (ent)',
id: 5070,
openedItem: getOSItem(5070),
aliases: ['bird nest (ent)', 'ent nest', 'ent bird nest', 'bird nest ent'],
output: nestTable,
allItems: nestTable.allItems
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this dropping the red egg nest, and being called an ent nest?

src/mahoji/lib/abstracted_commands/slayerTaskCommand.ts Outdated Show resolved Hide resolved
src/lib/MUser.ts Outdated
Comment on lines 739 to 741
hasRingOfWealthI: boolean = false,
isInWilderness: boolean = false,
isOnSlayerTask: boolean = false
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use a named object so that its obvious which is which when calling it, e.g. buildTertiaryItemChanges({ hasRingOfWealthI: true, inWildy: true, onTask: false });


let hasRingOfWealthI = user.gear.wildy.hasEquipped('Ring of wealth (i)') && isInWilderness;
if (hasRingOfWealthI) {
messages.push('\nYour clue scroll chance is doubled due to wearing a Ring of Wealth (i).');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just a comment (im not sure), if the newlines are really needed in the messages added in this pr.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Think I have addressed all your queries, the testers did prefer having the message so they knew it was working for sure. But i can remove it if you think thats best, i only added it from testers feedback

@gc
Copy link
Collaborator

gc commented May 12, 2024

Hey @ellipsis, give me a code review (just trying something ignore this)

1 similar comment
@gc
Copy link
Collaborator

gc commented May 12, 2024

Hey @ellipsis, give me a code review (just trying something ignore this)

Copy link
Contributor

ellipsis-dev bot commented May 12, 2024

OK! Reviewing this PR...


Responding to this comment by @gc. For more information about Ellipsis, check the documentation.

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 863b3bc in 1 minute and 49 seconds

More details
  • Looked at 2481 lines of code in 36 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. /tests/unit/snapshots/clsnapshots.test.ts.snap:90
  • Draft comment:
    The addition of Dagon'hai items to the Slayer Collection Log is correctly reflected in the snapshot with the count increasing from 70 to 73 items.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The PR adds Dagon'hai items to the Slayer Collection Log (CL). The snapshot file for the collection log categories and items should reflect this addition. The snapshot shows that the Slayer category has increased from 70 to 73 items, which is consistent with the addition of three Dagon'hai items. This change is correct and aligns with the PR's intent to add these items to the Slayer CL.

Workflow ID: wflow_pGOHelJ7O79GuX9c


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

5 days left in your free trial, upgrade for $20/seat/month or contact us.

@gc gc enabled auto-merge (squash) May 12, 2024 14:02
@gc gc disabled auto-merge May 12, 2024 14:02
@gc gc merged commit 8329ced into oldschoolgg:master May 12, 2024
5 checks passed
@TastyPumPum TastyPumPum deleted the wildy-slayer branch May 12, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants