This should do it I think....

Code:
if (my.skill12 > your.skill8)	// as long as i have armor STRONGER than damage
{	my.skill12 -= your.skill8;		}	// only armor gets damaged by all of skill8
else				//if i dont have enough armor for ALL damage
{	my.skill14 -= your.skill8-my.skill12;	//remove 'health' that armor didnt protect
	my.skill12  = 0;				//remove remaining armor
}




"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial