Commit b29efbbc authored by VanillaSalt's avatar VanillaSalt

fix

parent 88ceae89
......@@ -40,6 +40,8 @@ function c40044918.tg(e,tp,eg,ep,ev,re,r,rp,chk)
end
e:SetLabel(sel)
if sel==1 then
local g=Duel.GetMatchingGroup(c40044918.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
else Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) end
end
function c40044918.op(e,tp,eg,ep,ev,re,r,rp)
......@@ -48,7 +50,7 @@ function c40044918.op(e,tp,eg,ep,ev,re,r,rp)
if sel==1 then
local ct=Duel.GetMatchingGroupCount(c40044918.ctfilter,tp,LOCATION_MZONE,0,c)
local g=Duel.GetMatchingGroup(c40044918.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
if ct>0 and g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(40044918,3)) then
if ct>0 and g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local dg=g:Select(tp,1,ct,nil)
Duel.HintSelection(dg)
......
--ギガ·ガガギゴ
function c43793530.initial_effect(c)
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