iv made a quite a good 2 player game a lot like the game runescape
there is health, defence and attack for both players
now the hits are made by formula, lets say that player one attacks player2 the formula would go like:
player1 attack minus player2s defences = the hit
but that is 2 calculated for me how would i do my hit but make it random but based on attack and defence
can some one help me?
there is health, defence and attack for both players
now the hits are made by formula, lets say that player one attacks player2 the formula would go like:
player1 attack minus player2s defences = the hit
but that is 2 calculated for me how would i do my hit but make it random but based on attack and defence
can some one help me?

