Commit ddd1792b authored by TanakaKotoha's avatar TanakaKotoha

none

parent 6a818ac5
No preview for this file type
......@@ -37,7 +37,7 @@ function cm.atktarget(e,c)
return not c:IsType(TYPE_TOKEN)
end
function cm.filter(c)
return c:IsAbleToGrave()
return c:IsAbleToGrave() and not c:IsType(TYPE_TOKEN)
end
function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(cm.filter,1,e:GetHandler()) end
......@@ -46,7 +46,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,#g,0,0)
end
function cm.filter2(c,e)
return c:IsAbleToGrave() and c:IsRelateToEffect(e) and not c:IsImmuneToEffect(e)
return c:IsAbleToGrave() and c:IsRelateToEffect(e) and not c:IsImmuneToEffect(e) and not c:IsType(TYPE_TOKEN)
end
function cm.op(e,tp,eg,ep,ev,re,r,rp)
local g=eg:Filter(cm.filter2,e:GetHandler(),e)
......
......@@ -23,7 +23,7 @@ function c81040041.filter(c,e,tp)
return c:IsSetCard(0x81c)
end
function c81040041.cfilter(c)
return c:IsFacedown() or not c:IsType(TYPE_RITUAL)
return c:IsFacedown() or not (c:IsFaceup() and c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER))
end
function c81040041.mfilter(c)
return c:IsSetCard(0x81c)
......
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