Commit 01893f5b authored by Tachibana's avatar Tachibana

1145141919810

parent 91494b80
Pipeline #14337 passed with stages
in 29 minutes and 35 seconds
......@@ -40,7 +40,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e5)
end
function cm.rfilter(c)
return c:IsFaceup() and c:IsSSetable() and c:IsType(TYPE_CONTINUOUS)
return c:IsFaceup() and c:IsSSetable(true) and c:IsType(TYPE_CONTINUOUS)
end
function cm.sumcon(e,c)
local tp=e:GetHandler():GetControler()
......@@ -50,6 +50,7 @@ function cm.sumop(e,tp,eg,ep,ev,re,r,rp,c)
local sg=Duel.SelectMatchingCard(tp,cm.rfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
if sg:GetCount()>0 then
Duel.ChangePosition(sg,POS_FACEDOWN_DEFENSE)
Duel.RaiseEvent(sg,EVENT_SSET,e,REASON_COST+REASON_MATERIAL,tp,1-tp,ev)
end
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
......
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