Commit e8b1429a authored by mercury233's avatar mercury233 Committed by GitHub

update 百万喰らいのグラットン

shouldn't try to check summon if the monster zone is full of tokens
parent efe65826
......@@ -66,6 +66,8 @@ end
function c63845230.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft<=0 and Duel.GetMatchingGroupCount(Card.IsAbleToRemoveAsCost,tp,LOCATION_MZONE,0,c,POS_FACEDOWN)<=-ft then return false end
local g=Duel.GetMatchingGroup(Card.IsAbleToRemoveAsCost,tp,LOCATION_HAND+LOCATION_ONFIELD+LOCATION_EXTRA,0,c,POS_FACEDOWN)
return g:CheckSubGroup(aux.mzctcheck,5,#g,tp)
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