core of battle, main part of simply bot's step