47:/d/Genesis/newmagic/resist.c (/d/Genesis/newmagic/spell.c)
(public int) spell_resist(object caster, object target, int element, int difficulty)
/*
 * Function name: spell_resist
 * Description:   Determines a target's resistance to a typical spell
 * Arguments:     object target - the target of the spell
 *                int element   - the spell element
 *                int difficulty - the difficulty of resisting the spell
 * Returns:       Resistance percentage
 */
