Currently you can't change bonuses during the game, like making infantry two times more effective just against cavalry. You can only double their attack which is different. With this patch you can now do that.
In the technology add
"modifications": [{"value": "Attack/{ATTACK_TYPE}/Bonuses/{BONUS_NAME}/Multiplier", "add": 1.0},