As part of a mod I am tinkering on, I would like to make it so that certain magic item bonuses can no longer be rolled on items. However, the ItemType/TreasureTable/Boost stats system has me thoroughly confused.

The idea I had was to just overwrite, for example, _Boost_Weapon_Secondary_Initiative_Normal in my mod somewhere, and set a value somewhere so it never gets selected by whatever process determines the random magic item boosts. I have a certain idea how this could work for items (using e.g. DropCount in the TreasureTables), but I can't find what handles the selection of magic item properties once a magic/rare/legendary/divine item is selected from the drop table.