Commit b5070a6d authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

parent 6db33b01
Pipeline #2463 passed with stages
in 40 minutes and 3 seconds
......@@ -110,6 +110,9 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.SelectMatchingCard(tp,cm.rmfilter2,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST)
end
function cm.filters(c)
return c:IsRace(RACE_WYRM)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local mg=Duel.GetRitualMaterial(tp):Filter(Card.IsType,nil,TYPE_MONSTER)
......
......@@ -65,5 +65,5 @@ function cm.lcheck(g)
return g:IsExists(Card.IsCode,1,nil,30003030)
end
function cm.spfilter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (c:IsCode(30003030) or c:IsCode(30003040))
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (c:IsCode(30003030) or c:IsCode(30003040)) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end
\ No newline at end of file
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