ifrnd 64 { ifnosounds soundonce TOUGHGALSND1 } else ifrnd 64 { ifnosounds soundonce TOUGHGALSND2 } else ifrnd 64 { ifnosounds soundonce TOUGHGALSND3 } else ifnosounds soundonce TOUGHGALSND4
This makes me raise the question of how exactly "ifrnd" used in conjunction with "else" works.
In the example below, if I subtract the chances of each "ifrnd" based on the last one, I would have this result:
- 1st sound: 25% of chances
- 2nd sound: 18% of chances
- 3rd sound: 14% of chances
- 4th sound: 42% of chances
Or was this code meant to provide equal chances of 25% for each sound?