Trying to add additional affixes to items

I’m admittedly new to modding, but I’m wondering if what I’m trying to do is beyond the scope of what the usual modding tools can accomplish.

Basically, I want to make it so that rare items, instead of/in addition to rolling a rare prefix and/or a rare suffix, will roll an ‘inherent’ affix. I intend for this to have features a bit like monster infrequents, modifying or adding to skill functions. This inherent affix would be what defines an item as rare. Then, on top of that, it can roll normal prefixes and suffixes, but is not guaranteed for either of them to be rare, essentially the same as MIs. In essence, monster infrequents become a type of rare item which has guaranteed, instead of random, inherent properties.

looking at the way the game creates rare items, It appears I’m looking for the part of the code which actually interprets the keywords contained in the .dbr files, since I think I would need to introduce new parameters which don’t already exist, and to do that I suspect I’m looking at editing the actual base game files.

Can anyone confirm or deny, and/or point me to where (or how) I would go about introducing new parameters of this kind?

While I don’t know how to add affixes, the following link will definitely help you solve your problem.

[MOD] Shattered Affixes: More than 1000 new affixes V2.20 (updated for Patch 1.2.0.0)

From what I can tell, that mod still only expands upon the base range of affixes, it doesn’t seem to add any extra categories.

If I’m not mistaken, in order to do what I would like to, I would need to modify the game’s actual code, where it interprets the variables in a database record, and tell it to look for an extra type (and tell it what to do with that, but that should only require copying or minorly tweaking), otherwise I’m adding variables to the records which the game won’t have any reason to even look at, much less know what to do with.

You’re looking to learn .dll injection, which is far, far beyond the scope of the modding tools/these forums.

I suspected It might be. Thanks for confirming, at least.