Commit 3fa12806 authored by POLYMER's avatar POLYMER

fix

parent 0160465f
...@@ -2744,6 +2744,9 @@ ...@@ -2744,6 +2744,9 @@
77103950 1 77103950 1
#250629 #250629
10111188 0 10111188 0
11560715 0
65140038 0
11579812 0
60001506 1 60001506 1
60001507 1 60001507 1
60001508 1 60001508 1
...@@ -2755,6 +2758,11 @@ ...@@ -2755,6 +2758,11 @@
10105675 2 10105675 2
10111104 2 10111104 2
10111196 2 10111196 2
75081033 2
75081043 2
75081045 2
75081047 2
26082132 2
#250615 #250615
75011040 0 --熟练的炼金术师 莱莎琳·斯托特 75011040 0 --熟练的炼金术师 莱莎琳·斯托特
12899019 0 --D.H.P.K.-杀手猎人 12899019 0 --D.H.P.K.-杀手猎人
......
...@@ -37,13 +37,11 @@ function c11570006.initial_effect(c) ...@@ -37,13 +37,11 @@ function c11570006.initial_effect(c)
e3:SetTarget(c11570006.thtg) e3:SetTarget(c11570006.thtg)
e3:SetOperation(c11570006.thop) e3:SetOperation(c11570006.thop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--selfdes --spsummon limit
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetCode(EFFECT_SELF_DESTROY) e4:SetCode(EFFECT_SPSUMMON_COST)
e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e4:SetCost(c11570006.splcost)
e4:SetRange(LOCATION_MZONE)
e4:SetCondition(c11570006.descon)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c11570006.sprfilter(c) function c11570006.sprfilter(c)
...@@ -121,9 +119,9 @@ function c11570006.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -121,9 +119,9 @@ function c11570006.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
function c11570006.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetMatchingGroupCount(c11570006.chkfilter,tp,LOCATION_MZONE,0,nil)==0
end
function c11570006.chkfilter(c) function c11570006.chkfilter(c)
return c:IsSetCard(0x3810) and c:IsFaceup() return c:IsSetCard(0x3810) and c:IsFaceup()
end end
function c11570006.splcost(e,c,tp,sumtype)
return Duel.IsExistingMatchingCard(c11570006.chkfilter,tp,LOCATION_MZONE,0,1,nil)
end
...@@ -56,11 +56,13 @@ function c11570009.initial_effect(c) ...@@ -56,11 +56,13 @@ function c11570009.initial_effect(c)
e3:SetTarget(c11570009.rmtg) e3:SetTarget(c11570009.rmtg)
e3:SetOperation(c11570009.rmop) e3:SetOperation(c11570009.rmop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--spsummon limit --selfdes
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetCode(EFFECT_SPSUMMON_COST) e4:SetCode(EFFECT_SELF_DESTROY)
e4:SetCost(c11570009.splcost) e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e4:SetRange(LOCATION_MZONE)
e4:SetCondition(c11570009.descon)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c11570009.regcon(e,tp,eg,ep,ev,re,r,rp) function c11570009.regcon(e,tp,eg,ep,ev,re,r,rp)
...@@ -146,6 +148,6 @@ end ...@@ -146,6 +148,6 @@ end
function c11570009.chkfilter(c) function c11570009.chkfilter(c)
return c:IsSetCard(0x3810) and c:IsFaceup() return c:IsSetCard(0x3810) and c:IsFaceup()
end end
function c11570009.splcost(e,c,tp,sumtype) function c11570009.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c11570009.chkfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.GetMatchingGroupCount(c11570009.chkfilter,tp,LOCATION_MZONE,0,nil)==0
end 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