Page 1 of 1

Stat that adds str/dex requirement

Posted: Fri Dec 21, 2018 1:19 am
by mmpx222
Is it possible to make a stat that adds a flat amount of str or dex requirement on top of what an item already has?

Example: Base item (Cleaver) has 68 strength req. Adding +25 add_str_req to it would increase the overall requirement to 68 + 25 = 93.

Just adding negative str is undesireable; it affects your whole character, not just the one item it is on. Also, percentage req increase (already in cLoD) is undesireable, as there are many items that have little or no str req in the first place.

Re: Stat that adds str/dex requirement

Posted: Sat Dec 22, 2018 10:34 pm
by reiyo_oki
There are two ways to do this easily, neither of which is what you really want.

One is to add a whole new item with the increased requirements and dummy properties that show them.
The other, is to use the ease property and do the math. In this case the percentage would be 36.76

To get the exact result you want, a property/stat like item_extra_str_req would require some code editing to get direct access to the item's required stats, unfortunately.