Exemple #1
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetEffectID("50720316");
        e1.SetCategory(ComVal.category_search | ComVal.category_toHand);
        e1.SetCode(ComVal.code_ToGraveyard);
        e1.SetCardEffectType(ComVal.cardEffectType_mustToChooseLauch);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        e1.SetLauchArea(ComVal.Area_Graveyard);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetEffectID("50720316");
        e2.SetCategory(ComVal.category_search | ComVal.category_toHand);
        e2.SetCode(ComVal.code_SpecialSummon);
        e2.SetCardEffectType(ComVal.cardEffectType_mustToChooseLauch);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetOperation(Operation1);
        e2.SetLauchArea(ComVal.Area_Monster);
        duel.ResignEffect(e2, card, player);

        duel.ResignEffectLauchLimitCounter(player, "50720316", 1);
    }
Exemple #2
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_spSummon);
        e1.SetCode(ComVal.code_ToGraveyard);
        e1.SetCardEffectType(ComVal.cardEffectType_mustLauch);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        e1.SetLauchArea(ComVal.Area_Graveyard);
        duel.ResignEffect(e1, card, player);

        StateEffect e2 = new StateEffect();

        e2.SetTarget(card);
        e2.SetCardEffectType(ComVal.cardEffectType_Single | ComVal.cardEffectType_normalStateEffect | ComVal.cardEffectType_unableReset);
        e2.SetStateEffectType(ComVal.stateEffectType_unableNormalSummon);
        duel.ResignEffect(e2, card, player);

        LauchEffect e3 = new LauchEffect();

        e3.SetCategory(ComVal.category_destroy | ComVal.category_disCard);
        e3.SetCode(ComVal.code_NoCode);
        e3.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e3.SetLauchArea(ComVal.Area_Monster);
        e3.SetCost(Cost);
        e3.SetCheckLauch(CheckLauch1);
        e3.SetOperation(Operation1);
        duel.ResignEffect(e3, card, player);
    }
Exemple #3
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        //检索
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_search | ComVal.category_toHand);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        e1.SetCode(ComVal.code_NotSpSummon | ComVal.code_SpecialSummon);
        e1.SetCardEffectType(ComVal.cardEffectType_mustToChooseLauch);
        e1.SetLauchArea(ComVal.Area_Monster);
        duel.ResignEffect(e1, card, player);

        //送去墓地
        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_toGrave);
        e2.SetCode(ComVal.code_NoCode);
        e2.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e2.SetLauchArea(ComVal.Area_Monster);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetOperation(Operation1);
        e2.SetLauchPhase(ComVal.Phase_Mainphase);
        duel.ResignEffect(e2, card, player);

        card.SetCardCountLimit(e1, e2, 1);
    }
Exemple #4
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCardEffectType(ComVal.cardEffectType_mustNotInChain);
        e1.SetCategory(ComVal.category_pointer);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCode(ComVal.code_NormalSummon | ComVal.code_SpecialSummon);
        e1.SetLauchArea(ComVal.Area_NormalTrap);
        e1.SetOperation(Operation);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e2.SetCode(ComVal.code_NoCode);
        e2.SetCategory(ComVal.category_drawCard);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetCost(Cost);
        e2.SetLauchArea(ComVal.Area_NormalTrap);
        e2.SetOperation(Operation1);
        duel.ResignEffect(e2, card, player);

        LauchEffect e3 = new LauchEffect();

        e3.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e3.SetCode(ComVal.code_NoCode);
        e3.SetLauchArea(ComVal.Area_Hand);
        e3.SetOperation(Operation2);
        e3.SetCheckLauch(CheckLauch2);
        duel.ResignEffect(e3, card, player);
    }
Exemple #5
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        card.SetXYZMaterialFiter(Filter, 2);

        LauchEffect e1 = new LauchEffect();

        e1.SetCost(Cost);
        e1.SetCategory(ComVal.category_drawCard | ComVal.category_disCard);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e1.SetCode(ComVal.code_NoCode);
        e1.SetLauchArea(ComVal.Area_Monster);
        e1.SetOperation(Operation);

        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_destroy | ComVal.category_disCard);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetCardEffectType(ComVal.cardEffectType_mustToChooseLauch);
        e2.SetCode(ComVal.code_ToGraveyard);
        e2.SetLauchArea(ComVal.Area_Graveyard);
        e2.SetOperation(Operation1);

        duel.ResignEffect(e1, card, player);
        duel.ResignEffect(e2, card, player);
    }
