You could find out the armor type with some fixed damage units of different damage types and then checking what damage they do. But of course that is a bit complex and not restricted to JASS.
Now that AIAndy puts it in that way, there is a function in the caster system, GetUnitDamageFactor , using DAMAGE_TYPE_UNIVERSAL and different attack types you should be able to know if an unit has certain armor
in the caster system? what are you talking about? Also GetUnitDamageFactor is that function is the blizzard.j or whatever? right now, im using empty abilities that will tell me damage types and armor tpyes. by point value do you mean that thing that can be edited in object manager?
and speaking of point value, what is it originally for.