private static boolean scryCanPlayAI(final AbilityFactory af, SpellAbility sa) {
        Card source = sa.getSourceCard();

        double chance = .4;    // 40 percent chance of milling with instant speed stuff
        if (AbilityFactory.isSorcerySpeed(sa))
            chance = .667;    // 66.7% chance for sorcery speed (since it will never activate EOT)
        Random r = MyRandom.random;
        boolean randomReturn = r.nextFloat() <= Math.pow(chance, source.getAbilityUsed() + 1);

        if (AbilityFactory.playReusable(sa))
            randomReturn = true;

        if (af.hasSubAbility()) {
            Ability_Sub abSub = sa.getSubAbility();
            if (abSub != null) {
                return randomReturn && abSub.chkAI_Drawback();
            }
        }
        return randomReturn;
    }