Commit 94213c2b authored by 聖園ミカ's avatar 聖園ミカ 🐟

vme50

parent 9edf71d2
...@@ -52,7 +52,7 @@ function cm.initial_effect(c) ...@@ -52,7 +52,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.mfilter(c) function cm.mfilter(c)
return srre.check_set_ALSTYE(c) return srre.check_set_ALSTYE(c) and re:GetHandler():IsCode(12086001,12086002,12086003,12086004)
end end
function cm.spfilter(c,fc,tp) function cm.spfilter(c,fc,tp)
return srre.check_set_ALSTYE(c) and c:IsReleasable() and Duel.GetLocationCountFromEx(tp,tp,c,fc)>0 and c:IsCanBeFusionMaterial(fc,SUMMON_TYPE_SPECIAL) return srre.check_set_ALSTYE(c) and c:IsReleasable() and Duel.GetLocationCountFromEx(tp,tp,c,fc)>0 and c:IsCanBeFusionMaterial(fc,SUMMON_TYPE_SPECIAL)
...@@ -91,7 +91,7 @@ function cm.dcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -91,7 +91,7 @@ function cm.dcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(g,REASON_COST) Duel.SendtoGrave(g,REASON_COST)
end end
function cm.cfilter(c) function cm.cfilter(c)
return c:IsCode() and c:IsDiscardable() return c:IsCode(12086001,12086002,12086003,12086004) and c:IsDiscardable()
end end
function cm.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(e,tp,eg,ep,ev,re,r,rp)
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