How to make a stat 50/50

I’m extremely new to coding but I’ve seen in some games how the stats are 50/50 for example 75 percent evil to 25 percent good how do I do that any help would be greatly appreciated if I’m in the wrong topic I’m sorry

Heya, welcome to the coding world!

Here’s a link to help with the basics. It’s a super nifty tutorial, and helped me greatly when I got started. Then there’s the fandom page that holds the answers to most questions that might crop up.

As of now, I think you’re looking for the opposed_pair stat, which can be found here, but also in the tutorial linked above.

Good luck!


Thank you so much