Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve noncombat stat gains with equipment #1112

Merged
merged 24 commits into from
Apr 30, 2022

Conversation

quarklikeadork
Copy link
Contributor

use equipment when it can give a free bonus to statgains from consumables and non combat actions

move equipRollover after nightcap because if it's done before nightcap, consume can replace the rollover equipment with a mafia pinky ring or with statgain equipment

How Has This Been Tested?

in run

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have based my pull request against the master branch or have a good reason not to.

quarklikeadork added a commit to quarklikeadork/autoscend_edits that referenced this pull request Apr 9, 2022
Copy link
Member

@Alium58 Alium58 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together! Agree extra stats are good

RELEASE/scripts/autoscend/auto_equipment.ash Outdated Show resolved Hide resolved
//want to equip best equipment that increases specified stat gains including out of combat
//should be frequently called by consume actions so try not to lose HP or MP, but will equip anyway if argument alwaysEquip is true
string maximizerStatement;
foreach st in increaseThisStat
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this skip stats which have been set to false?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would not, aggregates written like $stats[] only have true values in them but blocked false values now in case someone uses the function differently,
also added tonic djinn handling

Alium58
Alium58 previously approved these changes Apr 24, 2022
Copy link
Member

@Alium58 Alium58 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates! Do you know logic of why tonic djinn is only used on day 2? Seems like a better spot would be at the end of LX_dailyDungeonToken(). Going to approve as is since that isn't something you changed. Up to you if you want to merge or make a change.

@quarklikeadork
Copy link
Contributor Author

oops that was a change I made but skipped in the pr, thanks

@quarklikeadork quarklikeadork merged commit fbcb923 into loathers:master Apr 30, 2022
@quarklikeadork quarklikeadork deleted the statgain branch April 30, 2022 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants