Commit 4d6ac5e8 authored by Tachibana's avatar Tachibana

得得得得得

parent 52e83ce0
......@@ -56,7 +56,7 @@ function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
g1=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
Duel.ConfirmCards(tp,g1)
local sg=g1:FilterSelect(tp,cm.ofilter,1,1,nil,tp,nil):GetFirst()
local sg=g1:FilterSelect(tp,cm.ofilter,1,1,nil)
if g:GetCount()>0 then
g3:Merge(g)
end
......
......@@ -102,7 +102,7 @@ function cm.afilter(c,re)
return c:IsOriginalCodeRule(re:GetHandler():GetOriginalCode()) and c:IsFaceup()
end
function cm.cona(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.afilter,tp,0,LOCATION_ONFIELD,1,nil)
return not Duel.IsExistingMatchingCard(cm.afilter,tp,0,LOCATION_ONFIELD,1,nil,re)
end
function cm.opa(e,tp,eg,ep,ev,re,r,rp)
Duel.SetLP(tp,Duel.GetLP(1-tp)-2000)
......
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