From 9fa077dde2e2caee335c0cbcb3ffba43cfbd63b8 Mon Sep 17 00:00:00 2001 From: Ignose Date: Mon, 4 Dec 2023 14:29:01 -0500 Subject: [PATCH] Last pass on sim --- src/lib.ts | 8 ++++++-- src/sim.ts | 6 ++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/lib.ts b/src/lib.ts index b20873c..0802ad0 100644 --- a/src/lib.ts +++ b/src/lib.ts @@ -153,7 +153,7 @@ export function sellMiscellaneousItems(): void { } export function computeHotRes(): number { - const cloake = have($item`vampyric cloake`) ? 2 : 0; + const cloake = have($item`vampyric cloake`) ? 5 : 0; const foam = have($item`Fourth of May Cosplay Saber`) && have($item`industrial fire extinguisher`) && @@ -178,7 +178,8 @@ export function computeHotRes(): number { have($familiar`Exotic Parrot`) && famWt >= 15 ? 2 : have($familiar`Exotic Parrot`) ? 1 : 0; const extingo = have($item`industrial fire extinguisher`) ? 3 : 0; - const parka = have($item`Jurassic Parka`) ? 1 : 0; + const shield = have($skill`Meteor Shower`) ? 3 : 0; + const parka = have($item`Jurassic Parka`) ? 3 : 0; const sweatpants = have($item`designer sweatpants`) ? 1 : 0; const paw = have($item`cursed monkey's paw`) ? 2 : 0; const crimbo = have($skill`Crimbo Training: Coal Taster`) ? 1 : 0; @@ -190,6 +191,7 @@ export function computeHotRes(): number { 60 - sumNumbers([ cloake, + shield, foam, factory, horse, @@ -460,6 +462,7 @@ export function computeBoozeDrop(): number { const madloot = have($skill`Mad Looting Skillz`) ? 20 : 0; const guzzlin = have($skill`Always Never Not Guzzling`) ? 25 : 0; const crimbo = have($skill`Crimbo Training: Bartender`) ? 15 : 0; + const lighthouse = have($item`august scepter`) ? 50 : 0; const all = sumNumbers([ loded, @@ -487,6 +490,7 @@ export function computeBoozeDrop(): number { madloot, guzzlin, crimbo, + lighthouse, ]); const addWish = all <= 780 ? 200 : 0; diff --git a/src/sim.ts b/src/sim.ts index b98b64d..3a34091 100644 --- a/src/sim.ts +++ b/src/sim.ts @@ -627,7 +627,9 @@ export function checkRequirements(): void { } export function checkTests(): void { - print(`Note: The below does not consider pulls, and assumes stat and HP tests take 1 turn each.`); + print( + `Note: The below does not consider pulls or seeded items, and assumes stat and HP tests take 1 turn each.` + ); const hotResTestTurns = computeHotRes(); print(`Hot Res Test expected to take ${hotResTestTurns} turns.`); @@ -636,7 +638,7 @@ export function checkTests(): void { print(`Weapon Damage Test expected to take ${wDmgTestTurns} turns.`); const sDmgTestTurns = computeSpellDamage(); - print(`Weapon Damage Test expected to take ${sDmgTestTurns} turns.`); + print(`Spell Damage Test expected to take ${sDmgTestTurns} turns.`); const ncTest = computeCombatFrequency(); const ncTestTurns = Math.max(1, Math.floor((100 + ncTest) / 5));