Commit 52530f80 authored by Tachibana's avatar Tachibana

rar

parent 42ab6ec3
Pipeline #3520 passed with stages
in 34 minutes and 8 seconds
......@@ -33,7 +33,7 @@ function cm.splimit(e,c,sump,sumtype,sumpos,targetp)
return c:IsLocation(LOCATION_EXTRA)
end
function cm.tgfilter(c,tp)
return c:IsAbleToGrave() and Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,c:GetAttack())
return c:IsAbleToGrave() and c:IsType(TYPE_MONSTER) and Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,c:GetAttack())
end
function cm.thfilter(c,atk)
return c:IsType(TYPE_RITUAL) and ((c:IsRace(RACE_SPELLCASTER) and c:IsType(TYPE_MONSTER) and c:IsAttackBelow(atk)) or (c:IsType(TYPE_SPELL) and aux.IsCodeListed(c,81027000))) and c:IsAbleToHand()
......
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