This article covers the layout of the file; for the default contents, see iprp_onhitcost.2da (contents).

The iprp_onhitcost.2da file is the .2da file that defines the DC for various on-hit properties. This file is used (only) when referred to by the "Name" column of iprp_costtable.2da, and it should be referred to by (only) row 24 of that file.

Columns of iprp_onhitcost.2da
Name Description
ID (no actual name) Row numbers for the benefit of human readers. The game engine ignores the value in this field, instead generating sequential row numbers as the file is read. It is good practice to keep the entries in this field sequentially numbered to avoid confusion.
Name A StringRef for the text (e.g. "DC=14") to be displayed for this DC in the game.
Label A descriptive label for the benefit of human readers. This column is ignored by the game.
Cost A factor used in determining the base cost of an item with a property that uses this DC.
Value The actual (numeric) DC defined by this row.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.