Commit f2ead362 authored by mercury233's avatar mercury233

fix

parent 2b9617f6
...@@ -43,7 +43,7 @@ function c100254005.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -43,7 +43,7 @@ function c100254005.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
function c100254005.sumlimit(e,c,sump,sumtype,sumpos,targetp,se) function c100254005.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsSetCard(0xfb) return not c:IsSetCard(0xfb)
end end
function c100254005.target(e,tp,eg,ep,ev,re,r,rp,chk) function c100254005.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not Duel.IsPlayerAffectedByEffect(tp,59822133) if chk==0 then return not Duel.IsPlayerAffectedByEffect(tp,59822133)
......
...@@ -31,7 +31,7 @@ function c100255011.setcost1(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -31,7 +31,7 @@ function c100255011.setcost1(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c100255011.setfilter1(c,tp) function c100255011.setfilter1(c,tp)
return c:IsFaceup() and c:IsSetCard(0x7c) and c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsFaceup() and c:IsSetCard(0x7c) and c:IsType(TYPE_SPELL+TYPE_TRAP)
and Duel.IsExistingMatchingCard(c100255011.setfilter2,tp,LOCATION_DECK,0,1,nil,tc:GetCode()) and Duel.IsExistingMatchingCard(c100255011.setfilter2,tp,LOCATION_DECK,0,1,nil,c:GetCode())
end end
function c100255011.setfilter2(c,code) function c100255011.setfilter2(c,code)
return c:IsSetCard(0x7c) and c:IsType(TYPE_SPELL+TYPE_TRAP) and not c:IsCode(code) and c:IsSSetable() return c:IsSetCard(0x7c) and c:IsType(TYPE_SPELL+TYPE_TRAP) and not c:IsCode(code) and c:IsSSetable()
......
...@@ -24,7 +24,7 @@ function c100255012.initial_effect(c) ...@@ -24,7 +24,7 @@ function c100255012.initial_effect(c)
e3:SetType(EFFECT_TYPE_IGNITION) e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET) e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,100255012) e3:SetCountLimit(1,100255012+100)
e3:SetTarget(c100255012.tdtg) e3:SetTarget(c100255012.tdtg)
e3:SetOperation(c100255012.tdop) e3:SetOperation(c100255012.tdop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
......
...@@ -39,7 +39,7 @@ end ...@@ -39,7 +39,7 @@ end
function c100255013.spop(e,tp,eg,ep,ev,re,r,rp) function c100255013.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(c100255013.spfilter),tp,LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(c100255013.spfilter),tp,LOCATION_GRAVE,0,nil,e,tp)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(100255013,1)) then if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(100255013,1)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......
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