Documentation about 2DA files

spells.2da

Target type bitmask:

Bitmask Target
0x01 Self
0x02 Creature
0x04 Area
0x08 Items
0x10 Door
0x20 Placeable
0x40 Trigger

(from nwn1, might be correct)