So it seems like you've figured out that if that config is a certain value, you're currently using that attack style.
Now we check if we're currently using the attack style you want, and then we use widgets to change the attack style, for example:
if (needAttackStyle() && getConfigs().get(43) != 0) {
open settings tab and interact with the required widget
}