Skip to content

Commit

Permalink
don't use secret door drops for stats unless we're wealthy
Browse files Browse the repository at this point in the history
  • Loading branch information
HippoKingKoL authored and Malibu-Stacey committed Sep 21, 2024
1 parent 52103d0 commit ba457cc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions RELEASE/scripts/autoscend/auto_post_adv.ash
Original file line number Diff line number Diff line change
Expand Up @@ -916,11 +916,16 @@ boolean auto_post_adventure()
// items which give stats
buffMaintain($effect[Scorched Earth]);
buffMaintain($effect[Wisdom of Others]);
foreach it in $items[azurite, eye agate, lapis lazuli]
// Only use these if we've got plenty of meat and aren't max level
// Otherwise we'll autosell them
if(my_meat() > meatReserve()+1000 && my_level()<13)
{
if(item_amount(it) > 0 && auto_is_valid(it))
foreach it in $items[azurite, eye agate, lapis lazuli]
{
use(it, item_amount(it));
if(item_amount(it) > 0 && auto_is_valid(it))
{
use(it, item_amount(it));
}
}
}

Expand Down

0 comments on commit ba457cc

Please sign in to comment.