Fixed combat logic.
Prototype to buildings