Esempio n. 1
0
    public void Operation(IDuel duel, Card card, LauchEffect effect, Group group = null)
    {
        normalDele d = delegate
        {
            duel.AddFinishHandle();
            duel.DiscardFromDeck(2, card, effect, card.controller);
        };

        duel.AddDelegate(d, true);
        duel.DrawCard(card.controller, 2, card, effect);
    }
Esempio n. 2
0
    public void Operation(IDuel duel, Card card, LauchEffect effect, Group group = null)
    {
        Group      g  = new Group();
        normalDele d1 = delegate
        {
            duel.AddFinishHandle();
            g = g.GetFitlerGroup(cardFiter);
            duel.DrawCard(card.controller, g.GroupNum, card, effect);
        };

        duel.AddDelegate(d1, true);
        g = duel.DiscardFromDeck(3, card, effect, card.controller);
    }
Esempio n. 3
0
    public void Operation(IDuel duel, Card card, LauchEffect effect, Group group = null)
    {
        if (!card.CanDestroy())
        {
            duel.FinishHandle();
            return;
        }
        normalDele d = delegate
        {
            duel.AddFinishHandle();
            duel.DrawCard(card.controller, 1, card, effect);
        };

        duel.AddDelegate(d, true);
        duel.SendToGraveyard(ComVal.Area_Field, group, card, ComVal.reason_Destroy, effect);
    }
Esempio n. 4
0
 public void Operation1(IDuel duel, Card card, LauchEffect effect, Group group = null)
 {
     duel.DrawCard(card.ownerPlayer, 2, card, effect);
     duel.FinishHandle();
 }
Esempio n. 5
0
 private void Operation1(IDuel duel, Card card, LauchEffect effect, Group target = null)
 {
     duel.AddFinishHandle();
     duel.DrawCard(card.controller, card.GetPointerNum(ComStr.Pointer_Samurai), card, effect);
 }