Commit 3f5a7398 authored by TanakaKotoha's avatar TanakaKotoha

fnmdp

parent 526367cb
expansions/pics/81011002.jpg

77 KB | W: | H:

expansions/pics/81011002.jpg

84.4 KB | W: | H:

expansions/pics/81011002.jpg
expansions/pics/81011002.jpg
expansions/pics/81011002.jpg
expansions/pics/81011002.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -14,6 +14,7 @@ function cm.initial_effect(c) ...@@ -14,6 +14,7 @@ function cm.initial_effect(c)
e2:SetCode(EVENT_FREE_CHAIN) e2:SetCode(EVENT_FREE_CHAIN)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1,m) e2:SetCountLimit(1,m)
e2:SetCondition(cm.condition)
e2:SetTarget(cm.matg) e2:SetTarget(cm.matg)
e2:SetOperation(cm.maop) e2:SetOperation(cm.maop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -39,6 +40,9 @@ function cm.initial_effect(c) ...@@ -39,6 +40,9 @@ function cm.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
--e2 --e2
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
end
function cm.cfilter1(c) function cm.cfilter1(c)
return c:IsSetCard(0xa85) return c:IsSetCard(0xa85)
end end
...@@ -80,6 +84,12 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,6 +84,12 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE) e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e2:SetCode(EFFECT_QP_ACT_IN_SET_TURN)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc1:RegisterEffect(e2)
end end
end end
--e4 --e4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment