removed unused enemy factory, fixed a bug in damage calculation where damage can be negative