From 3abcc4fbfe8286cdc780b7b673cb9bf2012f60ad Mon Sep 17 00:00:00 2001 From: Arodab Date: Sat, 7 Dec 2024 21:39:21 -0300 Subject: [PATCH] test --- src/lib/minions/data/killableMonsters/bosses/dt.ts | 9 +++++++++ tests/integration/commands/fish.test.ts | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/lib/minions/data/killableMonsters/bosses/dt.ts b/src/lib/minions/data/killableMonsters/bosses/dt.ts index 0b3dec5ab9..752d64a29a 100644 --- a/src/lib/minions/data/killableMonsters/bosses/dt.ts +++ b/src/lib/minions/data/killableMonsters/bosses/dt.ts @@ -589,6 +589,11 @@ export const desertTreasureKillableBosses: KillableMonster[] = [ gearSetup: 'melee' } ], + itemInBankBoosts: [ + { + [itemID('Voidwaker')]: 5, + } + ], respawnTime: Time.Minute * 1.5, levelRequirements: { @@ -615,6 +620,10 @@ export const desertTreasureKillableBosses: KillableMonster[] = [ { itemID: itemID('Scythe of vitur'), boostPercent: 15 + }, + { + itemID: itemID('Soulreaper axe'), + boostPercent: 18 } ] } diff --git a/tests/integration/commands/fish.test.ts b/tests/integration/commands/fish.test.ts index 4877ba06fb..ceec6b21d1 100644 --- a/tests/integration/commands/fish.test.ts +++ b/tests/integration/commands/fish.test.ts @@ -76,21 +76,21 @@ describe('Fish Command', async () => { it('should handle using flakes without flakes in bank', async () => { const user = await createTestUser(); - const res = await user.runCommand(fishCommand, { name: 'Shrimps/Anchovies', flakes: true }); + const res = await user.runCommand(fishCommand, { name: 'Shrimps/Anchovies', spirit_flakes: true }); expect(res).toEqual('You need to have at least one spirit flake!'); }); it('should fish with flakes', async () => { const user = await createTestUser(); await user.update({ bank: new Bank({ 'Spirit flakes': 1000 }) }); - const res = await user.runCommand(fishCommand, { name: 'Shrimps/Anchovies', flakes: true }); + const res = await user.runCommand(fishCommand, { name: 'Shrimps/Anchovies', spirit_flakes: true }); expect(res).toContain('50% more fish from using spirit flakes'); }); it('should still use flakes if bank contains fewer flakes than fish quantity', async () => { const user = await createTestUser(); await user.update({ bank: new Bank({ 'Spirit flakes': 100 }) }); - const res = await user.runCommand(fishCommand, { name: 'Shrimps/Anchovies', flakes: true }); + const res = await user.runCommand(fishCommand, { name: 'Shrimps/Anchovies', spirit_flakes: true }); expect(res).toContain('50% more fish from using spirit flakes'); }); });