private bool DragoEff()
        {
            // summon to negate
            ClientCard chainCard = Util.GetLastChainCard();

            if (Duel.LastChainPlayer == 1 && chainCard != null && !chainCard.IsShouldNotBeMonsterTarget()) // NOTE: Can check for already has counter?
            {
                AI.SelectCard(chainCard);
                return(true);
            }

            if (Duel.Phase == DuelPhase.End)
            {
                ClientCard enemyMon = Util.GetBestEnemyMonster(true, true);
                if (enemyMon != null)
                {
                    AI.SelectCard(enemyMon);
                }
                return(true);
            }

            return(false);
        }
예제 #2
0
 private bool IsDestroyableCard(ClientCard card)
 {
     return(!card.IsShouldNotBeMonsterTarget() &&
            card.IsCanBeDestroyed(Reason.Effect));
 }