the switch statements in ReduceDamage() should have a default clause. Not sure why it worked without them