Commit d127ede0 authored by TanakaKotoha's avatar TanakaKotoha

wdnmd

parent d7958ba3
No preview for this file type
...@@ -12,7 +12,7 @@ function c72410640.initial_effect(c) ...@@ -12,7 +12,7 @@ function c72410640.initial_effect(c)
e2:SetRange(LOCATION_FZONE) e2:SetRange(LOCATION_FZONE)
e2:SetCode(EFFECT_EXTRA_SUMMON_COUNT) e2:SetCode(EFFECT_EXTRA_SUMMON_COUNT)
e2:SetTargetRange(LOCATION_HAND+LOCATION_MZONE,0) e2:SetTargetRange(LOCATION_HAND+LOCATION_MZONE,0)
e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x7729)) e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0xe728))
c:RegisterEffect(e2) c:RegisterEffect(e2)
--synchro summon --synchro summon
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
...@@ -29,13 +29,13 @@ function c72410640.initial_effect(c) ...@@ -29,13 +29,13 @@ function c72410640.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c72410640.scfilter(c,tp) function c72410640.scfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x7729) and c:IsControler(tp) return c:IsFaceup() and c:IsSetCard(0xe728) and c:IsControler(tp)
end end
function c72410640.sccon(e,tp,eg,ep,ev,re,r,rp) function c72410640.sccon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c72410640.scfilter,1,nil,tp) return eg:IsExists(c72410640.scfilter,1,nil,tp)
end end
function c72410640.thfilter(c) function c72410640.thfilter(c)
return c:IsSetCard(0x7729) and c:IsAbleToHand() return c:IsSetCard(0xe728) and c:IsAbleToHand()
end end
function c72410640.sctg(e,tp,eg,ep,ev,re,r,rp,chk) function c72410640.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c72410640.thfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c72410640.thfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -33,7 +33,7 @@ function c72410650.initial_effect(c) ...@@ -33,7 +33,7 @@ function c72410650.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c72410650.cfilter(c,ft) function c72410650.cfilter(c,ft)
return c:IsFaceup() and c:IsAbleToHandAsCost() and c:IsSetCard(0x7729) and (ft>0 or c:GetSequence()<5) return c:IsFaceup() and c:IsAbleToHandAsCost() and c:IsSetCard(0xe728) and (ft>0 or c:GetSequence()<5)
end end
function c72410650.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c72410650.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
...@@ -29,7 +29,7 @@ function c72410660.initial_effect(c) ...@@ -29,7 +29,7 @@ function c72410660.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c72410660.cfilter(c,ft) function c72410660.cfilter(c,ft)
return c:IsFaceup() and c:IsAbleToHandAsCost() and c:IsSetCard(0x7729) and (ft>0 or c:GetSequence()<5) return c:IsFaceup() and c:IsAbleToHandAsCost() and c:IsSetCard(0xe728) and (ft>0 or c:GetSequence()<5)
end end
function c72410660.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c72410660.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
...@@ -23,7 +23,7 @@ function c72410670.initial_effect(c) ...@@ -23,7 +23,7 @@ function c72410670.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c72410670.cfilter(c,ft) function c72410670.cfilter(c,ft)
return c:IsFaceup() and c:IsAbleToHandAsCost() and c:IsSetCard(0x7729) and (ft>0 or c:GetSequence()<5) return c:IsFaceup() and c:IsAbleToHandAsCost() and c:IsSetCard(0xe728) and (ft>0 or c:GetSequence()<5)
end end
function c72410670.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c72410670.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
...@@ -31,7 +31,7 @@ function c72410680.initial_effect(c) ...@@ -31,7 +31,7 @@ function c72410680.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c72410680.spfilter(c,e,tp) function c72410680.spfilter(c,e,tp)
return c:IsSetCard(0x7729) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0xe728) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c72410680.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c72410680.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
...@@ -47,7 +47,7 @@ function c72410680.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,7 +47,7 @@ function c72410680.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c72410680.scfilter(c,tp) function c72410680.scfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x7729) and c:IsControler(tp) return c:IsFaceup() and c:IsSetCard(0xe728) and c:IsControler(tp)
end end
function c72410680.sccon(e,tp,eg,ep,ev,re,r,rp) function c72410680.sccon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c72410680.scfilter,1,nil,tp) return eg:IsExists(c72410680.scfilter,1,nil,tp)
......
...@@ -65,7 +65,7 @@ function c72411150.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,7 @@ function c72411150.operation(e,tp,eg,ep,ev,re,r,rp)
end end
elseif opt==1 then elseif opt==1 then
if Duel.DiscardHand(tp,c72411150.filter2,1,1,REASON_EFFECT+REASON_DISCARD,nil)~=0 then if Duel.DiscardHand(tp,c72411150.filter2,1,1,REASON_EFFECT+REASON_DISCARD,nil)~=0 then
local token=Duel.CreateToken(tp,72430323) local token=Duel.CreateToken(tp,72411151)
if Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP) then if Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP) then
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
......
...@@ -62,11 +62,12 @@ function c72411180.cfilter(c,tp) ...@@ -62,11 +62,12 @@ function c72411180.cfilter(c,tp)
return c:IsCode(72411030) and c:IsDiscardable(REASON_COST) return c:IsCode(72411030) and c:IsDiscardable(REASON_COST)
end end
function c72411180.cost3(e,tp,eg,ep,ev,re,r,rp,chk) function c72411180.cost3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c72411180.costfilter,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c72411180.cfilter,tp,LOCATION_HAND,0,1,nil) end
Duel.DiscardHand(tp,c72411180.cfilter,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,c72411180.cfilter,1,1,REASON_COST+REASON_DISCARD)
end end
function c72411180.target3(e,tp,eg,ep,ev,re,r,rp,chk) function c72411180.target3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function c72411180.operation3(e,tp,eg,ep,ev,re,r,rp) function c72411180.operation3(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -782,11 +782,10 @@ ...@@ -782,11 +782,10 @@
!setname 0x720 大庭院 !setname 0x720 大庭院
!setname 0x721 百鬼妖游祭行 !setname 0x721 百鬼妖游祭行
!setname 0x723 钢铁叛乱 !setname 0x723 钢铁叛乱
!setname 0x3729 神花机关 !setname 0x6728 神花机关
!setname 0xe728 神花姬
!setname 0x5729 马纳历亚 !setname 0x5729 马纳历亚
!setname 0x6729 神造遗物 !setname 0x6729 神造遗物
!setname 0x7729 神花姬
#(0x7729为0x3729子字段,暂时无影响)
!setname 0x9729 电晶 !setname 0x9729 电晶
!setname 0xe729 神造遗物使 !setname 0xe729 神造遗物使
......
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