SCRIPTS: applyResistanceEffect to sleep and poison