Commit c1082edb authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

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