Commit aab06952 authored by POLYMER's avatar POLYMER

fix

parent 0d79f51c
This diff is collapsed.
...@@ -75,10 +75,14 @@ function s.ciop(e,tp,eg,ep,ev,re,r,rp) ...@@ -75,10 +75,14 @@ function s.ciop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local g=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local g=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
local tg=g:Filter(s.fi2ter,c,e,tp) local tg=g:Filter(s.fi2ter,c,e,tp)
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 and #tg>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 and #tg>0 and Duel.GetLocationCount(tp,0x04)>0 then
Duel.Hint(3,tp,509) local tc=tg:GetFirst()
local sg=tg:Select(tp,1,1,nil) if #tg>1 then
Duel.HintSelection(sg) Duel.Hint(3,tp,509)
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP) local sg=tg:Select(tp,1,1,nil)
Duel.HintSelection(sg)
tc=sg:GetFirst()
end
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -44,7 +44,7 @@ end ...@@ -44,7 +44,7 @@ end
function c9910258.operation(e,tp,eg,ep,ev,re,r,rp) function c9910258.operation(e,tp,eg,ep,ev,re,r,rp)
local e2=Effect.CreateEffect(e:GetHandler()) local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_CHAIN_SOLVING) e2:SetCode(EVENT_CHAIN_ACTIVATING)
e2:SetCondition(c9910258.descon) e2:SetCondition(c9910258.descon)
e2:SetOperation(c9910258.desop) e2:SetOperation(c9910258.desop)
e2:SetReset(RESET_CHAIN) e2:SetReset(RESET_CHAIN)
......
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