Exemple #6
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        card.SetMaterialFilter2(F1, F2);

        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_destroy | ComVal.category_disAbleEffect);
        e1.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e1.SetCode(ComVal.code_EffectLanch);
        e1.SetLauchArea(ComVal.Area_Monster);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCost(Cost);
        e1.SetOperation(Operation);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_revived);
        e2.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e2.SetCode(ComVal.code_EnterEndPhase);
        e2.SetLauchArea(ComVal.Area_Graveyard);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetOperation(Operation1);
        duel.ResignEffect(e2, card, player);
    }
Exemple #7
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_destroy);
        e1.SetCode(ComVal.code_NoCode);
        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e1.SetLauchArea(ComVal.Area_Hand | ComVal.Area_Trap);
        e1.SetOperation(Operation);
        e1.SetCheckLauch(CheckLauch);
        e1.SetGetTarget(GetTarget);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_destroy);
        e2.SetCode(ComVal.code_NoCode);
        e2.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e2.SetLauchArea(ComVal.Area_Graveyard);
        e2.SetOperation(Operation1);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetGetTarget(GetTarget1);
        e2.SetCost(Cost);
        e2.SetEffectID("05133471");
        duel.ResignEffect(e2, card, player);

        duel.ResignEffectLauchLimitCounter(player, "05133471", 1);
    }
Exemple #8
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_addAttackVal);
        e1.SetCode(ComVal.code_BeforeReckonAttack);
        e1.SetLauchPhase(ComVal.Phase_Battlephase);
        e1.SetLauchArea(ComVal.Area_Hand);
        e1.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e1.SetCost(Cost);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_toHand);
        e2.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e2.SetCode(ComVal.code_NoCode);
        e2.SetLauchPhase(ComVal.Phase_Mainphase);
        e2.SetLauchArea(ComVal.Area_Monster);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetOperation(Operation1);
        duel.ResignEffect(e2, card, player);
    }
Exemple #9
0
    /// <summary>
    /// 生成效果
    /// </summary>
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        //检索
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_search);
        e1.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCode(ComVal.code_NormalSummon | ComVal.code_SpecialSummon);
        e1.SetOperation(Operation);
        e1.SetDescribe(ComStr.EffectDescribe_40044918_2);
        e1.SetLauchArea(ComVal.Area_Monster);
        e1.SetGetTarget(GetTarget);
        duel.ResignEffect(e1, card, card.ownerPlayer);

        //破坏后场
        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_destroy);
        e2.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetCode(ComVal.code_NormalSummon | ComVal.code_SpecialSummon);
        e2.SetOperation(Operation1);
        e2.SetDescribe(ComStr.EffectDescribe_40044918_1);
        e2.SetLauchArea(ComVal.Area_Monster);
        e2.SetGetTarget(GetTarget1);
        duel.ResignEffect(e2, card, card.ownerPlayer);
    }
Exemple #10
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e1.SetCode(ComVal.code_NoCode);
        e1.SetLauchArea(ComVal.Area_Hand);
        e1.SetOperation(Operation);
        e1.SetCheckLauch(CheckLauch);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCardEffectType(ComVal.cardEffectType_mustNotInChain);
        e2.SetCategory(ComVal.category_pointer);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetCode(ComVal.code_NormalSummon | ComVal.code_SpecialSummon);
        e2.SetLauchArea(ComVal.Area_NormalTrap);
        e2.SetOperation(Operation1);
        duel.ResignEffect(e2, card, player);

        LauchEffect e3 = new LauchEffect();//加攻

        e3.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e3.SetCode(ComVal.code_NoCode);
        e3.SetLauchArea(ComVal.Area_NormalTrap);
        e3.SetOperation(Operation2);
        e3.SetCost(Cost2);
        e3.SetCheckLauch(CheckLauch2);
        e3.SetCategory(ComVal.category_pointer);
        e3.SetGetTarget(GetTarget2);
        e3.SetDescribe("场上表侧表示存在的1只名字带有「六武众」或「紫炎」的效果怪兽的攻击力直到这个回合的结束阶段时上升500。");
        duel.ResignEffect(e3, card, player);

        LauchEffect e4 = new LauchEffect();//回手牌

        e4.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e4.SetCode(ComVal.code_NoCode);
        e4.SetLauchArea(ComVal.Area_NormalTrap);
        e4.SetOperation(Operation3);
        e4.SetCost(Cost3);
        e4.SetCheckLauch(CheckLauch3);
        e4.SetCategory(ComVal.category_pointer | ComVal.category_toHand);
        e4.SetDescribe("从自己的卡组·墓地把1只名字带有「六武众」的怪兽加入手卡。");
        duel.ResignEffect(e4, card, player);

        LauchEffect e5 = new LauchEffect();//复生

        e5.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e5.SetCode(ComVal.code_NoCode);
        e5.SetLauchArea(ComVal.Area_NormalTrap);
        e5.SetOperation(Operation4);
        e5.SetCost(Cost4);
        e5.SetCheckLauch(CheckLauch4);
        e5.SetCategory(ComVal.category_pointer | ComVal.category_spSummon);
        e5.SetDescribe("从自己墓地把1只名字带有「紫炎」的效果怪兽特殊召唤。");
        duel.ResignEffect(e5, card, player);
    }
