Heroes of Land, Air & Sea

Does the "rogue exploration token" allow to look at a random spell in the library or one chosen by the target player?

menu
Random, fan the cards out face down and let the caster choose.