You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason it happened this way is because charges are not separate from modules. Instead, a Module class as both the module item and the charge item set, and when the calculations are run the charge gets lumped into it.
When it's represented, however, it looks like the module is modifying itself, due to an oversight in the GUI. We could have made a Charge object, but that's more involved and unneeded. Instead, we check the list of afflictors and see if they match the item we're looking at. If so, we use the charge as the item, instead of the modules item. This required a little bit of tweaking in how the dictionaries are put together on the GUI side, but worked out well.
Showing affected by for 125mm Gat auto with Barrage S shows that the charges modifiers are listed as the gun
The text was updated successfully, but these errors were encountered: