This doesn't help, it doesn't matter at all how you got your strength, 10 is 10
This also doesn't matter in any way. 10 is still 10
This is the code, it's pretty simple:
Python:
label player_strength_check(check_level)
$ check_ok = False
if player.get_strength() > check_level:
$ check_ok = True
elif player.get_strength() == check_level:
$ rand_int = renpy.random.randint(1, 2)
if rand_int==1:
$ check_ok = True
elif player.get_strength() == check_level - 1:
$ rand_int = renpy.random.randint(1, 4)
if rand_int==1:
$ check_ok = True
return check_ok
If your strength is > than girl' strength - 1 --> always succeed
If your strength is same as girl's strength - 1 --> 50% chance of success
If your strength is same as girl's strength - 2 --> 25% chance of success