splprot.2da
This file defines target groups based on certain stats.
The first column contains the row name which is ignored by the engine.
The second column defines a value from STATS.IDS if < 0x100 or a pseudo stat. See below for more information.
The meaning of the values of the third and fourth column depend on the STAT value.
In BG2EE we have:
Pseudo stats are defined as follows:
- 0x100 ⟶ source equals target
- 0x101 ⟶ source is not target
- 0x102 ⟶ circlesize
- 0x103 ⟶ use two rows of splprot.2da
- 0x104 ⟶ negate 0x103
- 0x105 ⟶ source and target morale match
- 0x106 ⟶ AREATYPE.IDS
- 0x107 ⟶ daytime
- 0x108 ⟶ source and target ethical match
- 0x109 ⟶ evasion
- 0x10a ⟶ EA.IDS
- 0x10b ⟶ GENERAL.IDS
- 0x10c ⟶ RACE.IDS
- 0x10d ⟶ CLASS.IDS
- 0x10e ⟶ SPECIFIC.IDS
- 0x10f ⟶ GENDER.IDS
- 0x110 ⟶ ALIGNMENT.IDS
- 0x111 ⟶ STATE.IDS
- 0x112 ⟶ SPLSTATE.IDS
- 0x113 ⟶ source and target allies
- 0x114 ⟶ source and target enemies
- 0x115 ⟶ summon creature limit
- 0x116 ⟶ chapter check
- 0 ⟶ less or equal
- 1 ⟶ equal
- 2 ⟶ less
- 3 ⟶ greater
- 4 ⟶ greater or equal
- 5 ⟶ not equal
- 6 ⟶ binary less or equal (stat doesn't contain extra bits not in value)
- 7 ⟶ binary more or equal (stat contains all bits of value)
- 8 ⟶ binary match (at least one bit is common)
- 9 ⟶ binary not match (none of the bits are common)
- 10 ⟶ binary more (stat contains at least one bit not in value)
- 11 ⟶ binary less (stat doesn't contain all the bits of value)