Commit 4a0eb5ff authored by tsubaki's avatar tsubaki

fix4

parent 9727dcb8
Pipeline #42363 passed with stage
in 10 seconds
...@@ -72,7 +72,7 @@ function c22130.filter(c) ...@@ -72,7 +72,7 @@ function c22130.filter(c)
return c:IsSetCard(0x177) and c:IsType(TYPE_CONTINUOUS) and c:IsType(TYPE_SPELL) return c:IsSetCard(0x177) and c:IsType(TYPE_CONTINUOUS) and c:IsType(TYPE_SPELL)
end end
function c22130.filter1(c,g) function c22130.filter1(c,g)
return g:IsExists(Card.IsCode,1,c,c:GetCode()) return g:IsExists(Card.IsCode,2,c,c:GetCode())
end end
function c22130.target(e,tp,eg,ep,ev,re,r,rp,chk) function c22130.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
...@@ -101,8 +101,8 @@ function c22130.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -101,8 +101,8 @@ function c22130.operation(e,tp,eg,ep,ev,re,r,rp)
if sg:GetCount()==0 then return end if sg:GetCount()==0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g1=sg:Select(tp,1,1,nil) local g1=sg:Select(tp,1,1,nil)
local g2=sg:Filter(Card.IsCode,g1:GetFirst(),g1:GetFirst():GetCode()):GetFirst() local g2=sg:Filter(Card.IsCode,g1:GetFirst(),g1:GetFirst():GetCode())
g1:AddCard(g2) g1:Merge(g2)
Duel.SendtoHand(g1,nil,REASON_EFFECT) Duel.SendtoHand(g1,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g1) Duel.ConfirmCards(1-tp,g1)
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