Re: SOTW 0.79 - First Act Beta preview!
Posted: Mon May 05, 2014 1:40 pm
Found the code I use for auto-attributes:
The higher the number after the attributes, the more likely is to get picked. Maybe I need to use a even higher scale... 
Code: Select all
if self.charClass==Warrior:
i = NonUniformRandom([("Strength",4),("Will",1),("Skill",2),("Agility",2),("Arcane",2),("Constitution",4)])
elif self.charClass==Thief:
i = NonUniformRandom([("Strength",1),("Will",2),("Skill",4),("Agility",4),("Arcane",2),("Constitution",2)])
else:
i = NonUniformRandom([("Strength",1),("Will",4),("Skill",2),("Agility",2),("Arcane",4),("Constitution",2)])