Commit f410e3b7 authored by Tachibana's avatar Tachibana

eme

parent 7e8758c4
Pipeline #8378 passed with stages
in 30 minutes and 55 seconds
......@@ -55,7 +55,7 @@ function cm.sumfilter(c)
return c:IsSetCard(0x3356) and c:IsSummonable(true,nil)
end
function cm.smtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.sumfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,nil) end
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0)
end
function cm.smop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -23,11 +23,10 @@ end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local el={{TAMA_ELEMENT_ORDER,1}}
local mg=tama.tamas_checkGroupElements(Duel.GetFieldGroup(tp,LOCATION_GRAVE,0),el)
local sg=Group.CreateGroup()
if chk==0 then
return mg:GetCount()>0 and mg:IsExists(tama.tamas_selectElementsForAbove,1,nil,mg,sg,el)
return mg:GetCount()>0 and tama.tamas_isCanSelectElementsForAbove(mg,el)
end
local sg=tama.tamas_selectAllSelectForAbove(mg,el,tp)
local sg=tama.tamas_selectElementsMaterial(mg,el,tp)
Duel.SendtoDeck(sg,nil,2,REASON_COST)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
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