Skip to content

Allow local mods to be searched, default sort by highest dps and fix influences mods.#5375

Closed
QuickStick123 wants to merge 38 commits into
PathOfBuildingCommunity:devfrom
QuickStick123:local-mod-support-and-default-sort-mods
Closed

Allow local mods to be searched, default sort by highest dps and fix influences mods.#5375
QuickStick123 wants to merge 38 commits into
PathOfBuildingCommunity:devfrom
QuickStick123:local-mod-support-and-default-sort-mods

Conversation

@QuickStick123
Copy link
Copy Markdown
Contributor

@QuickStick123 QuickStick123 commented Dec 16, 2022

Fixes: #5364 #5448

image

Description of the problem being solved:

Local mods aren't currently supported
Results weren't automatically sorted by full dps this was an option you could turn on but due to having to research it was hard to tell if it worked and should be the default behaviour tbh especially if we are dealing with inaccurate searches from not knowing base info which this patch allows.

Minimum weight is reduced significantly to help include more results in the search as they are now significantly less accurate this might create problems so would need testing to see if we hit the 10k item cap that starts causing problems.

Add mediocre support for flasks if flask isn't enabled it won't work base obviously don't work and effect does nothing cause their are no mods to scale.

Fix up influence mods and a couple other missing mods in the trader and in general. This was done by adding a new tag to the exporter as it seems influence items only use one flag for their given influence. e.g. influence "sword" will only apply to swords and not two hands which use "2h_sword" for their influence prefix. I had a good look at trying to find a way to apply this automatically but this solution was the easiest to maintain I could come up with.

Only search a similarly usable weapon. This does mean people using sceptres can't see wand / rune dagger potential upgrades which isn't ideal but it is overall more robust say some one was using a claw attack skill and swords are the best weight then they won't waste their search.

Fixes bug where import item isn't updated when sorting.

Fixes bug where full dps doesn't work with item sorting

Changes dps sorting to by default not include enchants with a toggle to re-enable them. This is because generally you will anoint an item for significantly less than the cost of dps difference. Expect in the case of helmet enchants.
image
This should be carefully considered as it could cause a lot of unwanted confusion it should be strongly considered removing this and picking a default behaviour.

@QuickStick123 QuickStick123 force-pushed the local-mod-support-and-default-sort-mods branch from d11100f to 59acccf Compare December 24, 2022 10:26
@QuickStick123 QuickStick123 changed the title Allow local mods to be searched and default sort by highest dps. Allow local mods to be searched, default sort by highest dps and fix influences mods. Dec 27, 2022
@QuickStick123 QuickStick123 force-pushed the local-mod-support-and-default-sort-mods branch from a18ec33 to 78c6e82 Compare January 2, 2023 22:10
@QuickStick123
Copy link
Copy Markdown
Contributor Author

QuickStick123 commented Apr 23, 2023

Closing as won't be fixing merge conflicts here as well, just use #5735

@QuickStick123 QuickStick123 deleted the local-mod-support-and-default-sort-mods branch April 24, 2023 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trade finder leaving out added ele damage for weapons

1 participant