Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ColumnExample ContentsValid ValuesDescription and Notes
ID0Integers 0-255

These line IDs are the SAVING_THROW_TYPE_* values. 255 limit due to network traffic.

LabelMind_SpellsText

Simple label unused by the engine

Strref8107String reference

Used for messages on the client

Immunity1Reference to IMMUNITY_TYPE_* values.

See https://nwnlexicon.com/index.php/Immunity_type

Thesr are checked and change the result of the save functions. So if you changed death immunity to be added for line 11 (putting in 32 in this column) both the in engine and spell scripts would start to respond however this may make that more powerful than intended (see Saving Throws).

ImmunityOnlyIfSpell01 or 0

Would have been used for death immunity but the engine was not checking it at all properly. But you can combine this with Immunity to have the immunity only apply when a spell is detected (so death immunity can apply to just spell applied versions).

To contrast mind spells immunity actually makes you immune to all mind effects not just spell applied ones (although ones from items etc could be considered spell like).

2da Contents

Code Block
2DA V2.0

        Label           Strref   Immunity   ImmunityOnlyIfSpell
0       Universal       ****     ****       ****
1       Mind_Spells     8107     1          0
2       Poison          879      2          0
3       Disease         1006     3          0
4       Fear            804      4          0
5       Sonic           2202     ****       ****
6       Acid            1027     ****       ****
7       Fire            1028     ****       ****
8       Electricity     8114     ****       ****
9       Positive        5159     ****       ****
10      Negative        5158     ****       ****
11      Death           4722     ****       ****
12      Cold            1029     ****       ****
13      Divine          5155     ****       ****
14      Trap            5563     5          0
15      Spell           2295     ****       ****
16      Good            265      ****       ****
17      Evil            266      ****       ****
18      Law             4943     ****       ****
19      Chaos           4944     ****       ****
20      Paralysis       5161     6          ****

...