-
Notifications
You must be signed in to change notification settings - Fork 133
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
Brimstone key from Superior #5942
Conversation
@ellipsis-dev review this pr |
There was a problem hiding this 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 7a446ca in 20 seconds
More details
- Looked at
61
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. src/tasks/minions/monsterActivity.ts:260
- Draft comment:
The implementation correctly adds a brimstone key for each superior monster killed while on a Konar task, as intended in the PR. - Reason this comment was not posted:
Confidence changes required:0%
The PR description states that a brimstone key should be guaranteed from a superior monster when on a Konar task. The implementation inmonsterActivity.ts
correctly adds a brimstone key for each superior monster killed under these conditions. However, the logic should ensure that this only happens when a superior is actually encountered and killed, which is handled by checkingnewSuperiorCount
before adding the key. This seems correct as per the PR's intent.
Workflow ID: wflow_UfEsNHce6i5bbKFE
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
let isUsingKonar = false; | ||
if (isOnTask && usersTask.slayerMaster.id === 5) isUsingKonar = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be changed to be the same as these:
usingCannon: !usingCannon ? undefined : usingCannon,
cannonMulti: !cannonMulti ? undefined : cannonMulti,
and change the type to isUsingKonar?: true;
, so its either undefined, or true.
This is just to not have unnecessary stuff in the data in the db.
Guarantees a brimstone key drop from a superior on a konar slayer task
Summary:
Guarantees a Brimstone key drop from a superior monster on a Konar Slayer task by adding the
isUsingKonar
flag and updating loot logic.Key points:
isUsingKonar
flag toMonsterActivityTaskOptions
insrc/lib/types/minions.ts
.minionKillCommand
insrc/mahoji/lib/abstracted_commands/minionKill.ts
to setisUsingKonar
when on a Konar Slayer task.monsterTask
insrc/tasks/minions/monsterActivity.ts
to add a Brimstone key to the loot ifisUsingKonar
is true and a superior monster is killed.Generated with ❤️ by ellipsis.dev
closes: #5999