Skip to content

Commit

Permalink
Guarantee brimstone keys from konar superiors (#6171)
Browse files Browse the repository at this point in the history
  • Loading branch information
DayV-git authored Nov 8, 2024
1 parent f884ab3 commit 26414dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tasks/minions/monsterActivity.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Time, deepClone, percentChance } from 'e';
import type { MonsterKillOptions } from 'oldschooljs';
import { Bank, EMonster, Monsters } from 'oldschooljs';
import { Bank, EMonster, MonsterSlayerMaster, Monsters } from 'oldschooljs';

import { type BitField, Emoji } from '../../lib/constants';
import { userhasDiaryTierSync } from '../../lib/diaries';
Expand Down Expand Up @@ -335,9 +335,10 @@ export function doMonsterTrip(data: newOptions) {
monster.specialLoot({ loot, ownedItems: gearBank.bank, quantity: finalQuantity, cl: data.cl });
}
if (newSuperiorCount) {
loot.add(superiorTable?.kill(newSuperiorCount));
loot.add(superiorTable?.kill(newSuperiorCount).set('Brimstone key', 0)); //remove the rng keys, todo: remove drop from superiors in osjs?
if (isInCatacombs) loot.add('Dark totem base', newSuperiorCount);
if (isInWilderness) loot.add("Larran's key", newSuperiorCount);
if (killOptions.slayerMaster === MonsterSlayerMaster.Konar) loot.add('Brimstone key', newSuperiorCount);
}
if (isInWilderness && monster.name === 'Hill giant') {
for (let i = 0; i < quantity; i++) {
Expand Down

0 comments on commit 26414dd

Please sign in to comment.