Commit 74c7ebd4 authored by GuGu's avatar GuGu

Update c74560011.lua

parent 2012eeca
Pipeline #32665 passed with stage
in 14 seconds
......@@ -39,7 +39,7 @@ function cCardno.filter(c,e,tp)
end
function cCardno.op2(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetDecktopGroup(1-tp,1):GetFirst()
if tc and tc:IsAbleToHand() then
if tc then
local t=0
local opt=e:GetLabel()
if opt==0 then
......@@ -51,11 +51,11 @@ function cCardno.op2(e,tp,eg,ep,ev,re,r,rp)
end
end
Duel.ConfirmDecktop(1-tp,1)
if tc:IsType(t) then
if tc:IsType(t) and tc:IsAbleToRemove(POS_FACEDOWN) then
Duel.DisableShuffleCheck()
Duel.Remove(tc,POS_FACEDOWN,REASON_EFFECT)
Duel.Draw(tp,1,REASON_EFFECT)
else
elseif tc:IsAbleToHand() then
Duel.DisableShuffleCheck()
Duel.SendtoHand(tc,1-tp,REASON_EFFECT)
Duel.ShuffleHand(1-tp)
......
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