Commit 346970ea authored by Tachibana's avatar Tachibana

tnndx

parent 5e0b30f2
......@@ -62,7 +62,7 @@ function cm.actcon(e)
return Duel.GetMatchingGroupCount(cm.gfilter,tp,LOCATION_MZONE,0,nil)>0
end
function cm.gfilter(c)
return (c:IsRankAbove(10) or c:IsLevelAbove(10)) and c:IsType(TYPE_MONSTER) and c:IsFaceup()
return (c:IsRankAbove(10) and c:IsLevelAbove(10)) and c:IsType(TYPE_MONSTER) and c:IsFaceup()
end
----
function cm.ctfilter(c)
......@@ -102,7 +102,16 @@ function cm.cost3(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RemoveCounter(tp,1,0,nova,6,REASON_COST)
end
function cm.filter3(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false)
c:RegisterFlagEffect(m,0,0,1)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetValue(m)
c:RegisterEffect(e1,true)
local res=c:IsCanBeSpecialSummoned(e,0,tp,false,false)
c:ResetFlagEffect(m)
e1:Reset()
return res
end
function cm.tg3(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local ct=Duel.GetLocationCount(tp,LOCATION_MZONE)
......@@ -114,7 +123,6 @@ function cm.tg3(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,g:GetCount(),0,0)
end
function cm.op3(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft<=0 then return end
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
......
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