Skip to content

Commit

Permalink
some tiers were slightly faster than they should be
Browse files Browse the repository at this point in the history
  • Loading branch information
Arodab committed Oct 12, 2024
1 parent c424e99 commit fa40e72
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
6 changes: 3 additions & 3 deletions src/lib/clues/clueTiers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const ClueTiers: ClueTier[] = [
table: Medium,
id: 20_545,
scrollID: 2801,
timeToFinish: Time.Minute * 5.0,
timeToFinish: Time.Minute * 6.0,
milestoneReward: {
itemReward: itemID('Clueless scroll'),
scoreNeeded: 400
Expand Down Expand Up @@ -113,7 +113,7 @@ export const ClueTiers: ClueTier[] = [
table: Elite,
id: 20_543,
scrollID: 12_073,
timeToFinish: Time.Minute * 14,
timeToFinish: Time.Minute * 13.5,
milestoneReward: {
itemReward: itemID('Heavy casket'),
scoreNeeded: 200
Expand All @@ -130,7 +130,7 @@ export const ClueTiers: ClueTier[] = [
table: Master,
id: 19_836,
scrollID: 19_835,
timeToFinish: Time.Minute * 21.0,
timeToFinish: Time.Minute * 25.5,
milestoneReward: {
itemReward: itemID('Scroll sack'),
scoreNeeded: 100
Expand Down
37 changes: 17 additions & 20 deletions src/mahoji/commands/clue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const clueCommand: OSBMahojiCommand = {
)}.`;
}

const randomAddedDuration = randInt(1, 20);
const randomAddedDuration = 10.5; //randInt(1, 20);
duration += (randomAddedDuration * duration) / 100;
const poh = await getPOH(user.id);
const hasOrnateJewelleryBox = poh.jewellery_box === getPOHObject('Ornate jewellery box').id;
Expand Down Expand Up @@ -278,19 +278,19 @@ export const clueCommand: OSBMahojiCommand = {
{
item: getOSItem('Toxic blowpipe'),
boost: '10% for Toxic blowpipe',
durationMultiplier: 0.9
durationMultiplier: 0.90
},
{
item: getOSItem('Book of the dead'),
boost: '10% for Book of the dead',
durationMultiplier: 0.9
durationMultiplier: 0.90
}
],
Elite: [
{
item: getOSItem('Achievement diary cape'),
boost: '15% for Achievement diary cape',
durationMultiplier: 0.85
boost: '12% for Achievement diary cape',
durationMultiplier: 0.88
},
{
item: getOSItem('Kandarin headgear 4'),
Expand All @@ -309,7 +309,7 @@ export const clueCommand: OSBMahojiCommand = {
},
{
item: getOSItem('Toxic blowpipe'),
boost: '10% for Toxic blowpipe',
boost: '5% for Toxic blowpipe',
durationMultiplier: 0.95
},
{
Expand All @@ -321,8 +321,8 @@ export const clueCommand: OSBMahojiCommand = {
Master: [
{
item: getOSItem('Achievement diary cape'),
boost: '15% for Achievement diary cape',
durationMultiplier: 0.85
boost: '12% for Achievement diary cape',
durationMultiplier: 0.88
},
{
item: getOSItem('Kandarin headgear 4'),
Expand All @@ -341,13 +341,13 @@ export const clueCommand: OSBMahojiCommand = {
},
{
item: getOSItem('Toxic blowpipe'),
boost: '10% for Toxic blowpipe',
durationMultiplier: 0.9
boost: '5% for Toxic blowpipe',
durationMultiplier: 0.95
},
{
item: getOSItem('Dragon claws'),
boost: '5% for Dragon claws',
durationMultiplier: 0.95
boost: '3% for Dragon claws',
durationMultiplier: 0.97
},
{
item: getOSItem('Book of the dead'),
Expand Down Expand Up @@ -399,9 +399,8 @@ export const clueCommand: OSBMahojiCommand = {
return `You don't have any clues, and didn't find any in ${openedImplings}x ${clueImpling.name}s. At least you received the following loot: ${implingLoot}.`;
}
quantity = bankedClues + implingClues;
implingLootString = `\n\nYou will find ${implingClues} clue${
implingClues === 0 || implingClues > 1 ? 's' : ''
} from ${openedImplings}x ${clueImpling.name}s, and receive the following loot: ${implingLoot}.`;
implingLootString = `\n\nYou will find ${implingClues} clue${implingClues === 0 || implingClues > 1 ? 's' : ''
} from ${openedImplings}x ${clueImpling.name}s, and receive the following loot: ${implingLoot}.`;
}

duration = timeToFinish * quantity;
Expand All @@ -416,10 +415,8 @@ export const clueCommand: OSBMahojiCommand = {
duration,
type: 'ClueCompletion'
});
return `${user.minionName} is now completing ${quantity}x ${
clueTier.name
} clues, it'll take around ${formatDuration(duration)} to finish.${
boosts.length > 0 ? `\n\n**Boosts:** ${boosts.join(', ')}.` : ''
}${implingLootString}`;
return `${user.minionName} is now completing ${quantity}x ${clueTier.name
} clues, it'll take around ${formatDuration(duration)} to finish.${boosts.length > 0 ? `\n\n**Boosts:** ${boosts.join(', ')}.` : ''
}${implingLootString}`;
}
};

0 comments on commit fa40e72

Please sign in to comment.