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); }
public void InitialEffect(Card card, Player player, IDuel duel) { SpSummonEffect e1 = new SpSummonEffect(); e1.SetCheckLauch(CheckLauch); e1.SetPutType(0); 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); StateEffect e3 = (StateEffect)e2.Clone(); e3.SetStateEffectType(ComVal.stateEffectType_addDefVal); duel.ResignEffect(e3, card, player); }
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); }