Reposting this as suggested by @Gate70
. See original post here:http://forum.baldursgate.com/discussion/comment/531719/#Comment_531719
NOTE: This may or may not qualify as a feature request rather than a bug report
Existing behavior: Although the engine properly handles spell immunity menu type spells in a contingency, the 2 spells Spell Immunity (SPWI510) and Enchanted Weapon (SPWI417) are still included in CONTINGX.2da, meaning they are hidden when you try to set up a (Chain) Contingency or any spell-storing-type spells.
How to reproduce this: try placing either Spell Immunity (SPWI510) and Enchanted Weapon (SPWI417) into a (Chain) Contingency.
Desired behavior: SPWI510 (Spell Immunity) 's subspells should be selectable in contingency/trigger spells.
Suggested implementation: remove the two entries SPWI510 and SPWI417 from CONTINGX.2da