Modifies an effect so that it only works against traps.
- The effect you wish to modify.
Set eEffect to be versus traps. However this is bugged and does nothing.
This is bugged and is nonfunctional. Bioware never uses this. Therefore don't bother.
It is worthwhile just using EffectSavingThrowIncrease and EffectSavingThrowDecrease with the parameter nSaveType set to SAVING_THROW_TYPE_TRAP. This will make it operational against only trap saving throws.
For immunity to trap saving throws you can also use EffectImmunity(IMMUNITY_TYPE_TRAP) which stops them firing and makes saving throw functions FortitudeSave, ReflexSave and WillSave return 2 (Immune) when SAVING_THROW_TYPE_TRAP is used in them.
This doesn't do anything. Instead see remarks above for alternatives. This is after testing/checking with GetEffectInteger which, for Racial and Alignment changes, makes some mark against the effect. It doesn't do anything for traps for some reason.
The reason is probably because EffectSavingThrowIncrease would be the only one it'd really "need".
author: John Shuell, editor: Jasperre