The battle system has some randomness to it, but the speed of your digimon is the value that influences who will attack. I have plans to rework from scratch the battle system, but that would be in the future