Exemple #11
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_toGrave);
        e1.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e1.SetCode(ComVal.code_NormalSummon);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        duel.ResignEffect(e1, card, player);
    }
Exemple #12
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_destroy | ComVal.category_disAbleEffect);
        e1.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e1.SetCode(ComVal.code_EffectLanch);
        e1.SetLauchArea(ComVal.Area_NormalTrap);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        duel.ResignEffect(e1, card, player);
    }
Exemple #13
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_toHand | ComVal.category_search);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCode(ComVal.code_NoCode);
        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e1.SetOperation(Operation);
        e1.SetLauchArea(ComVal.Area_Hand | ComVal.Area_Trap);
        duel.ResignEffect(e1, card, player);
    }
Exemple #14
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_destroy | ComVal.category_disCard);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        e1.SetCode(ComVal.code_TurnBack | ComVal.code_TurnBackSummon);
        e1.SetCardEffectType(ComVal.cardEffectType_mustLauch);
        e1.SetLauchArea(ComVal.Area_Monster);
        duel.ResignEffect(e1, card, player);
    }
Exemple #15
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetLauchArea(ComVal.Area_Trap);
        e1.SetCategory(ComVal.category_destroy | ComVal.category_remove);
        e1.SetCode(ComVal.code_NormalSummon | ComVal.code_SpecialSummon | ComVal.code_TurnBackSummon);
        e1.SetCardEffectType(ComVal.cardEffectType_mustToChooseLauch);
        e1.SetOperation(Operation);
        e1.SetCheckLauch(CheckLauch);
        duel.ResignEffect(e1, card, player);
    }
Exemple #16
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch | ComVal.cardEffectType_chooseLauch);
        e1.SetCategory(ComVal.category_spSummon);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCode(ComVal.code_FreeCode);
        e1.SetCost(Cost);
        e1.SetLauchArea(ComVal.Area_Trap);
        e1.SetOperation(Operation);
        duel.ResignEffect(e1, card, player);
    }
Exemple #17
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_spSummon);
        e1.SetCode(ComVal.code_NoCode);
        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e1.SetLauchArea(ComVal.Area_Trap | ComVal.Area_Hand);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        e1.SetGetTarget(GetTarget);
        e1.SetLauchPhase(ComVal.Phase_Mainphase);
        duel.ResignEffect(e1, card, player);
    }
Exemple #18
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        card.SetXYZMaterialFiter(Fiter, 2);

        LauchEffect e1 = new LauchEffect();

        e1.SetCost(Cost);
        e1.SetCategory(ComVal.category_addAttackVal);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e1.SetLauchArea(ComVal.Area_Field);
        e1.SetOperation(Operation);

        duel.ResignEffect(e1, card, player);
    }
Exemple #19
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_search);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e1.SetCode(ComVal.code_NoCode);
        e1.SetLauchArea(ComVal.Area_Trap | ComVal.Area_Hand);
        e1.SetEffectID("98645731");
        e1.SetOperation(Operation);

        duel.ResignEffect(e1, card, player);
        duel.ResignEffectLauchLimitCounter(player, "98645731", 1);
    }
