void main() { object oPC=GetExitingObject(); RemoveEffect(oPC, EffectSpellFailure()); // Creates an effect that inhibits spells // - nPercent - percentage of failure // - nSpellSchool - the school of spells affected. //effect EffectSpellFailure(int nPercent=100, int nSpellSchool=SPELL_SCHOOL_GENERAL) }