Skip to content

How to modify some item level restrictions (ITR)?

I didn't notice until now that one of the updates deleted my modified 2da. Looking the '2da's now, they seem to have been reorganized.
If I remember right, I was able to change the ILR by changing the cost entry in the 2da. I haven't looked through all of them yet, but one of the itemproperties I wanted to modify was listed in one of the ones I did look in, but there was no cost column.
Am I going about this the right way, by looking through all the itemprop '2da's?

Second question: is there a way to programmatically check the calculated ILR of an item through getting 2da values?

Comments

  • ForSeriousForSerious Member Posts: 490
    I found it. It is itempropdef.2da, BUT it looks like some of the item properties are broken out into their own 2da files.

    I haven't tried pulling the values programmatically yet.
  • MelkiorMelkior Member Posts: 223
    Get2SDString() should be able to get the information you need out of the active named 2DA file (either the default file or, if there is one, the file which is in your overrides folder, will be the "active" file).
  • ForSeriousForSerious Member Posts: 490
    edited February 6
    The 2da cost values are spread out over a lot of different files. For example, Damage Resistance: Acid [Resist 5 / -]. Damage resistance, you have to get the line from itempropdef.2da the cost will be null (or whatever **** returns) so you get the number from column CostTableResRef. In iprp_costtable.2da the value of 7 gives you iprp_resistcost. In iprp_resistcost.2da line 1 gives the cost value for [Resist 5 / -] of 0.75. In the toolset, this translates to a Required level of 1. But the value for [Resist 50 / -] in iprp_resistcost.2da is 25, and if I set it to that in the toolset, it shows Required level 18. In fact, the last half of the values in the 2da don't align with what the toolset says. Okay maybe it's being factored by Acid. iprp_damagetype gives a value of 0.35. I'm not finding any obvious calculations of 25 something 0.35 equals 18.
Sign In or Register to comment.