Commit d55a213d authored by Tachibana's avatar Tachibana

tnndx

parent df693213
...@@ -21,7 +21,7 @@ function cm.initial_effect(c) ...@@ -21,7 +21,7 @@ function cm.initial_effect(c)
-- --
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON) e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
e3:SetType(EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e3:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_SPSUMMON_SUCCESS) e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetRange(LOCATION_SZONE) e3:SetRange(LOCATION_SZONE)
......
...@@ -114,6 +114,7 @@ function cm.tg3(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -114,6 +114,7 @@ function cm.tg3(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,g:GetCount(),0,0)
end end
function cm.op3(e,tp,eg,ep,ev,re,r,rp) function cm.op3(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft<=0 then return end if ft<=0 then return end
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e) local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
......
...@@ -19,7 +19,7 @@ function c33200059.initial_effect(c) ...@@ -19,7 +19,7 @@ function c33200059.initial_effect(c)
--ro hand --ro hand
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(33200059,0)) e2:SetDescription(aux.Stringid(33200059,0))
e2:SetCategory(CATEGORY_TOHAND) e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
......
...@@ -95,9 +95,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -95,9 +95,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if op==0 then if op==0 then
local g=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0) local g=Duel.GetFieldGroup(tp,LOCATION_EXTRA,0)
local sg=g:RandomSelect(tp,5) local sg=g:RandomSelect(tp,5)
local sg1=sg:Filter(Card.IsType,nil,TYPE_PENDULUM) local sg1=sg:Filter(Card.IsFaceup,nil)
local sg2=Group.__sub(sg,sg1) local sg2=Group.__sub(sg,sg1)
Duel.Remove(sg2,POS_FACEDOWN,0)
Duel.SendtoDeck(sg2,1-tp,2,REASON_EFFECT) Duel.SendtoDeck(sg2,1-tp,2,REASON_EFFECT)
Duel.Remove(sg1,POS_FACEDOWN,0)
Duel.SendtoExtraP(sg1,1-tp,REASON_EFFECT) Duel.SendtoExtraP(sg1,1-tp,REASON_EFFECT)
local sg3=sg:Filter(cm.filter,nil,tp) local sg3=sg:Filter(cm.filter,nil,tp)
if sg3:GetCount()>4 then if sg3:GetCount()>4 then
......
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