Actually, I have thought about something like this quite a few times lately. Instead of having to make 5 different variations of the same NPC just to have some variety, it would be nice to have a feature that allowed for level ranges like that. It would certainly save time from having to make tons of spawn groups and NPCs. Maybe a scaling field in the npc_types table that would let you set how much you want the NPCs to be able to scale and it would scale their level, and most other important stats like min/max hit, resists, normal stats, etc. If the NPC is level 10 and you set it to scale 20%, it could create NPCs from level 8-12 and adjust stats accordingly.
Of course, it probably wouldn't be too hard to create a default.pl script to do this on normal NPCs that don't already have a script in place for them. You can set level easy enoug and setting other stats to scale would just mean using some Gets and the modifynpcstat quest command. But, it would be nice to have something built into the source for it if possible.
|