Commit 9d7e1d62 authored by Tachibana's avatar Tachibana

得得得得得

parent ce604b3d
Pipeline #12723 passed with stages
in 30 minutes and 43 seconds
......@@ -73,6 +73,8 @@ function c33200071.thop(e,tp,eg,ep,ev,re,r,rp)
local cg=sg1:RandomSelect(1-tp,1)
local tc=cg:GetFirst()
Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc)
Duel.ShuffleHand()
Duel.ShuffleDeck(tp)
end
end
......@@ -66,13 +66,13 @@ function c33400035.ovfilter(c)
return c:IsFaceup() and c:IsSetCard(0x341)
end
function c33400035.refilter1(c)
return c:IsXyzType(TYPE_XYZ) and c:IsType(TYPE_MONSTER) and c:IsSetCard(0x3341)
return c:IsXyzType(TYPE_XYZ) and c:IsType(TYPE_MONSTER) and c:IsSetCard(0x3341) and c:IsAbleToRemoveAsCost()
end
function c33400035.refilter2(c)
return c:IsXyzType(TYPE_XYZ) and c:IsType(TYPE_MONSTER) and c:IsSetCard(0x6342)
return c:IsXyzType(TYPE_XYZ) and c:IsType(TYPE_MONSTER) and c:IsSetCard(0x6342) and c:IsAbleToRemoveAsCost()
end
function c33400035.refilter3(c)
return c:IsXyzType(TYPE_XYZ) and c:IsType(TYPE_MONSTER)
return c:IsXyzType(TYPE_XYZ) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost()
end
function c33400035.check(g)
return g:IsExists(Card.IsSetCard,1,nil,0x3341) and g:IsExists(Card.IsSetCard,1,nil,0x6342)
......@@ -81,9 +81,7 @@ function c33400035.xyzop(e,tp,chk,c)
local g1nm=Duel.GetMatchingGroupCount(c33400035.refilter1,tp,LOCATION_GRAVE,0,nil)
local g2nm=Duel.GetMatchingGroupCount(c33400035.refilter2,tp,LOCATION_GRAVE,0,nil)
local g3nm=Duel.GetMatchingGroupCount(c33400035.refilter3,tp,LOCATION_GRAVE,0,nil)
local cnm=g1nm+g2nm
local cnm2=g3nm-cnm
if chk==0 then return cnm>=3 or (g1nm==1 and g2nm==1 and cnm2>=1) end
if chk==0 then return g1nm>=1 and g2nm>=1 and g3nm>=3 end
local g=Duel.GetMatchingGroup(c33400035.refilter3,tp,LOCATION_GRAVE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g1=g:SelectSubGroup(tp,c33400035.check,false,3,99)
......
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