Skip to content

Commit

Permalink
Use item fam in the Defiled Cranny if we want dieting pills
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimich committed Nov 6, 2024
1 parent c5e02e3 commit 5df041e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RELEASE/scripts/autoscend/auto_familiar.ash
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,10 @@ boolean autoChooseFamiliar(location place)
if (place == auto_availableBrickRift()) {
famChoice = lookupFamiliarDatafile("item"); // get more shadow bricks
}
if ($location[The Defiled Cranny] == place && auto_turbo() && item_amount($item[dieting pills]) + get_property("auto_dietpills").to_int() < 3)
{
famChoice = lookupFamiliarDatafile("item"); // get dieting pills faster if in turbo
}
// If we're down to 1 evilness left before the boss in the Nook, it doesn't matter if we get an Evil Eye or not.
if ($location[The Defiled Nook] == place && get_property("cyrptNookEvilness").to_int() > 14)
Expand Down

0 comments on commit 5df041e

Please sign in to comment.