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

AutoReroll modifications for bugfixes, gemcan incrementing, and support for unique rerolling #7

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

downtm
Copy link

@downtm downtm commented Oct 17, 2022

First pass, contains all modifications tested while rerolling 4x -15% stat rumour of pain belts (1/10000 chance).

Config ini options set if you want to have AR advance the gem can one slot when out of gems, or stop as expected.

Can now specify the number of Uniquestats you want matched on the item to the contents of GoodUniqueStats_ar.txt

Stats in GoodUniqueStats_ar.txt are pulled from the ItemStatCost.txt file located in the patch mpq. Follows the format of:
statId[tab]statName[tab]desiredValue[newline]

Also fixed a bug where the gemcan and canopener had swapped IDs, thus resulting in their pickup checks never resolving properly.

All other changes are mainly for Unique Rerolling, though the other forms of reroll will benefit from gem can incrementing.

Note: This is a preliminary version, these stat checks cannot be used on non-unique items currently. That will be an upcoming feature.

I believe I have tested the proper use cases, but I did not use AR much before this, so use at your own risk as always.

fixed bugs where gemcan and canopener ids were swapped.
The check to see if you had both was also erroneous due to the nature of the swap.
Added functionality to auto-increment gem can when it runs out of a gem type
Added functionality to reroll uniques based on a provide set of stat ids and target values
cosmetic code change fixes to better match source
modifications for auto-incrementing gem can, and unique rerolling
added options for gem can incrementing and unique stat hunting
stat file for unique rerolling
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.

1 participant