$&*&#&^@ board ate my first message. Here it goes again.
I am currently having troubles bypassing the 100% spell failure effect I've placed the target for the removal spell.
What I have been doing, is creating an anti-magic shell spell. The relevant information to my problem is as follows:
I use DLTCEP v. 6.1e. The anti-magic shell uses 20 different extended headers to grant various immunities and effects, the duration depending on the caster level (6-25). The problem effects are:
Stat: Miscast Magic [60], 100% chance, type 3&4&5 ('Type' values of 3,4 or 5 display a message -'Spell failed due to dead magic' with 3 for mage spells, 4 for cleric spells, and 5 for innate spells) This effect is non-magical and has no save.
The anti-magic shell spell has a secondary type of 14 (General Properties Tab), which I plan to use for removing opcode protections that I add with the spell. The anti-magic spell is a level 6 innate of the abjuration school. Part of the extended headers gives the caster an innate ability which is to be used to end the anti-magic shell effect.
When I use the cancel anti-magic shell spell, I get the following message:
Spell failed due to dead magic
The Cancel Anti-Magic shell spell was originally going to be an innate spell, that uses the Removal: Remove One Secondary Type [230] opcode with secondary type of 14, cast through the casting features which I thought would bypass the miscast magic effect. This has not worked. I have also tried to use Galac's suggestion to set the target type to '7' in the extended header, as well as changing the spell type to 5, 6, 7, etc. in the General Properties tab (since I have only set spell failure to 100% for wizard, cleric and innate spells AFAIK). The spell location (from the extended header) is 4- innate.
Any help with letting me bypass the 100% miscast magic effect would be much appreciated.