Exemple #20
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        card.SetMaterialFilter2(F1, F2);

        LauchEffect e1 = new LauchEffect();

        e1.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e1.SetCode(ComVal.code_EffectLanch);
        e1.SetCategory(ComVal.category_destroy | ComVal.category_disAbleEffect);
        e1.SetCheckLauch(CheckLauch);
        e1.SetLauchArea(ComVal.Area_Field);
        e1.SetOperation(Operation);
        duel.ResignEffect(e1, card, player);

        card.SetCardCountLimit(e1, 1);
    }
Exemple #21
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        card.SetMaterialFilter2(F1, F2);

        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_equipCard);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e1.SetCode(ComVal.code_SpecialSummon);
        e1.SetLauchArea(ComVal.Area_Monster);
        e1.SetOperation(Operation);
        e1.SetGetTarget(GetTarget);

        duel.ResignEffect(e1, card, player);
    }
Exemple #22
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();
        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e1.SetCode(ComVal.code_NoCode);
        e1.SetCategory(ComVal.category_destroy);
        e1.SetLauchArea(ComVal.Area_Monster);
        e1.SetOperation(Operation);
        e1.SetCheckLauch(CheckLauch);
        duel.ResignEffect(e1,card,player);

        LauchEffect e2 = new LauchEffect();
        e2.SetCategory(ComVal.category_disCard);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetOperation(Operation2);
        e2.SetCode(ComVal.code_EnterEndPhase);
        e2.SetCardEffectType(ComVal.cardEffectType_mustLauch);
        e2.SetLauchArea(ComVal.Area_Monster);
        duel.ResignEffect(e2, card, player);
    }
Exemple #23
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        SpSummonEffect e1 = new SpSummonEffect();

        e1.SetPutType(0);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCost(Cost);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_equipCard);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e2.SetCode(ComVal.code_NormalSummon | ComVal.code_SpecialSummon);
        e2.SetLauchArea(ComVal.Area_Monster);
        e2.SetOperation(Operation);
        e2.SetGetTarget(GetTarget);

        duel.ResignEffect(e2, card, player);
    }
Exemple #24
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LimitPlayerEffect e1 = e1 = new LimitPlayerEffect();

        e1.SetCategory(ComVal.category_limitEffect);
        e1.SetTargetType(TargetPlayerType.other);
        e1.SetLimitEffectType(ComVal.limitEffectType_sendToRemove);
        e1.SetCondtion(condition);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_remove);
        e2.SetLauchArea(ComVal.Area_Monster);
        e2.SetCode(ComVal.code_AddCardToHand);
        e2.SetCardEffectType(ComVal.cardEffectType_mustToChooseLauch);
        e2.SetOperation(Operation);
        e2.SetCheckLauch(CheckLauch);
        duel.ResignEffect(e2, card, player);
        card.SetCardCountLimit(e2, 1);
    }
Exemple #25
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LimitPlayerEffect e1 = new LimitPlayerEffect();

        e1.SetCategory(ComVal.category_limitEffect);
        e1.SetTargetType(TargetPlayerType.both);
        e1.SetLimitEffectType(ComVal.limitEffectType_unableSearchCardFromMainDeck);
        e1.SetCondtion(condition);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_disAbleSpSummon);
        e2.SetCheckLauch(CheckLauch);
        e2.SetCode(ComVal.code_SpDeclaration);
        e2.SetCost(Cost);
        e2.SetOperation(Operation);
        e2.SetCardEffectType(ComVal.cardEffectType_mustToChooseLauch);
        e2.SetLauchArea(ComVal.Area_Monster);
        duel.ResignEffect(e2, card, player);
    }
Exemple #26
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCardEffectType(ComVal.cardEffectType_mustToChooseLauch);
        e1.SetCategory(ComVal.category_spSummon);
        e1.SetCheckLauch(CheckLauch);
        e1.SetCode(ComVal.code_NormalSummon);
        e1.SetLauchArea(ComVal.Area_Monster);
        e1.SetOperation(Operation);
        duel.ResignEffect(e1, card, player);

        StateEffect e2 = new StateEffect();

        e2.SetRangeArea(ComVal.Area_Monster);
        e2.SetCardEffectType(ComVal.cardEffectType_normalStateEffect | ComVal.cardEffectType_Single | ComVal.cardEffectType_unableReset);
        e2.SetCategory(ComVal.category_stateEffect);
        e2.SetTarget(card);
        e2.SetStateEffectType(ComVal.stateEffectType_addAfkVal);
        e2.SetGetStateEffectVal(GetAddAfkVal);
        duel.ResignEffect(e2, card, player);
    }
