View Single Post
Old March 22, 2017, 09:02   #494
PowerWyrm's Avatar
Join Date: Apr 2008
Posts: 2,891
PowerWyrm is on a distinguished road
Originally Posted by PowerWyrm View Post
After implementing some randart changes in PWMAngband, I ended up with weightless randart lights and jewelry. I started the latest Angband build, generated all artifacts from debug mode, and also ended up with weightless randart light sources (jewelry is fine).

This is because now all randarts take their base properties from their chosen kind... and all INSTA_ARTs have no weight defined in write_dummy_object_record(). No idea why this works for rings and amulets, probably their weight is hardcoded somewhere...
Looking more closely at the problem, there seems that another INSTA_ART field is missing in write_dummy_object_record(): kind->level. This field is used to enforce minimum object level in make_artifact_special(). And since it's currently zero, no check is made. So expect randart Rings of Firmament at 50'!
PWMAngband variant maintainer - check (or to learn more about this new variant!

Last edited by PowerWyrm; March 22, 2017 at 09:07.
PowerWyrm is offline   Reply With Quote