sort-scrolls - Added unleash option #7044
Merged
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.
Added option to specify a scroll to pull out, cast unleash on it, and then cast the spell if it was successful.
A waggle set for unleash is needed for this. It needs to be set as follows, but you can edit how much mana you want to cast unleash at:
For this functionality I added 2 new yaml settings,
unleash_mana
andunleash_harnesses
. They are both integers andunleash_mana
is the total mana you want to cast the unleased spell at andunleash_harnesses
is how many times you want to harness to hold that much mana for the cast.For example, if you set
unleash_mana
to 100 and then cast unleash on a scroll, it will perceive to see how much mana the spell is prepped at, take 100 - that, and then harness the rest by harnessingunleash_harnesses
times.I also added the option to specify the spell by abbreviation so instead of this:
;sort-scrolls find "whispers of the muse"
You can now do this:
;sort-scrolls find wotm