Ejemplo n.º 1
0
    public void Operation(IDuel duel, Card card, LauchEffect effect, Group group = null)
    {
        Card c = duel.GetCurChain().GetLastEffect().ownerCard;

        duel.GetCurChain().DisableLastEffect();
        duel.AddFinishHandle();
        duel.SendToGraveyard(ComVal.Area_Field, c.ToGroup(), card, ComVal.reason_Effect, effect);
    }
Ejemplo n.º 2
0
 public bool CheckLauch(IDuel duel, Card card, LauchEffect effect, Code code)
 {
     if (duel.GetCurChain().GetLastEffect() != null)
     {
         return(true);
     }
     return(false);
 }
Ejemplo n.º 3
0
 public bool CheckLauch(IDuel duel, Card card, LauchEffect effect, Code code)
 {
     if (duel.GetCurChain().GetLastEffect().category.IsBind(ComVal.category_destroy))
     {
         return(true);
     }
     return(false);
 }
Ejemplo n.º 4
0
    public bool CheckLauch(IDuel duel, Card card, LauchEffect effect, Code code)
    {
        Card c = duel.GetCurChain().GetLastEffect().ownerCard;

        if (c.cardType.IsBind(ComVal.cardType_Spell | ComVal.cardType_Trap) && c.controller != card.controller)
        {
            return(true);
        }
        return(false);
    }
Ejemplo n.º 5
0
 public bool CheckLauch(IDuel duel, Card card, LauchEffect effect, Code code)
 {
     return(duel.GetCurChain().GetLastEffect().ownerCard.controller != card.controller &&
            duel.GetCurChain().GetLastEffect().category.IsBind(ComVal.category_destroy) &&
            duel.GetIncludeNameCardNumFromArea(ComStr.KeyWord_SixSamurai, false, card.controller, ComVal.cardType_Monster, ComVal.Area_Monster, Fiter) > 0);
 }
Ejemplo n.º 6
0
 public bool CheckLauch(IDuel duel, Card card, LauchEffect effect, Code code)
 {
     return(card.ownerPlayer.CanSendToGraveyard() && !duel.GetCurChain().isHandle);
 }