Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TastyPumPum committed Oct 13, 2023
1 parent 656d96a commit b2ac6c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/lib/data/creatablesTable.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@
╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼─────────╢
║ Salve amulet(ei) │ 1x Tarn's diary, 1x Salve amulet(i) │ 1x Tarn's diary, 1x Salve amulet(ei) │ 0 ║
╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼─────────╢
║ Ring of wealth (i) │ 1x Ring of wealth, 1x Ring of wealth scroll │ 1x Ring of wealth (i) │ 50000 ║
╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼─────────╢
║ Strange hallowed tome │ 1x Mysterious page 1, 1x Mysterious page 2, 1x Mysterious page 3, 1x Mysterious page 4, 1x Mysterious page 5 │ 1x Strange hallowed tome │ 0 ║
╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼─────────╢
║ Frozen key │ 1x Frozen key piece (armadyl), 1x Frozen key piece (bandos), 1x Frozen key piece (zamorak), 1x Frozen key piece (saradomin) │ 1x Frozen key │ 0 ║
Expand Down
2 changes: 1 addition & 1 deletion src/mahoji/commands/kill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const killCommand: OSBMahojiCommand = {
limit: determineKillLimit(user),
catacombs: false,
onTask: false,
lootTableTertiaryChanges: Array.from(user.buildCATertiaryItemChanges().entries())
lootTableTertiaryChanges: Array.from(user.buildTertiaryItemChanges( false ).entries())

Check failure on line 81 in src/mahoji/commands/kill.ts

View workflow job for this annotation

GitHub Actions / ESLint

[eslint] reported by reviewdog 🐶 Replace `·false·` with `false` Raw Output: {"ruleId":"prettier/prettier","severity":2,"message":"Replace `·false·` with `false`","line":81,"column":71,"nodeType":null,"messageId":"replace","endLine":81,"endColumn":78,"fix":{"range":[2148,2155],"text":"false"}}
});

if (result.error) {
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/minions/pickpocketActivity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const pickpocketTask: MinionTask = {
if (obj.type === 'pickpockable') {
for (let i = 0; i < successfulQuantity; i++) {
const lootItems = obj.table.roll(1, {
tertiaryItemPercentageChanges: user.buildCATertiaryItemChanges()
tertiaryItemPercentageChanges: user.buildTertiaryItemChanges( false )

Check failure on line 63 in src/tasks/minions/pickpocketActivity.ts

View workflow job for this annotation

GitHub Actions / ESLint

[eslint] reported by reviewdog 🐶 Replace `·false·` with `false` Raw Output: {"ruleId":"prettier/prettier","severity":2,"message":"Replace `·false·` with `false`","line":63,"column":67,"nodeType":null,"messageId":"replace","endLine":63,"endColumn":74,"fix":{"range":[2477,2484],"text":"false"}}
});
// TODO: Remove Rocky from loot tables in oldschoolJS
if (lootItems.has('Rocky')) lootItems.remove('Rocky');
Expand Down

0 comments on commit b2ac6c8

Please sign in to comment.