Commit a9d96b5d authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12036004.lua

parent 94c48a4c
...@@ -5,6 +5,7 @@ function cm.initial_effect(c) ...@@ -5,6 +5,7 @@ function cm.initial_effect(c)
local e1=rsef.STO(c,EVENT_SUMMON_SUCCESS,{m,0},{1,m},"se,th","de,dsp",nil,nil,rsop.target(cm.thfilter,"th",LOCATION_DECK),cm.thop) local e1=rsef.STO(c,EVENT_SUMMON_SUCCESS,{m,0},{1,m},"se,th","de,dsp",nil,nil,rsop.target(cm.thfilter,"th",LOCATION_DECK),cm.thop)
local e2=rsef.I(c,{m,1},{1,m+100},"pos","tg",LOCATION_MZONE,nil,nil,rstg.target(cm.posfilter,"pos",LOCATION_ONFIELD),cm.posop) local e2=rsef.I(c,{m,1},{1,m+100},"pos","tg",LOCATION_MZONE,nil,nil,rstg.target(cm.posfilter,"pos",LOCATION_ONFIELD),cm.posop)
local e3=rsef.I(c,{m,2},{1,m+200},"sp",nil,LOCATION_GRAVE,nil,rscost.cost(cm.rfilter,"res",LOCATION_MZONE),rsop.target(rscf.spfilter(),"sp"),cm.spop) local e3=rsef.I(c,{m,2},{1,m+200},"sp",nil,LOCATION_GRAVE,nil,rscost.cost(cm.rfilter,"res",LOCATION_MZONE),rsop.target(rscf.spfilter(),"sp"),cm.spop)
local e4=rsef.RegisterClone(c,e1,"code",EVENT_SPSUMMON_SUCCESS)
end end
function cm.thfilter(c) function cm.thfilter(c)
return c:IsType(TYPE_FIELD) and c:IsAbleToHand() return c:IsType(TYPE_FIELD) and c:IsAbleToHand()
...@@ -27,4 +28,4 @@ end ...@@ -27,4 +28,4 @@ end
function cm.spop(e,tp) function cm.spop(e,tp)
local c=aux.ExceptThisCard(e) local c=aux.ExceptThisCard(e)
if c then rssf.SpecialSummon(c) end if c then rssf.SpecialSummon(c) end
end end
\ No newline at end of file
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