private static void drainManaResolve(final AbilityFactory af, final SpellAbility sa) {
        HashMap<String, String> params = af.getMapParams();
        Card card = sa.getSourceCard();

        ArrayList<Player> tgtPlayers;
        Target tgt = af.getAbTgt();
        if (tgt != null)
            tgtPlayers = tgt.getTargetPlayers();
        else {
            tgtPlayers = AbilityFactory.getDefinedPlayers(card, params.get("Defined"), sa);
        }

        for (Player p : tgtPlayers) {
            if (tgt == null || p.canTarget(af.getHostCard())) {
                if (p.isHuman()) {
                    AllZone.getManaPool().clearPool();
                } else if (p.isComputer()) {
                    AllZone.getComputerManaPool().clearPool();
                }
            }
        }
    }