Updated Unit.cpp - Armor and magic resistance

dealDamageTo() now handles armor and magic resistance
To do: Handle armor and magic penetration.

Armor and magic reduction should be treated as debuffs.