Exemple #27
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        LauchEffect e1 = new LauchEffect();

        e1.SetCode(ComVal.code_BeforeReckonAttack);
        e1.SetCardEffectType(ComVal.cardEffectType_mustLauch);
        e1.SetLauchArea(ComVal.Area_Monster);
        e1.SetLauchPhase(ComVal.Phase_Battlephase);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        duel.ResignEffect(e1, card, player);


        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_disCard);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetOperation(Operation1);
        e2.SetCode(ComVal.code_EnterEndPhase);
        e2.SetCardEffectType(ComVal.cardEffectType_mustLauch);
        e2.SetLauchArea(ComVal.Area_Monster);
        duel.ResignEffect(e2, card, player);
    }
Exemple #28
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        StateEffect e1 = new StateEffect();

        e1.SetRangeArea(ComVal.Area_Monster);
        e1.SetCategory(ComVal.category_stateEffect);
        e1.SetCardEffectType(ComVal.cardEffectType_Single | ComVal.cardEffectType_normalStateEffect | ComVal.cardEffectType_unableReset);
        e1.SetStateEffectType(ComVal.stateEffectType_addAfkVal);
        e1.SetTarget(card);
        e1.SetStateEffectVal(300);
        e1.SetCondtion(Condition);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_disCard);
        e2.SetCheckLauch(CheckLauch);
        e2.SetOperation(Operation);
        e2.SetCode(ComVal.code_EnterEndPhase);
        e2.SetCardEffectType(ComVal.cardEffectType_mustLauch);
        e2.SetLauchArea(ComVal.Area_Monster);
        duel.ResignEffect(e2, card, player);
    }
Exemple #29
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        card.SetMaterialFilter2(Fiter1, Fiter2);

        StateEffect e1 = new StateEffect();

        e1.SetRangeArea(ComVal.Area_Monster);
        e1.SetCardEffectType(ComVal.cardEffectType_normalStateEffect | ComVal.cardEffectType_Single | ComVal.cardEffectType_unableReset);
        e1.SetCategory(ComVal.category_stateEffect);
        e1.SetTarget(card);
        e1.SetStateEffectType(ComVal.stateEffectType_addAfkVal);
        e1.SetGetStateEffectVal(GetAddAfkVal);
        duel.ResignEffect(e1, card, player);

        LauchEffect e2 = new LauchEffect();

        e2.SetCategory(ComVal.category_destroy);
        e2.SetCode(ComVal.code_LeaveField);
        e2.SetCardEffectType(ComVal.cardEffectType_mustLauch);
        e2.SetCheckLauch(CheckLauch);
        e2.SetOperation(Operation);
        duel.ResignEffect(e2, card, player);
    }
Exemple #30
0
    public void InitialEffect(Card card, Player player, IDuel duel)
    {
        card.SetMaterialFilter2(F1, F2);

        LauchEffect e1 = new LauchEffect();

        e1.SetCategory(ComVal.category_remove);
        e1.SetCardEffectType(ComVal.cardEffectType_normalLauch);
        e1.SetLauchArea(ComVal.Area_Monster);
        e1.SetCost(Cost);
        e1.SetCheckLauch(CheckLauch);
        e1.SetOperation(Operation);
        e1.SetGetTarget(GetTarget);
        duel.ResignEffect(e1, card, player);
        card.SetCardCountLimit(e1, 1);

        LauchEffect e2 = new LauchEffect();

        e2.SetCardEffectType(ComVal.cardEffectType_chooseLauch);
        e2.SetCategory(ComVal.category_addAttackVal);
        e2.SetCode(ComVal.code_ToGraveyard);
        e2.SetLauchArea(ComVal.Area_Graveyard);
        e2.SetGetTarget(GetTarget1);
        e2.SetCheckLauch(CheckLauch1);
        e2.SetOperation(Operation1);
        duel.ResignEffect(e2, card, player);

        LauchEffect e3 = new LauchEffect();

        e3.SetCategory(ComVal.category_disCard);
        e3.SetCheckLauch(CheckLauch3);
        e3.SetOperation(Operation3);
        e3.SetCode(ComVal.code_EnterEndPhase);
        e3.SetCardEffectType(ComVal.cardEffectType_mustLauch);
        e3.SetLauchArea(ComVal.Area_Monster);
        duel.ResignEffect(e3, card, player);
    }