Commit f8d70f1a authored by POLYMER's avatar POLYMER

fix

parent 3990a722
No preview for this file type
......@@ -184,7 +184,7 @@ function c11561057.desop(e,tp,eg,ep,ev,re,r,rp)
local cg=c:GetColumnGroup():Filter(Card.IsControler,nil,1-tp)
if #cg==0 then return end
res=Duel.Destroy(cg,REASON_EFFECT)
elseif c:IsRelateToEffect(e) and at==2 and #cg21>0 and Duel.SelectYesNo(tp,aux.Stringid(11561057,5)) then
elseif c:IsRelateToEffect(e) and at==2 and #cg2>0 and Duel.SelectYesNo(tp,aux.Stringid(11561057,5)) then
local cg=Duel.GetMatchingGroup(c11561057.desfilther1,tp,0,LOCATION_MZONE,nil,e)
local cg2=c:GetColumnGroup():Filter(Card.IsControler,nil,1-tp)
if #cg==0 then return end
......
......@@ -61,7 +61,7 @@ function c28366214.activate(e,tp,eg,ep,ev,re,r,rp)
e2:SetCondition(c28366214.actcon)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
Duel.RegisterEffect(e2,tp)
if Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,e:GetHandler()) and Duel.SelectYesNo(tp,aux.Stringid(28366214,2)) end
if Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(28366214,2)) then
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_EFFECT+REASON_DISCARD)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -95,7 +95,6 @@ function cm.ctop(e,tp,eg,ep,ev,re,r,rp)
local sg2=Duel.SelectMatchingCard(1-tp,cm.fit21,1-tp,LOCATION_DECK,0,1,1,nil)
Duel.SendtoHand(sg2,nil,REASON_EFFECT)
end
end
end
function cm.cttg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true 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