Commit 4f088734 authored by POLYMER's avatar POLYMER

fix

parent 4fdc75bd
--炎星祖-オウリン --炎星祖-オウリン
function c11662004.initial_effect(c) function c11662004.initial_effect(c)
--link summon --link summon
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddLinkProcedure(c,c11662004.matfilter,1,1) aux.AddLinkProcedure(c,c11662004.matfilter,1,1)
--set & spsummon --set & spsummon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(11662004,0)) e1:SetDescription(aux.Stringid(11662004,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,11662004) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c11662004.setcon) e1:SetCountLimit(1,11662004)
e1:SetTarget(c11662004.settg) e1:SetCondition(c11662004.setcon)
e1:SetOperation(c11662004.setop) e1:SetTarget(c11662004.settg)
c:RegisterEffect(e1) e1:SetOperation(c11662004.setop)
--level c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) --level
e2:SetDescription(aux.Stringid(11662004,2)) local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_LVCHANGE) e2:SetDescription(aux.Stringid(11662004,2))
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetCategory(CATEGORY_LVCHANGE)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_MZONE) e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1) e2:SetRange(LOCATION_MZONE)
e2:SetTarget(c11662004.lvtg) e2:SetCountLimit(1)
e2:SetOperation(c11662004.lvop) e2:SetTarget(c11662004.lvtg)
c:RegisterEffect(e2) e2:SetOperation(c11662004.lvop)
--nagate c:RegisterEffect(e2)
local e3=Effect.CreateEffect(c) --nagate
e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) local e3=Effect.CreateEffect(c)
e3:SetRange(LOCATION_MZONE) e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e3:SetCode(EVENT_CHAIN_SOLVING) e3:SetRange(LOCATION_MZONE)
e3:SetCondition(c11662004.discon) e3:SetCode(EVENT_CHAIN_SOLVING)
e3:SetOperation(c11662004.disop) e3:SetCondition(c11662004.discon)
c:RegisterEffect(e3) e3:SetOperation(c11662004.disop)
--xyz c:RegisterEffect(e3)
local e4=Effect.CreateEffect(c) --xyz
e4:SetType(EFFECT_TYPE_FIELD) local e4=Effect.CreateEffect(c)
e4:SetCode(11662004) e4:SetType(EFFECT_TYPE_FIELD)
e4:SetRange(LOCATION_MZONE) e4:SetCode(11662004)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e4:SetRange(LOCATION_MZONE)
e4:SetTargetRange(1,1) e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
c:RegisterEffect(e4) e4:SetTargetRange(1,1)
c:RegisterEffect(e4)
end end
--link summon --link summon
function c11662004.matfilter(c) function c11662004.matfilter(c)
return c:IsLinkSetCard(0x79) return c:IsLinkSetCard(0x79)
end end
--set & spsummon --set & spsummon
function c11662004.setcon(e,tp,eg,ep,ev,re,r,rp) function c11662004.setcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end end
function c11662004.setfilter(c) function c11662004.setfilter(c)
return c:IsSetCard(0x7c) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable() return c:IsSetCard(0x7c) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable()
end end
function c11662004.settg(e,tp,eg,ep,ev,re,r,rp,chk) function c11662004.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11662004.setfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11662004.setfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end end
function c11662004.tgfilter(c) function c11662004.tgfilter(c)
return (c:IsSetCard(0x79) or c:IsSetCard(0x7c)) and c:IsAbleToGrave() return (c:IsSetCard(0x79) or c:IsSetCard(0x7c)) and c:IsAbleToGrave()
end end
function c11662004.spfilter(c,e,tp) function c11662004.spfilter(c,e,tp)
return c:IsSetCard(0x79) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x79) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c11662004.setop(e,tp,eg,ep,ev,re,r,rp) function c11662004.setop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=Duel.SelectMatchingCard(tp,c11662004.setfilter,tp,LOCATION_DECK,0,1,1,nil) local sg=Duel.SelectMatchingCard(tp,c11662004.setfilter,tp,LOCATION_DECK,0,1,1,nil)
if sg:GetCount()==0 then return end if sg:GetCount()==0 then return end
Duel.SSet(tp,sg:GetFirst()) Duel.SSet(tp,sg:GetFirst())
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c11662004.tgfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,nil) and Duel.IsExistingMatchingCard(c11662004.tgfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,nil)
and Duel.IsExistingMatchingCard(c11662004.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp) and Duel.IsExistingMatchingCard(c11662004.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp)
and Duel.SelectYesNo(tp,aux.Stringid(11662004,1)) then and Duel.SelectYesNo(tp,aux.Stringid(11662004,1)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local tg=Duel.SelectMatchingCard(tp,c11662004.tgfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil) local tg=Duel.SelectMatchingCard(tp,c11662004.tgfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil)
if tg:GetCount()~=0 and Duel.SendtoGrave(tg,REASON_EFFECT)~=0 then if tg:GetCount()~=0 and Duel.SendtoGrave(tg,REASON_EFFECT)~=0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local spg=Duel.SelectMatchingCard(tp,c11662004.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp) local spg=Duel.SelectMatchingCard(tp,c11662004.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp)
Duel.SpecialSummon(spg,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(spg,0,tp,tp,false,false,POS_FACEUP)
end end
end end
end end
--lv --lv
function c11662004.lvfilter(c) function c11662004.lvfilter(c)
return c:IsFaceup() and c:IsSetCard(0x79) and c:IsLevelAbove(1) return c:IsFaceup() and c:IsSetCard(0x79) and c:IsLevelAbove(1)
end end
function c11662004.lvfilter1(c,tp) function c11662004.lvfilter1(c,tp)
return c11662004.lvfilter(c) and Duel.IsExistingMatchingCard(c11662004.lvfilter2,tp,LOCATION_MZONE,0,1,c,c:GetLevel()) return c11662004.lvfilter(c) and Duel.IsExistingMatchingCard(c11662004.lvfilter2,tp,LOCATION_MZONE,0,1,c,c:GetLevel())
end end
function c11662004.lvfilter2(c,lv) function c11662004.lvfilter2(c,lv)
return c11662004.lvfilter(c) and not c:IsLevel(lv) return c11662004.lvfilter(c) and not c:IsLevel(lv)
end end
function c11662004.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c11662004.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c11662004.lvfilter1(chkc,tp) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c11662004.lvfilter1(chkc,tp) end
if chk==0 then return Duel.IsExistingTarget(c11662004.lvfilter1,tp,LOCATION_MZONE,0,1,nil,tp) end if chk==0 then return Duel.IsExistingTarget(c11662004.lvfilter1,tp,LOCATION_MZONE,0,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
Duel.SelectTarget(tp,c11662004.lvfilter1,tp,LOCATION_MZONE,0,1,1,nil,tp) Duel.SelectTarget(tp,c11662004.lvfilter1,tp,LOCATION_MZONE,0,1,1,nil,tp)
end end
function c11662004.lvop(e,tp,eg,ep,ev,re,r,rp) function c11662004.lvop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsFacedown() or not tc:IsRelateToEffect(e) then return end if tc:IsFacedown() or not tc:IsRelateToEffect(e) then return end
local lv=tc:GetLevel() local lv=tc:GetLevel()
local g=Duel.GetMatchingGroup(c11662004.lvfilter,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(c11662004.lvfilter,tp,LOCATION_MZONE,0,nil)
local lc=g:GetFirst() local lc=g:GetFirst()
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CHANGE_LEVEL) e1:SetCode(EFFECT_CHANGE_LEVEL)
e1:SetTargetRange(LOCATION_MZONE,0) e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetValue(lv) e1:SetValue(lv)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
--nagate --nagate
function c11662004.stfilter(c) function c11662004.stfilter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToGrave() return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToGrave()
end end
function c11662004.indfilter(c) function c11662004.indfilter(c)
return c:IsFaceup() and c:IsType(TYPE_SYNCHRO) and c:IsSetCard(0x79) return c:IsFaceup() and c:IsType(TYPE_SYNCHRO) and c:IsSetCard(0x79)
end end
function c11662004.discon(e,tp,eg,ep,ev,re,r,rp) function c11662004.discon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler() local rc=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and ep~=tp and rc:IsRelateToEffect(re) return re:IsActiveType(TYPE_MONSTER) and ep~=tp and rc:IsRelateToEffect(re)
and Duel.IsExistingMatchingCard(c11662004.indfilter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c11662004.indfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function c11662004.disop(e,tp,eg,ep,ev,re,r,rp) function c11662004.disop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c11662004.stfilter,ep,LOCATION_HAND+LOCATION_ONFIELD,0,nil) local g=Duel.GetMatchingGroup(c11662004.stfilter,ep,LOCATION_HAND+LOCATION_ONFIELD,0,nil)
if g:GetCount()>0 and Duel.SelectYesNo(ep,aux.Stringid(11662004,3)) then if g:GetCount()>0 and Duel.SelectYesNo(ep,aux.Stringid(11662004,3)) then
Duel.Hint(HINT_SELECTMSG,ep,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,ep,HINTMSG_TOGRAVE)
local tg=g:Select(ep,1,1,nil) local tg=g:Select(ep,1,1,nil)
Duel.HintSelection(tg) Duel.HintSelection(tg)
if Duel.SendtoGrave(tg,REASON_EFFECT)==0 then if Duel.SendtoGrave(tg,REASON_EFFECT)==0 then
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
end end
else else
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
end end
end end
-- change script -- change script
local sc=Effect.SetCountLimit local sc=Effect.SetCountLimit
Effect.SetCountLimit=function(e,v,code) Effect.SetCountLimit=function(e,v,code)
if e:GetDescription() == aux.Stringid(96381979,1) --魁炎星王-ソウコ if e:GetDescription() == aux.Stringid(96381979,1) --魁炎星王-ソウコ
or e:GetDescription() == aux.Stringid(37057743,0) --炎星皇-チョウライオ or e:GetDescription() == aux.Stringid(37057743,0) --炎星皇-チョウライオ
then then
return sc(e,v,EFFECT_COUNT_CODE_SINGLE) return sc(e,v,EFFECT_COUNT_CODE_SINGLE)
else else
return sc(e,v,code) return sc(e,v,code)
end end
end end
local re=Card.RegisterEffect local re=Card.RegisterEffect
Card.RegisterEffect=function(c,e) Card.RegisterEffect=function(c,e)
if (e:GetDescription() == aux.Stringid(96381979,1) --魁炎星王-ソウコ if (e:GetDescription() == aux.Stringid(96381979,1) --魁炎星王-ソウコ
or e:GetDescription() == aux.Stringid(58504745,0) --間炎星-コウカンショウ or e:GetDescription() == aux.Stringid(58504745,0) --間炎星-コウカンショウ
or e:GetDescription() == aux.Stringid(37057743,0)) --炎星皇-チョウライオ or e:GetDescription() == aux.Stringid(37057743,0)) --炎星皇-チョウライオ
and e:GetDescription() ~= aux.Stringid(11662004,4) and e:GetDescription() ~= aux.Stringid(11662004,4)
then then
local ec=e:Clone() local ec=e:Clone()
ec:SetDescription(aux.Stringid(11662004,4)) ec:SetDescription(aux.Stringid(11662004,4))
ec:SetCode(EVENT_FREE_CHAIN) ec:SetCode(EVENT_FREE_CHAIN)
ec:SetType(EFFECT_TYPE_QUICK_O) ec:SetType(EFFECT_TYPE_QUICK_O)
ec:SetCondition(c11662004.con) ec:SetCondition(c11662004.con)
c:RegisterEffect(ec) c:RegisterEffect(ec)
end end
return re(c,e) return re(c,e)
end end
function c11662004.con(e,tp,eg,ep,ev,re,r,rp) function c11662004.con(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,11662004) return Duel.IsPlayerAffectedByEffect(tp,11662004)
end end
...@@ -89,9 +89,10 @@ function c28321714.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,9 +89,10 @@ function c28321714.thop(e,tp,eg,ep,ev,re,r,rp)
local fid,ct=e:GetLabel() local fid,ct=e:GetLabel()
local g=e:GetLabelObject() local g=e:GetLabelObject()
local sg=g:Filter(c28321714.cfilter,nil,fid) local sg=g:Filter(c28321714.cfilter,nil,fid)
g:DeleteGroup() --g:DeleteGroup()
Duel.SendtoHand(sg,nil,REASON_EFFECT) Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg) Duel.ConfirmCards(1-tp,sg)
--e:Reset()
end end
function c28321714.chkfilter(c) function c28321714.chkfilter(c)
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsReason(REASON_EFFECT) return c:IsPreviousLocation(LOCATION_MZONE) and c:IsReason(REASON_EFFECT)
......
...@@ -9,6 +9,7 @@ function cm.initial_effect(c) ...@@ -9,6 +9,7 @@ function cm.initial_effect(c)
e11:SetCode(EVENT_FREE_CHAIN) e11:SetCode(EVENT_FREE_CHAIN)
e11:SetRange(LOCATION_HAND) e11:SetRange(LOCATION_HAND)
e11:SetCountLimit(1,m) e11:SetCountLimit(1,m)
e11:SetCondition(cm.thcon1)
e11:SetTarget(cm.thtg) e11:SetTarget(cm.thtg)
e11:SetOperation(cm.thop) e11:SetOperation(cm.thop)
c:RegisterEffect(e11) c:RegisterEffect(e11)
...@@ -17,10 +18,11 @@ function cm.initial_effect(c) ...@@ -17,10 +18,11 @@ function cm.initial_effect(c)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_CHAINING) e2:SetCode(EVENT_CHAINING)
e2:SetCountLimit(1,m+10000000) e2:SetCountLimit(1,m+10000000)
e2:SetCondition(cm.thcon2)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e3=e11:Clone() local e3=e11:Clone()
e3:SetDescription(aux.Stringid(m,3)) e3:SetDescription(aux.Stringid(m,3))
e3:SetCondition(cm.thcon) e3:SetCondition(cm.thcon3)
e3:SetCountLimit(1,m+20000000) e3:SetCountLimit(1,m+20000000)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--spsummon --spsummon
...@@ -31,6 +33,15 @@ function cm.initial_effect(c) ...@@ -31,6 +33,15 @@ function cm.initial_effect(c)
e1:SetOperation(cm.op) e1:SetOperation(cm.op)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function cm.thcon1(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsMainPhase()
end
function cm.thcon2(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp
end
function cm.thcon3(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()>=3
end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_SYNCHRO return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_SYNCHRO
end end
...@@ -60,7 +71,4 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +71,4 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(sg,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(sg,nil,SEQ_DECKTOP,REASON_EFFECT)
end end
end end
end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()>=3
end end
\ No newline at end of file
...@@ -83,6 +83,7 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -83,6 +83,7 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectTarget(tp,s.tgfilter,tp,LOCATION_ONFIELD,0,1,1,nil) local g=Duel.SelectTarget(tp,s.tgfilter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end end
function s.gcfilter(c) function s.gcfilter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and not c:IsType(TYPE_FIELD) return c:IsType(TYPE_SPELL+TYPE_TRAP) and not c:IsType(TYPE_FIELD)
......
...@@ -3,6 +3,7 @@ local s,id,o=GetID() ...@@ -3,6 +3,7 @@ local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
--set --set
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetDescription(aux.Stringid(id,0)) e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
...@@ -56,6 +57,7 @@ function s.setfilter2(c,e,tp,type) ...@@ -56,6 +57,7 @@ function s.setfilter2(c,e,tp,type)
end end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk) function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil,e,tp) end if chk==0 then return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end end
function s.gcheck(g,mft,sft) function s.gcheck(g,mft,sft)
return g:FilterCount(Card.IsType,nil,TYPE_MONSTER)<=mft return g:FilterCount(Card.IsType,nil,TYPE_MONSTER)<=mft
......
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