Commit 492409b8 authored by salix5's avatar salix5

fusion confirm

parent e6d228c7
...@@ -73,5 +73,6 @@ function c12071500.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,5 +73,6 @@ function c12071500.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
...@@ -80,6 +80,7 @@ function c1264319.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,6 +80,7 @@ function c1264319.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
function c1264319.thfilter(c) function c1264319.thfilter(c)
......
...@@ -87,5 +87,6 @@ function c23299957.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,5 +87,6 @@ function c23299957.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
...@@ -70,5 +70,6 @@ function c24094653.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,5 +70,6 @@ function c24094653.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
...@@ -81,5 +81,6 @@ function c33550694.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,5 +81,6 @@ function c33550694.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
...@@ -84,6 +84,7 @@ function c37630732.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -84,6 +84,7 @@ function c37630732.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
function c37630732.damop(e,tp,eg,ep,ev,re,r,rp) function c37630732.damop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -98,6 +98,7 @@ function c43698897.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -98,6 +98,7 @@ function c43698897.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
function c43698897.thcon(e,tp,eg,ep,ev,re,r,rp) function c43698897.thcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -85,5 +85,6 @@ function c44394295.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -85,5 +85,6 @@ function c44394295.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
...@@ -70,5 +70,6 @@ function c55824220.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,5 +70,6 @@ function c55824220.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
...@@ -124,5 +124,6 @@ function c60226558.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -124,5 +124,6 @@ function c60226558.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
...@@ -72,5 +72,6 @@ function c6417578.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,5 +72,6 @@ function c6417578.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
...@@ -110,5 +110,6 @@ function c65331686.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -110,5 +110,6 @@ function c65331686.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
...@@ -36,9 +36,6 @@ function c71422989.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -36,9 +36,6 @@ function c71422989.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c71422989.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c71422989.filter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end end
function c71422989.filter0(c)
return c:IsCanBeFusionMaterial() and c:IsAbleToRemove()
end
function c71422989.filter1(c,e) function c71422989.filter1(c,e)
return c:IsCanBeFusionMaterial() and c:IsAbleToRemove() and not c:IsImmuneToEffect(e) return c:IsCanBeFusionMaterial() and c:IsAbleToRemove() and not c:IsImmuneToEffect(e)
end end
...@@ -53,7 +50,7 @@ function c71422989.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,7 +50,7 @@ function c71422989.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
local chkf=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and PLAYER_NONE or tp local chkf=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and PLAYER_NONE or tp
local mg1=Duel.GetMatchingGroup(c71422989.filter0,tp,LOCATION_HAND+LOCATION_MZONE,0,nil) local mg1=Duel.GetMatchingGroup(c71422989.filter1,tp,LOCATION_HAND+LOCATION_MZONE,0,nil)
local sg1=Duel.GetMatchingGroup(c71422989.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf) local sg1=Duel.GetMatchingGroup(c71422989.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf)
local mg2=nil local mg2=nil
local sg2=nil local sg2=nil
......
...@@ -116,6 +116,7 @@ function c73360025.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -116,6 +116,7 @@ function c73360025.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
end end
function c73360025.damcon(e,tp,eg,ep,ev,re,r,rp) function c73360025.damcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -76,5 +76,6 @@ function c94820406.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,5 +76,6 @@ function c94820406.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,cg1) Duel.ConfirmCards(1-tp,cg1)
local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local cg2=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
Duel.ConfirmCards(1-tp,cg2) Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
end end
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