How do I prevent low level items from getting powerful afffixes?

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
User avatar
mmpx222
Junior Member
Paladin
Posts: 154
Joined: Sat Apr 26, 2014 9:19 am
Korea South

How do I prevent low level items from getting powerful afffixes?

Post by mmpx222 » Fri Dec 14, 2018 2:21 pm

I want to make items with high strength requirements receive better affixes. This would encourage players to invest more in str and wear these high req items. However, I can't prevent players from wearing a pair of boots (ilvl = 1) with powerful modifiers. So, how can prevent such items from spawning? Alternatively, is there a way to increase the str requirements of an item by a fixed (integer) amount, using a modifier?
D2TXT / D2INI - Python scripts for editing TXT files, or converting between TXT ↔ INI files

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: How do I prevent low level items from getting powerful afffixes?

Post by devurandom » Fri Dec 14, 2018 7:07 pm

What about levelreq column in MagicPrefix.txt and MagicSuffix.txt.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

User avatar
mmpx222
Junior Member
Paladin
Posts: 154
Joined: Sat Apr 26, 2014 9:19 am
Korea South

Re: How do I prevent low level items from getting powerful afffixes?

Post by mmpx222 » Fri Dec 14, 2018 9:03 pm

devurandom wrote:
Fri Dec 14, 2018 7:07 pm
What about levelreq column in MagicPrefix.txt and MagicSuffix.txt.
Setting a high levelreq wouldn't prevent Hell Mephisto from dropping a magic/rare Quilted Armor, would it? Although the chances would be slim, I don't want farming Quilted Armor to be a thing.
D2TXT / D2INI - Python scripts for editing TXT files, or converting between TXT ↔ INI files

Post Reply

Return to “General Mod Making”