I want to when the sword of the enemy was contact on the body of player 2 units of his health has been lost.

example
player=my;
my.health-=2;

sorry for grammatical mistakes because i can't speak english well. smile

thanks smile