Commit 9ae71eef authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c21113630.lua

parent e3a559cf
......@@ -24,6 +24,7 @@ function c21113630.initial_effect(c)
e3:SetRange(LOCATION_GRAVE)
e3:SetCountLimit(1,21113632)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCondition(c21113630.con3)
e3:SetTarget(c21113630.tg3)
e3:SetOperation(c21113630.op3)
c:RegisterEffect(e3)
......@@ -85,6 +86,9 @@ function c21113630.op2(e,tp,eg,ep,ev,re,r,rp)
end
Duel.ShuffleDeck(1-tp)
end
function c21113630.con3(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_EXTRA,0)==0
end
function c21113630.tg3(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsAbleToHand() and Duel.IsExistingTarget(Card.IsControlerCanBeChanged,tp,0,4,1,nil) 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