This is already available in OXCE+ as a tag on armor to determine whether or not a unit takes any wound time:
armors:
- type: STR_ROBOT_ARMOR
instantWoundRecovery: true
However, the script will be useful for reducing wound time on units used as HP tanks.
Exactly, scripts are for "custom" behaviors, like now wounds could count to recovery days or even heal up damage still counts.
You could make that for some armor only some type of damage do pernamet damage.
But this only "side effect" of changes I add, you can made that solder after each kill of some specific alien will grain 1 dmg bonus against same type in next battle.
Or after 10 missions it will take break for week (right now indistinguishable from "wounds" but in future I will add option to change this).