RapBattle:_battle
does the fight and calculates the victory. This is calculated with the sum of both rappers' points, and a random number is chosen below this maximum. If the score is lower than the defender's points, the defender wins; otherwise, the challenger wins. The problem is that the condition checks if the random number is lower OR EQUAL to the defender points.
Concrete example:
Defender and attacker have both 50 points.
totalBattleSkill = 100.
Defender win if random is between 0 and 50 : 51/100 chances.
Challenger win if random is between 51 and 99 : 49/100 chances.
Likelyhood: High
Every battle.
Impact: High
Always more chance to win than expected for defenders.
Correct the check to be strictly lower.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.