Hello guys!
After some time, I'm back on my Diablo addiction.
This time I have a question regarding magic affixes. How exactly does frequency affect the probability of an affix to appear? Reading through MagicPrefix.txt and MagicSuffix.txt, there's a column specifying affix frequency, but how does it work? My first guess is that, for example, if an item can have 3 affixes, them having a frequency of 3, 4 and 9, the chance of them to appear would be 3/(3+4+9), 4/(3+4+9), and 9/(3+4+9), respectively, and not just each affix having a 1/3 chance. Am I right? If not, I'd greatly appreciate if someone could give me an explanation.
Also, on MagicSuffix.txt, some affixes have their frequency value empty. How should they be treated? Affixes that cannot appear specifically have 0 frequency, so what about empties?
Thanx in advance! Should someone be knowledgeable enough, I'd love to ask him/her more questions, but for now that is all.
After some time, I'm back on my Diablo addiction.
This time I have a question regarding magic affixes. How exactly does frequency affect the probability of an affix to appear? Reading through MagicPrefix.txt and MagicSuffix.txt, there's a column specifying affix frequency, but how does it work? My first guess is that, for example, if an item can have 3 affixes, them having a frequency of 3, 4 and 9, the chance of them to appear would be 3/(3+4+9), 4/(3+4+9), and 9/(3+4+9), respectively, and not just each affix having a 1/3 chance. Am I right? If not, I'd greatly appreciate if someone could give me an explanation.
Also, on MagicSuffix.txt, some affixes have their frequency value empty. How should they be treated? Affixes that cannot appear specifically have 0 frequency, so what about empties?
Thanx in advance! Should someone be knowledgeable enough, I'd love to ask him/her more questions, but for now that is all.