savingthrowtypes.2da now allows is allows changes to existing and adding custom saving throw types (eg editing Fire or adding Psychic). Changes inĀ iprp_saveelement.2da allows for items to also point to the new entries you create.
Line 0 cannot be used and refers to "no saving throw versus" in the engine.
Death Saving Immunity Note
While mind spells, poison etc correctly check for immunties, Death saves do not. Instead the game engine is bugged so it never got checked. Instead EffectDeath is when the immunity is checked. Developers left the state of it as it is since otherwise some spells would bug out.
Adding New Saving Throw Types
| Column | Example Contents | Valid Values | Description and Notes |
|---|---|---|---|
| ID | 0 | Integers 0-255 | These line IDs are the SAVING_THROW_TYPE_* values. 255 limit due to network traffic. |
| Label | Mind_Spells | Text | Simple label unused by the engine |
| Strref | 8107 | String reference | Used for messages on the client |
| Immunity | 1 | Reference to IMMUNITY_TYPE_* values. |
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 ****
|