well i tested it by loading the module and playing as a regular character. i have the script whisper nRoll as a string via GetFirstPC and IntToString, and it's telling me a different number each time.
That said, what you are saying seems to be true. despite what the whisper says nRoll is, it's always the same monster. problem is nEncType shouldnt even allow that monster to spawn unless nRoll is 1.
not sure how much you know about the NESS spawning system, but the blurb of the script above is part of a script that is called by another script. the reason i only included that part is because it's the only part that i altered, it works perfectly otherwise. is there any difference between using d12() and perhaps random(11)+1?. it sounds like from what you are saying that even though i am trying to tell the script to randomly choose between 1 and 12, it is always choosing 1. i think you are right i just don't know how to fix it. Perhaps a 'return;' somewhere would fix this? I am lost, i thought it would be pretty straightforward, but this script has been mopping the floor with me
Modifié par Kossuths_Will, 08 septembre 2010 - 05:54 .