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); }
public bool CheckLauch(IDuel duel, Card card, LauchEffect effect, Code code) { if (duel.GetCurChain().GetLastEffect() != null) { return(true); } return(false); }
public bool CheckLauch(IDuel duel, Card card, LauchEffect effect, Code code) { if (duel.GetCurChain().GetLastEffect().category.IsBind(ComVal.category_destroy)) { return(true); } return(false); }
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); }
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); }
public bool CheckLauch(IDuel duel, Card card, LauchEffect effect, Code code) { return(card.ownerPlayer.CanSendToGraveyard() && !duel.GetCurChain().isHandle); }