you can upgrade your units to rise defense value , there are also healing units, in quest with low damage ur units will heal instead of being damaged. i have seen some quests dealing X damage and still damaging units with higher than X defense value, maybe is damage
also affected by number of enemies?