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)
local c=e:GetHandler()
local g=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
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
Duel.Hint(3,tp,509)
local sg=tg:Select(tp,1,1,nil)
Duel.HintSelection(sg)
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
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
local tc=tg:GetFirst()
if #tg>1 then
Duel.Hint(3,tp,509)
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
\ No newline at end of file
......@@ -44,7 +44,7 @@ end
function c9910258.operation(e,tp,eg,ep,ev,re,r,rp)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_CHAIN_SOLVING)
e2:SetCode(EVENT_CHAIN_ACTIVATING)
e2:SetCondition(c9910258.descon)
e2:SetOperation(c9910258.desop)
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