added battle mechanics