Commit 6757e374 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent be3f8823
...@@ -39,7 +39,7 @@ function cm.cfilter(c) ...@@ -39,7 +39,7 @@ function cm.cfilter(c)
end end
function cm.handcon(e,tp,eg,ep,ev,re,r,rp) function cm.handcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_HAND,0,1,nil) return Duel.IsExistingMatchingCard(cm.cfilter,e:GetHandlerPlayer(),LOCATION_HAND,0,1,nil)
end end
--special summon --special summon
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -54,7 +54,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -54,7 +54,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function cm.spfilter(c,e,tp) function cm.spfilter(c,e,tp)
return (c:IsCode(96026001) or aux.IsCodeListed(c,96026001) and c:IsType(TYPE_MONSTER)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) return (c:IsCode(96026001) or aux.IsCodeListed(c,96026001) and c:IsType(TYPE_MONSTER) and c:IsLevelBelow(4)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
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