Commit c608cd2a authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c18700464.lua

parent 1f457659
Pipeline #32426 passed with stages
in 41 minutes and 13 seconds
...@@ -75,7 +75,8 @@ function cm.cfilter2(c,tp) ...@@ -75,7 +75,8 @@ function cm.cfilter2(c,tp)
return c:IsType(TYPE_SPELL) and c:IsSSetable() return c:IsType(TYPE_SPELL) and c:IsSSetable()
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return ep==tp and re:IsActiveType(TYPE_SPELL+TYPE_RITUAL) local rc=re:GetHandler()
return ep==tp and rc:GetType()==TYPE_SPELL+TYPE_RITUAL and re:IsHasType(EFFECT_TYPE_ACTIVATE)
end end
function cm.settg2(e,tp,eg,ep,ev,re,r,rp,chk) function cm.settg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter2,tp,LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter2,tp,LOCATION_GRAVE,0,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