With the upcoming demonic pact leagues (and the frequent release of new weapons in the main game), weapon attack ranges often change due to pacts or game updates. Currently, if a weapon's range is missing or incorrect in the attack-ranges plugin, users have to wait for a formal plugin update to see the correct visualization.
Proposed Solution
I suggest adding a Custom Overrides text field in the plugin configuration. This would allow users to manually input Item IDs (or names) along with their specific attack styles and ranges.
This serves two purposes:
:Future-proofing: Users can support new weapons on Day 1 of game updates.
2:Leagues Compatibility: Users can adjust ranges based on relics or active demonic pacts.
Implementation Idea
A simple multi-line text box in the settings where users can input data using a standard format (e.g CSV or colon-separated).
Format Example:
[ItemID/Name], [Attack Style Index], [Tiles]
861, 1-2, 7 // Magic Shortbow: Accurate/Rapid
861, 3, 9 // Magic Shortbow: Longrange
12926, 1-2, 5 // Blowpipe: Accurate/Rapid
12926, 3, 7 // Blowpipe: Longrange
Additional Considerations
Ease of Use: Supporting Item Names instead of just IDs would be much more user-friendly, though I understand if IDs are easier to implement.
Style Grouping: As shown in the example above, allowing a range of styles (e.g., 1-2) to share a distance value would keep the config clean.
With the upcoming demonic pact leagues (and the frequent release of new weapons in the main game), weapon attack ranges often change due to pacts or game updates. Currently, if a weapon's range is missing or incorrect in the attack-ranges plugin, users have to wait for a formal plugin update to see the correct visualization.
Proposed Solution
I suggest adding a Custom Overrides text field in the plugin configuration. This would allow users to manually input Item IDs (or names) along with their specific attack styles and ranges.
This serves two purposes:
:Future-proofing: Users can support new weapons on Day 1 of game updates.
2:Leagues Compatibility: Users can adjust ranges based on relics or active demonic pacts.
Implementation Idea
A simple multi-line text box in the settings where users can input data using a standard format (e.g CSV or colon-separated).
Format Example:
[ItemID/Name], [Attack Style Index], [Tiles]
Additional Considerations
Ease of Use: Supporting Item Names instead of just IDs would be much more user-friendly, though I understand if IDs are easier to implement.
Style Grouping: As shown in the example above, allowing a range of styles (e.g., 1-2) to share a distance value would keep the config clean.