Greets.
I finally finished all of the areas in my mod a little while ago. Now I need to fix the random monster armor script.
Currently the script randomly adds properties and then makes sure that the item is not too high of a level.
Unfortunately, this takes too long and the monster is more likely to stand there waiting for the armor to be produced than to fight.
So I wish to scrap that setup.
But now I am not certain of the best way to proceed.
I would like all monsters to have random item properties on their equipment so as to make every encounter unique. Some would be very easy and some could be downright challenging if an NPC happened to get all of the good stuff.
There are many levels of skill. AC 1-20, damage 1-2d12. etc
I could sit here and produce 20 property lists based on estimated worth. IE AC +1 and AB +1 would be in one list and AC +20 and AB +20, and everything that correlates, could be in another list, with everything inbetween.
I don't know that having 40+ property lists would be a very good thing. I'd need ranked lists for both armor and weapons.
The way I am currently creating NPC's is to give them a certain number of blank armor pieces. So all of the low creatures would have just 1 piece of armor to add random properties to, and all of the top monsters would have 9. I would then need to get the appropriate level item property to be placed on each piece of equipment the monster has.
Not only that, but if possible, I would have the script run multiple times based on the PC's level. If a L40 comes walking through a L1 area, I would attempt to give the L1 creatures 8+ item properties instead of a standard 1. However, this is
not critical.
I should be satisfied with having just 1 item property be placed on the equipment the NPC is wearing. I can make creatures easier or tougher by either giving them more equipment or making them use an easier or tougher item property list.
Please do not make the suggestion of having pre-created armors and using those or some such standard idea. One of the primary goals of my mod from the start was a random factor. I did not want to face the same exact kobold 100 times with the same exact gear and abilities, for once you can kill one, you can kill all. Yawn. Thank you, but "standard" is not what I am seeking and that idea has already been suggested to me in the past, so I wish to head it off now
'>
Basically, my question is, how can I get a L1 creature to add L1 type properties and L40 creature add L40 properties without creating 40+ lists. If I have to create 40 lists, fine, but i'm sure there must be a better way.
Also, a L1 creature could conceivably be wearing items that are too high for it. Even adding Bright Light puts it past L1 if I remember correctly. And there will be plenty of "useless" properties in the lists that make the item's level high, but keep the creature from being "high". So to the best of my knowledge, a value check would not be a good way to avoid 40 property lists.
Thanks!