-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add support for socketed in specific socket color mods found on Dialla's Malefaction, Malachai's Artifice, Doomsower #4981
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
Add support for socketed in specific socket color mods found on Dialla's Malefaction, Malachai's Artifice, Doomsower #4981
Conversation
|
If your adding logic for socket colours, is it possible to do the opposite and add logic for gem colours, particularly Doomsower and Malachai's Artifice? |
|
@Regisle I'm not sure but likely doable. I'll look into it. |
…ocketedIn condition to allow for more precise handling of mods.
…t. Refactor the rest of the code to use dots instead of full keys.
Co-authored-by: QuickStick <31533893+QuickStick123@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once these are addressed I think this would be good to merge.
…y code and allow easier negation.
|
I removed some checks from the SocketedIn condition. This allows for more flexibility with negation and simplifies code but could also cause issues if used incorrectly. |
|
Yeah I see what you mean like that now if use neg = true with keywords and socketColour it will ignore the socketColour bit and just match negative of the keyword. I guess there are just so many keys in this code now it can produce some uncertain interactions with tag.neg because there are mutliple things that could be negated. A maintainer should probably decide if we apply tag.neg only for socketColours/sockets or do this extended/unclear implementation of it. |
|
The last change seemed to break some stuff as well. I think this can be resolved by moving the socket colour comparasion after the socket stuff and adding a nil check. |
|
@QuickStick123 VaalPact from DoomSower doesn't work but can't replicate the other issues you're having. Dialla's mods, Malachai and Doomsower phys as extra seem to work fine. I'll try to reorder the checks like you said. |
|
Sorry should've been clearer mods like +1 to level of socket's gems doesn't work. |
…checks for coloor.
|
Note If there exist two groups both socketed into Doomsower, one with a single red gem and the other with a green gem the group with the single red gem will be enough to satisfy the |
|
This seems to behave correctly it has merge conflict though and it would be nice to get #5179 merged first to check the tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of those mod parsing lines might be able to be generalized some more (e.g. level/quality could be dynamic) but otherwise this looks good to me.
Fixes #4912 .
Description of the problem being solved:
Adds support for mods found on Dialla's Malefaction.
Steps taken to verify a working solution:
-Equip Dialla's Malefaction and test.
-Equip Malachai's Artifice and test
-Equip Doomsower and test
Link to a build that showcases this PR:
https://pobb.in/SsGKk-Zz6COOafter_dialla.mp4