Commit 24e3642c authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 05b84390
No preview for this file type
......@@ -37,7 +37,7 @@ function cm.aclimit(e,re,tp)
return re:GetHandler():IsOnField() and re:IsHasType(EFFECT_TYPE_ACTIVATE)
end
function cm.disable(e,c)
return not c:IsType(TYPE_MONSTER)
return c:IsType(TYPE_SPELL) or c:IsType(TYPE_TRAP)
end
function cm.gacon(e,tp,eg,ep,ev,re,r,rp)
local des=eg:GetFirst()
......
......@@ -17,7 +17,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_MZONE,0,1,nil)
end
function cm.desfilter(c)
return (not c:IsRace(RACE_WARRIOR)) and c:IsFaceup()
return ((not c:IsRace(RACE_WARRIOR))and c:IsFaceup()) or c:IsFacedown() or c:IsLocation(LOCATION_SZONE) or c:islocation(LOCATION_FZONE)
end
--function cm.ntrfilter(c)
--return c:IsRace(RACE_WARRIOR) and c:IsControlerCanBeChanged() and c:IsFaceup()
......
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