Commit 81b5160b authored by POLYMER's avatar POLYMER

fix

parent e9a03bb8
...@@ -82,7 +82,8 @@ function c22348196.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,7 +82,8 @@ function c22348196.spop1(e,tp,eg,ep,ev,re,r,rp)
end end
function c22348196.spop2(e,tp,eg,ep,ev,re,r,rp) function c22348196.spop2(e,tp,eg,ep,ev,re,r,rp)
local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
local g=ag:Filter(Card.IsType,nil,TYPE_MONSTER) local tg=ag:Filter(Card.IsRelateToEffect,nil,re)
local g=tg:Filter(Card.IsType,nil,TYPE_MONSTER)
local gg=g:Filter(Card.IsAbleToHand,nil) local gg=g:Filter(Card.IsAbleToHand,nil)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348196,3)) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348196,3)) then
......
...@@ -81,7 +81,8 @@ function c22348197.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,7 +81,8 @@ function c22348197.spop1(e,tp,eg,ep,ev,re,r,rp)
end end
function c22348197.spop2(e,tp,eg,ep,ev,re,r,rp) function c22348197.spop2(e,tp,eg,ep,ev,re,r,rp)
local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
local g=ag:Filter(Card.IsType,nil,TYPE_MONSTER) local tg=ag:Filter(Card.IsRelateToEffect,nil,re)
local g=tg:Filter(Card.IsType,nil,TYPE_MONSTER)
local gg=g:Filter(Card.IsAbleToHand,nil) local gg=g:Filter(Card.IsAbleToHand,nil)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348197,3)) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348197,3)) then
......
...@@ -82,7 +82,8 @@ function c22348198.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,7 +82,8 @@ function c22348198.spop1(e,tp,eg,ep,ev,re,r,rp)
end end
function c22348198.spop2(e,tp,eg,ep,ev,re,r,rp) function c22348198.spop2(e,tp,eg,ep,ev,re,r,rp)
local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
local g=ag:Filter(Card.IsType,nil,TYPE_MONSTER) local tg=ag:Filter(Card.IsRelateToEffect,nil,re)
local g=tg:Filter(Card.IsType,nil,TYPE_MONSTER)
local gg=g:Filter(Card.IsAbleToHand,nil) local gg=g:Filter(Card.IsAbleToHand,nil)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348198,3)) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348198,3)) then
......
...@@ -83,7 +83,8 @@ function c22348199.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,7 +83,8 @@ function c22348199.spop1(e,tp,eg,ep,ev,re,r,rp)
end end
function c22348199.spop2(e,tp,eg,ep,ev,re,r,rp) function c22348199.spop2(e,tp,eg,ep,ev,re,r,rp)
local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
local g=ag:Filter(Card.IsType,nil,TYPE_MONSTER) local tg=ag:Filter(Card.IsRelateToEffect,nil,re)
local g=tg:Filter(Card.IsType,nil,TYPE_MONSTER)
local gg=g:Filter(Card.IsAbleToHand,nil) local gg=g:Filter(Card.IsAbleToHand,nil)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348199,3)) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348199,3)) then
......
...@@ -80,7 +80,8 @@ function c22348200.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,7 +80,8 @@ function c22348200.spop1(e,tp,eg,ep,ev,re,r,rp)
end end
function c22348200.spop2(e,tp,eg,ep,ev,re,r,rp) function c22348200.spop2(e,tp,eg,ep,ev,re,r,rp)
local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
local g=ag:Filter(Card.IsType,nil,TYPE_MONSTER) local tg=ag:Filter(Card.IsRelateToEffect,nil,re)
local g=tg:Filter(Card.IsType,nil,TYPE_MONSTER)
local gg=g:Filter(Card.IsAbleToHand,nil) local gg=g:Filter(Card.IsAbleToHand,nil)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348200,3)) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348200,3)) then
......
...@@ -81,7 +81,8 @@ function c22348201.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,7 +81,8 @@ function c22348201.spop1(e,tp,eg,ep,ev,re,r,rp)
end end
function c22348201.spop2(e,tp,eg,ep,ev,re,r,rp) function c22348201.spop2(e,tp,eg,ep,ev,re,r,rp)
local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
local g=ag:Filter(Card.IsType,nil,TYPE_MONSTER) local tg=ag:Filter(Card.IsRelateToEffect,nil,re)
local g=tg:Filter(Card.IsType,nil,TYPE_MONSTER)
local gg=g:Filter(Card.IsAbleToHand,nil) local gg=g:Filter(Card.IsAbleToHand,nil)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348201,3)) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348201,3)) then
......
...@@ -79,7 +79,8 @@ function c22348207.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -79,7 +79,8 @@ function c22348207.spop1(e,tp,eg,ep,ev,re,r,rp)
end end
function c22348207.spop2(e,tp,eg,ep,ev,re,r,rp) function c22348207.spop2(e,tp,eg,ep,ev,re,r,rp)
local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
local g=ag:Filter(Card.IsType,nil,TYPE_MONSTER) local tg=ag:Filter(Card.IsRelateToEffect,nil,re)
local g=tg:Filter(Card.IsType,nil,TYPE_MONSTER)
local gg=g:Filter(Card.IsAbleToHand,nil) local gg=g:Filter(Card.IsAbleToHand,nil)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348207,3)) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348207,3)) then
......
...@@ -79,7 +79,8 @@ function c22348208.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -79,7 +79,8 @@ function c22348208.spop1(e,tp,eg,ep,ev,re,r,rp)
end end
function c22348208.spop2(e,tp,eg,ep,ev,re,r,rp) function c22348208.spop2(e,tp,eg,ep,ev,re,r,rp)
local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local ag=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
local g=ag:Filter(Card.IsType,nil,TYPE_MONSTER) local tg=ag:Filter(Card.IsRelateToEffect,nil,re)
local g=tg:Filter(Card.IsType,nil,TYPE_MONSTER)
local gg=g:Filter(Card.IsAbleToHand,nil) local gg=g:Filter(Card.IsAbleToHand,nil)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348208,3)) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and g:GetCount()~=0 and Duel.SelectYesNo(tp,aux.Stringid(22348208,3)) then
......
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