AutoReroll modifications for bugfixes, gemcan incrementing, and support for unique rerolling#7
Draft
downtm wants to merge 5 commits intonooperation:masterfrom
Draft
AutoReroll modifications for bugfixes, gemcan incrementing, and support for unique rerolling#7downtm wants to merge 5 commits intonooperation:masterfrom
downtm wants to merge 5 commits intonooperation:masterfrom
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.