Commit 38cfc278 authored by TanakaKotoha's avatar TanakaKotoha

wdnmd

parent 3a2a13f4
...@@ -58,10 +58,7 @@ function c12009046.filter1(c,tp) ...@@ -58,10 +58,7 @@ function c12009046.filter1(c,tp)
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_SPELL) and c:IsAbleToDeck() and Duel.IsExistingTarget(c12009046.filter2,tp,LOCATION_GRAVE,0,1,nil,c) return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_SPELL) and c:IsAbleToDeck() and Duel.IsExistingTarget(c12009046.filter2,tp,LOCATION_GRAVE,0,1,nil,c)
end end
function c12009046.filter2(c,mc) function c12009046.filter2(c,mc)
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and c:IsAbleToDeck() and c12009046.isfit(c,mc) return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and c:IsAbleToDeck() and aux.IsCodeListed(mc,c:GetCode())
end
function c12009046.isfit(c,mc)
return mc.fit_monster and c:IsCode(table.unpack(mc.fit_monster))
end end
function c12009046.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c12009046.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end if chkc then return false 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