Commit e83aad48 authored by salix5's avatar salix5

fix

parent 2d0cab5b
...@@ -24,6 +24,7 @@ function c33365932.tg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -24,6 +24,7 @@ function c33365932.tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end end
function c33365932.op(e,tp,eg,ep,ev,re,r,rp) function c33365932.op(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsLocation(LOCATION_GRAVE) then return end
local tc=Duel.GetFirstMatchingCard(c33365932.filter,tp,LOCATION_DECK,0,nil) local tc=Duel.GetFirstMatchingCard(c33365932.filter,tp,LOCATION_DECK,0,nil)
if tc then if tc then
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
......
...@@ -24,6 +24,7 @@ function c87751584.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -24,6 +24,7 @@ function c87751584.desop(e,tp,eg,ep,ev,re,r,rp)
local c1,c2,c3=Duel.TossCoin(tp,3) local c1,c2,c3=Duel.TossCoin(tp,3)
local ct=c1+c2+c3 local ct=c1+c2+c3
if ct==0 then return end if ct==0 then return end
if ct>g:GetCount() then ct=g:GetCount() end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local dg=g:Select(tp,ct,ct,nil) local dg=g:Select(tp,ct,ct,nil)
Duel.HintSelection(dg) Duel.HintSelection(dg)
......
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