Implmented basic battle mechanics