Commit 0f60d041 authored by 未闻皂名's avatar 未闻皂名

2023/3/1 bug修复

parent 77df66b8
......@@ -30,8 +30,8 @@ end
function cm.confilter1(c)
return c:IsType(TYPE_MONSTER)
end
function cm.setcon1(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.confilter1,tp,LOCATION_GRAVE,0,1,nil)
function cm.setcon1(e)
return not Duel.IsExistingMatchingCard(cm.confilter1,e:GetHandlerPlayer(),LOCATION_GRAVE,0,1,nil)
end
function cm.setlimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLocation(LOCATION_HAND)
......@@ -40,7 +40,7 @@ end
function cm.confilter2(c)
return c:IsFacedown() and c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function cm.setcon2(e,tp,eg,ep,ev,re,r,rp)
return cm.setcon1(e,tp,eg,ep,ev,re,r,rp) and RD.MaximumMode(e,tp,eg,ep,ev,re,r,rp)
and Duel.IsExistingMatchingCard(cm.confilter2,tp,0,LOCATION_ONFIELD,1,nil)
function cm.setcon2(e)
return cm.setcon1(e) and RD.MaximumMode(e)
and Duel.IsExistingMatchingCard(cm.confilter2,e:GetHandlerPlayer(),0,LOCATION_ONFIELD,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