I tested it for a while. Ran it with and without the mod active, with the mod at various levels. There was zero change in damage taken during the TD stages regardless of where the mod was set at before starting the battle.
I honestly couldn't tell if the defense worked.
Hope that helps. Thanks for modding it