Skip to content

Commit

Permalink
Use all scepter charges
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimich committed Nov 22, 2023
1 parent d4d1de0 commit ff679de
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 30 deletions.
1 change: 1 addition & 0 deletions RELEASE/scripts/autoscend/auto_bedtime.ash
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ boolean doBedtime()
}

//We are committing to end of day now...
auto_scepterRollover(); //Use the rest of the August Scepter's charges
getSpaceJelly();
while(acquireHermitItem($item[11-leaf Clover]));

Expand Down
1 change: 1 addition & 0 deletions RELEASE/scripts/autoscend/autoscend_header.ash
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ void auto_buyFrom2002MrStore();
void auto_useBlackMonolith();
boolean auto_haveAugustScepter();
void auto_scepterSkills();
void auto_scepterRollover();
void auto_lostStomach();
boolean auto_haveBofa();
boolean auto_canHabitat();
Expand Down
54 changes: 24 additions & 30 deletions RELEASE/scripts/autoscend/iotms/mr2023.ash
Original file line number Diff line number Diff line change
Expand Up @@ -522,41 +522,35 @@ void auto_scepterSkills()
{
return;
}
//Day 1 skills
if(my_daycount() == 1)

if(canUse($skill[Aug. 24th: Waffle Day!]) && !get_property("_aug24Cast").to_boolean())
{
if(canUse($skill[Aug. 24th: Waffle Day!]) && !get_property("_aug24Cast").to_boolean())
{
use_skill($skill[Aug. 24th: Waffle Day!]); //get some waffles to hopefully change some bad monsters to better ones
}
if(canUse($skill[Aug. 30th: Beach Day!]) && !get_property("_aug30Cast").to_boolean())
{
use_skill($skill[Aug. 30th: Beach Day!]); //Rollover adventures
}
if(canUse($skill[Aug. 28th: Race Your Mouse Day!]) && !get_property("_aug28Cast").to_boolean() && pathHasFamiliar() && ((!auto_hasStillSuit() && item_amount($item[Astral pet sweater]) == 0) || in_small()))
{
if(!is100FamRun())
{
use_familiar(findNonRockFamiliarInTerrarium()); //equip non-rock fam to ensure we get tiny gold medal
}
use_skill($skill[Aug. 28th: Race Your Mouse Day!]); //Fam equipment
}
use_skill($skill[Aug. 24th: Waffle Day!]); //get some waffles to hopefully change some bad monsters to better ones
}
//Day 2+ skills
if(my_daycount() >= 2)
if(canUse($skill[Aug. 28th: Race Your Mouse Day!]) && !get_property("_aug28Cast").to_boolean() && pathHasFamiliar() && ((!auto_hasStillSuit() && item_amount($item[Astral pet sweater]) == 0) || in_small()))
{
if(canUse($skill[Aug. 24th: Waffle Day!]) && !get_property("_aug24Cast").to_boolean())
if(!is100FamRun())
{
use_skill($skill[Aug. 24th: Waffle Day!]); //get some waffles to hopefully change some bad monsters to better ones
}
if(canUse($skill[Aug. 28th: Race Your Mouse Day!]) && !get_property("_aug28Cast").to_boolean() && ((!auto_hasStillSuit() && item_amount($item[Astral pet sweater]) == 0) || in_small()))
{
if(!is100FamRun())
{
use_familiar(findNonRockFamiliarInTerrarium()); //equip non-rock fam to ensure we get tiny gold medal
}
use_skill($skill[Aug. 28th: Race Your Mouse Day!]); //Fam equipment
use_familiar(findNonRockFamiliarInTerrarium()); //equip non-rock fam to ensure we get tiny gold medal
}
use_skill($skill[Aug. 28th: Race Your Mouse Day!]); //Fam equipment
}
}

void auto_scepterRollover()
{
if(canUse($skill[Aug. 30th: Beach Day!]) && !get_property("_aug30Cast").to_boolean() && get_property("_augSkillsCast").to_int()< 5)
{
use_skill($skill[Aug. 30th: Beach Day!]); //Rollover adventures
}
if(canUse($skill[Aug. 27th: Just Because Day!]) && !get_property("_aug27Cast").to_boolean() && get_property("_augSkillsCast").to_int()< 5)
{
use_skill($skill[Aug. 27th: Just Because Day!]); //3 random buffs
}
if(canUse($skill[Aug. 13th: Left\/Off Hander\'s Day!]) && !get_property("_aug13Cast").to_boolean() &&
get_property("_augSkillsCast").to_int()< 5 && numeric_modifier(equipped_item($slot[offhand]),"Adventures") > 0)
{
use_skill($skill[Aug. 13th: Left\/Off Hander\'s Day!]); //3 random buffs
}
}
Expand Down

0 comments on commit ff679de

Please sign in to comment.