void main() { object oPC=GetEnteringObject(); ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectSpellFailure(100), oPC); // 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) }