Commit c1082edb authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

parent ad6a2523
Pipeline #2458 passed with stages
in 40 minutes and 22 seconds
......@@ -2,7 +2,7 @@
local m=12014002
local cm=_G["c"..m]
function cm.initial_effect(c)
c:EnableCounterPermit(0x2fb4)
c:EnableCounterPermit(0x1fb4)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
......@@ -59,7 +59,7 @@ function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
and rc:IsFaceup() and rc:IsSetCard(0x5fa9) and rc:IsControler(tp)
end
function cm.drop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():AddCounter(0x2fb4,1)
e:GetHandler():AddCounter(0x1fb4,1)
end
function cm.drcon1(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
......@@ -70,8 +70,8 @@ function cm.spfilter(c,e,tp)
end
function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsCanRemoveCounter(tp,0x2fb4,1,REASON_COST) end
c:RemoveCounter(tp,0x2fb4,1,REASON_COST)
if chk==0 then return c:IsCanRemoveCounter(tp,0x1fb4,1,REASON_COST) end
c:RemoveCounter(tp,0x1fb4,1,REASON_COST)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......@@ -87,8 +87,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanRemoveCounter(tp,0x2fb4,7,REASON_COST) end
c:RemoveCounter(tp,0x2fb4,7,REASON_COST)
if chk==0 then return e:GetHandler():IsCanRemoveCounter(tp,0x1fb4,7,REASON_COST) end
c:RemoveCounter(tp,0x1fb4,7,REASON_COST)
end
function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGrave,tp,0,LOCATION_HAND+LOCATION_EXTRA,1,nil) end
......
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