Trying to come up with a macro that queries the number of images the target has and then roll that number + 1 as a die roll. For example, the target has 4 images. The query input would be 4 and the macro would roll d5 to determine whether an image or the actual target was struck (i.e. a result of a "1"). Read through the Advanced Macro wiki and didn't find an answer there. Thanks.