You can create unit dummies of your type and order them to attack other dummies to get values like armor or attack damage out of the taken damage, which is of course inconvenient and may be imprecise.
There are some tools that combine object editor data with trigger script (which might not be so easy however). For example, in my current map, I do not create new stuff in object editor but run the ObjectMerger included in JNGP that can be started from external scripts within Code.