Commit 5ad9b67b authored by TanakaKotoha's avatar TanakaKotoha

tnndx

parent b54efbf7
No preview for this file type
--version 20.10.11
--version 20.10.30
if not pcall(function() require("expansions/script/c10199991") end) then require("script/c10199991") end
local m=10199990
local vm=10199991
local Version_Number=20201011
local Version_Number=20201030
if rsv.Library_Switch then return end
rsv.Library_Switch = true
-----------------------"Part_Effect_Base"-----------------------
......@@ -53,11 +53,11 @@ function rsef.GetDefaultHintString(cate_list,loc_self,loc_oppo,hint_list)
if (type(loc_oppo)=="number" and loc_oppo>0) and (not loc_self or loc_self==0) then hint=HINTMSG_OPPO end
local hint_list= { HINTMSG_DESTROY,HINTMSG_RELEASE,HINTMSG_REMOVE,HINTMSG_ATOHAND,HINTMSG_TODECK,
HINTMSG_TOGRAVE,0,HINTMSG_DISCARD,HINTMSG_SUMMON,HINTMSG_SPSUMMON,
0,HINTMSG_POSCHANGE,HINTMSG_CONTROL,rshint.dis,0,
0,HINTMSG_POSCHANGE,HINTMSG_CONTROL,rshint.sdis,0,
0,0,HINTMSG_EQUIP,0,0,
rshint.ad,rshint.ad,HINTMSG_FACEUP,0,0,
rshint.sad,rshint.sad,HINTMSG_FACEUP,0,0,
0,HINTMSG_FACEUP,0,0,0,
rshint.te }
rshint.ste }
for _,cate in pairs(cate_list) do
local bool,idx=rsof.Table_List(rscate.catelist,cate)
if bool then
......@@ -76,7 +76,12 @@ function rsef.GetDefaultHintString(cate_list,loc_self,loc_oppo,hint_list)
-- return to grave
if rsof.Table_List(cate_list,"tg") and
((type(loc_self)=="number" and loc_self&LOCATION_REMOVED ~=0) or (loc_oppo and loc_oppo&LOCATION_REMOVED ~=0)) then
hint=rshint.rtg
hint=rshint.srtg
end
-- return to hand
if rsof.Table_List(cate_list,"th") and
((type(loc_self)=="number" and loc_self&(rsloc.og+LOCATION_REMOVED) ~=0) or (loc_oppo and loc_oppo&(rsloc.og+LOCATION_REMOVED) ~=0)) then
hint=rshint.srth
end
return hint
end
......@@ -232,11 +237,22 @@ function rsef.RegisterCateFlag(reg_eff,cate,flag)
end
end
--Effect: Register Effect Description
function rsef.RegisterDescription(reg_eff,desc_list,is_return)
function rsef.RegisterDescription(reg_eff,desc_list,cate_str,is_return)
--default desc(nil for desc and string for cate)
if not desc_list and cate_str_list then
if type(cate_str_list)=="string" then
desc_list = (rsof.String_Split(cate_str_list))[1]
elseif type(cate_str_list)=="table" and type(cate_str_list[1])=="string" then
desc_list = (rsof.String_Split(cate_str_list[1]))[1]
end
end
if desc_list then
if type(desc_list)=="table" then
if is_return then return aux.Stringid(desc_list[1],desc_list[2]) end
reg_eff:SetDescription(aux.Stringid(desc_list[1],desc_list[2]))
elseif type(desc_list)=="string" then
if is_return then return rshint[desc_list] end
reg_eff:SetDescription(rshint[desc_list])
else
if is_return then return desc_list end
reg_eff:SetDescription(desc_list)
......@@ -357,7 +373,7 @@ function rsef.Register(reg_list,eff_type,eff_code,desc_list,lim_list,cate,flag,r
if eff_code then
reg_eff:SetCode(eff_code)
end
rsef.RegisterDescription(reg_eff,desc_list)
rsef.RegisterDescription(reg_eff,desc_list,cate,false)
rsef.RegisterCountLimit(reg_eff,lim_list)
rsef.RegisterCateFlag(reg_eff,cate,flag)
if range then
......@@ -955,13 +971,13 @@ function rsef.QO_NEGATE(reg_list,negtype,lim_list,way_str,range,con,cost,desc_li
if not range then range=rsef.GetRegisterRange(reg_list) end
if not negtype then negtype="neg" end
if negtype=="dis" or nettype=="effect" then
if not desc_list then desc_list=rshint.diseffect end
if not desc_list then desc_list=rshint.dise end
local flag2=rsef.GetRegisterProperty(flag)|EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DAMAGE_STEP
cate2=cate2|CATEGORY_DISABLE
if not con then con=rscon.negcon(0) end
return rsef.QO(reg_list,EVENT_CHAINING,desc_list,lim_list,cate2,flag2,range,con,cost,rstg.distg(way_str),rsop.disop(way_str),nil,reset_list)
elseif negtype=="neg" or nettype=="act" then
if not desc_list then desc_list=rshint.negeffect end
if not desc_list then desc_list=rshint.neg end
local flag2=rsef.GetRegisterProperty(flag)|EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DAMAGE_STEP
cate2=cate2|CATEGORY_NEGATE
if not con then con=rscon.discon(0) end
......@@ -1016,7 +1032,7 @@ function rsef.FC_AttachEffect(reg_list,force,attach_time,desc_list,lim_list,flag
local e1=rsef.FC(reg_list,attach_code,desc_list,nil,flag,range,rsef.FC_AttachEffect_Con(e0,attach_con),rsef.FC_AttachEffect_Op(e0,force),reset_list)
e1:SetValue(attach_op)
e1:SetLabelObject(e0)
local desc=not desc_list and 0 or rsef.RegisterDescription(nil,desc_list,true)
local desc=not desc_list and 0 or rsef.RegisterDescription(nil,desc_list,nil,true)
if aux.GetValueType(reg_handler)=="Card" then
reg_handler:RegisterFlagEffect(attach_code,reset,EFFECT_FLAG_CLIENT_HINT,reset_tct,e1:GetFieldID(),desc)
else
......@@ -1654,8 +1670,10 @@ function rstg.GetTargetAttribute(e,tp,eg,ep,ev,re,r,rp,target_list)
maxct = 1
end
elseif type(filter_card)=="function" and not rsof.Table_List(category_list,CATEGORY_HANDES) then
minct = filter_card(e,tp,eg,ep,ev,re,r,rp)
maxct = filter_card(e,tp,eg,ep,ev,re,r,rp)
local minct2 = filter_card(e,tp,eg,ep,ev,re,r,rp)
local maxct2 = minct2
if type(minct2) == "number" then minct = minct2 end
if type(maxct2) == "number" then maxct = maxct2 end
filter_card = aux.TRUE
end
end
......@@ -1856,9 +1874,9 @@ function rstg.TargetSelect(e,tp,eg,ep,ev,re,r,rp,target_list_total)
end
end
--2.5. Solve cost to selected_group
if list_type=="cost" then
local cost_result=rscost.CostSolve(selected_group,category_str_list,category_fun,e,tp,eg,ep,ev,re,r,rp,used_group,used_count_list)
if not cost_result or (aux.GetValueType(cost_result)=="Group" and #cost_result<=0) then return end
if list_type=="cost" then
local cost_result,cost_result_count,ignore_nil=rscost.CostSolve(selected_group,category_str_list,category_fun,e,tp,eg,ep,ev,re,r,rp,used_group,used_count_list)
if not cost_result or (aux.GetValueType(cost_result)=="Group" and #cost_result<=0 and not ignore_nil) then return end
if aux.GetValueType(cost_result)=="Group" and #cost_result>0 then
costed_group_total:Merge(cost_result)
end
......@@ -2004,6 +2022,10 @@ end
function rscost.CostSolve(selected_group,category_str_list,category_fun,e,tp,eg,ep,ev,re,r,rp,used_group,used_count_list)
local cost_sucess_group
local cost_sucess_count=0
local solve_string = category_str_list[1]
if #category_str_list==1 and (not solve_string or (type(solve_string)=="string" and solve_string=="")) and not category_fun then
return Group.CreateGroup(),0,true
end
if category_fun then
local value=category_fun(selected_group,e,tp,eg,ep,ev,re,r,rp,used_group,used_count_list)
if aux.GetValueType(value)=="Card" or aux.GetValueType(value)=="Group" then
......@@ -2014,7 +2036,7 @@ function rscost.CostSolve(selected_group,category_str_list,category_fun,e,tp,eg,
return cost_sucess_group,#cost_sucess_group
end
if not category_str_list or #category_str_list==0 then return true end
return rsop.operationcard(selected_group,category_str_list[1],REASON_COST,e,tp,eg,ep,ev,re,r,rp)
return rsop.operationcard(selected_group,solve_string,REASON_COST,e,tp,eg,ep,ev,re,r,rp)
end
--cost: togarve/remove/discard/release/tohand/todeck as cost
function rscost.cost0(checkfun,costfun,...)
......@@ -2044,14 +2066,14 @@ function rsop.operationcard(selected_group,category_str,reason,e,tp,eg,ep,ev,re,
local maxct=selected_group[p+2]
local dct=minct
if maxct < minct then return nil,0 end
if maxct > minct then
if maxcdarktunert > minct then
local ct_list={}
for i=minct,maxct do
if Duel.IsPlayerCanDraw(p,i) then
table.insert(ct_list,i)
end
end
rshint.Select(p,rshint.drct)
rshint.Select(p,rshint.sdrct)
dct=Duel.AnnounceNumber(p,table.unpack(ct_list))
end
if dct>0 then
......@@ -2088,7 +2110,7 @@ function rsop.operationcard(selected_group,category_str,reason,e,tp,eg,ep,ev,re,
table.insert(ct_list,i)
end
end
rshint.Select(p,rshint.tgct)
rshint.Select(p,rshint.stgct)
dct=Duel.AnnounceNumber(p,table.unpack(ct_list))
end
if dct>0 then
......@@ -2612,6 +2634,9 @@ function rsop.SelectCheck_Solve(solve_fun)
end
--Function:outer case function for SelectSolve
function rsop.SelectOC(chk_hint,is_break,sel_hint)
if type(chk_hint) == "string" then
chk_hint = rshint["w"..chk_hint]
end
rsop.SelectOC_checkhint=chk_hint
rsop.SelectOC_isbreak=is_break
rsop.SelectOC_selecthint=sel_hint
......
--Real Scl Version - Variable
local Version_Number=20200409
local Version_Number=20201030
local m=10199990
local vm=10199991
if rsv then return end
......@@ -73,43 +73,91 @@ rscode.Synchro_Material = m+600 --"Record synchro proceudre target"
rscode.Pre_Complete_Proc = m+700 --"Previous c:CompleteProcedure"
rscode.Special_Procedure = m+900
rscode.Set = m+800 --"EVENT_SET"
--Hint Message Variable
rshint.act=aux.Stringid(m,0) --"activate spell/trap"
rshint.dis=aux.Stringid(38265153,3) --"cards will be disable effects "
rshint.ad=aux.Stringid(m,2) --"cards will be change Atk/Def"
rshint.rtg=aux.Stringid(48976825,0) --"return to grave"
rshint.spproc=aux.Stringid(m,4) --"SS by self produce"
rshint.negeffect=aux.Stringid(19502505,1) --"negate activation"
rshint.eq=aux.Stringid(68184115,0) --"cards will equip"
rshint.te=aux.Stringid(24094258,3) --"add to extra deck"
rshint.xyz=HINTMSG_XMATERIAL --"cards will become overlay cards"
rshint.diseffect=aux.Stringid(39185163,1) --"negate effect"
rshint.negsum=aux.Stringid(m+1,1) --"negate summon"
rshint.negsp=aux.Stringid(74892653,0) --"negate special summon"
rshint.darktuner=aux.Stringid(m,14) --"treat as dark tuner"
rshint.act =aux.Stringid(m,0) --"activate card"
rshint.sact =aux.Stringid(m,1) --"select cards to activate"
rshint.ce =aux.Stringid(23912837,1) --"choose 1 effect"
rshint.neg =aux.Stringid(19502505,1) --"negate activation"
rshint.negsum =aux.Stringid(m+1,1) --"negate summon"
rshint.negsp =aux.Stringid(74892653,0) --"negate special summon"
rshint.dis =aux.Stringid(39185163,1) --"negate effect"
rshint.sdis =aux.Stringid(38265153,3) --"Select cards to disable"
rshint.wdis =aux.Stringid(25166510,2) --"would you disable?"
rshint.sp =aux.Stringid(74892653,2) --"special summon"
rshint.wsp =aux.Stringid(17535764,1) --"would you SS a monster?"
rshint.sum =aux.Stringid(65247798,0) --"face-up attack position summon"
rshint.tk =aux.Stringid(9929398,0) --"special summon token"
rshint.pos =aux.Stringid(3648368,0) --"change position"
rshint.ctrl =aux.Stringid(4941482,0) --"get control"
rshint.set =aux.Stringid(2521011,0) --"set"
rshint.dr =aux.Stringid(4732017,0) --"draw card"
rshint.wdr=aux.Stringid(3679218,1) --"would you draw?"
rshint.dish =aux.Stringid(18407024,0) --"discard card from hand"
rshint.disd =aux.Stringid(15939448,0) --"send decktop card to GY"
rshint.dam =aux.Stringid(3775068,0) --"effect damage"
rshint.rec =aux.Stringid(16259549,0) --"effect recover"
rshint.ct =aux.Stringid(3070049,0) --"add counter"
rshint.an =aux.Stringid(10809984,0) --"announce"
rshint.coin =aux.Stringid(2196767,0) --"toss coin"
rshint.dice =aux.Stringid(3493058,0) --"toss dice"
rshint.se =aux.Stringid(135598,0) --"search card from deck"
rshint.th =aux.Stringid(1249315,0) --"send to hand"
rshint.wth =aux.Stringid(26118970,1) --"would you send to hand?"
rshint.rth =aux.Stringid(13890468,0) --"return to hand"
rshint.wrth =aux.Stringid(9464441,2) --"would you return to hand?"
rshint.des =aux.Stringid(1571945,0) --"destroy"
rshint.wdes =aux.Stringid(20590515,2) --"would you destroy?"
rshint.res =aux.Stringid(33779875,0) --"Tribute monster"
rshint.rm =aux.Stringid(612115,0) --"remove"
rshint.wrm =aux.Stringid(93191801,2) --"would you reomve?"
rshint.tg=aux.Stringid(1050186,0) --"send to GY"
rshint.wtg=aux.Stringid(62834295,2) --"would you send to GY?"
rshint.rtg=aux.Stringid(28039390,1) --"return to GY"
rshint.srtg=aux.Stringid(48976825,0) --"select cards to return to GY"
rshint.td=aux.Stringid(4779823,1) --"return to deck"
rshint.wtd=aux.Stringid(m,6) --"would you send to Deck?"
rshint.te=aux.Stringid(18210764,0) --"face-up add to EX"
rshint.ste=aux.Stringid(24094258,3) --"select cards to face-up add to EX"
rshint.eq =aux.Stringid(68184115,0) --"equip"
rshint.seq =rshint.eq --"select cards to equip"
rshint.weq =aux.Stringid(35100834,0) --"would you equip?"
--rshint.ua=aux.Stringid(1412158,0) --"Update ATK"
--rshint.ud=aux.Stringid(4997565,2) --"update DEF"
--rshint.uad=aux.Stringid(18563744,0) --"update ATK and DEF"
rshint.ad =aux.Stringid(7194917,0) --"change ATK and DEF"
rshint.cad =aux.Stringid(m,2) --"select cards to change Atk/Def"
rshint.clv =aux.Stringid(9583383,0) --"change level"
rshint.spproc=aux.Stringid(m,4) --"SS by self produce"
rshint.rstcp=aux.Stringid(43387895,1) --"reset copy effect"
rshint.epleave=aux.Stringid(m,3) --"end phase leave field buff"
rshint.stgct=aux.Stringid(83531441,2) --"select send to the GY number"
rshint.sdrct=aux.Stringid(m,5) --"select draw number"
rshint.darktuner=aux.Stringid(m,14) --"treat as dark tuner"
rshint.darksynchro=aux.Stringid(m,15) --"treat as dark synchro"
rshint.choose=aux.Stringid(23912837,1) --"choose 1 effect"
rshint.epleave=aux.Stringid(m,3) --"end phase leave field"
rshint.finshcopy=aux.Stringid(43387895,1) --"reset copy effect"
rshint.act2=aux.Stringid(m,1) --"select card to activate"
rshint.tgct=aux.Stringid(83531441,2) --"select send to the GY number"
rshint.drct=aux.Stringid(m,5) --"select draw number"
--[[
rshint.isss=aux.Stringid(17535764,1) --"would you SS a monster?"
rshint.istg=aux.Stringid(62834295,2) --"would you send to GY?"
rshint.isdes=aux.Stringid(20590515,2) --"would you destroy?"
rshint.istd=aux.Stringid(m,1) --"would you send to Deck?"
rshint.isrm=aux.Stringid(93191801,2) --"would you reomve?"
rshint.isset=aux.Stringid(m,5) --"would you set?"
rshint.istf=aux.Stringid(m,6) --"would you place to field?"
rshint.isth=aux.Stringid(26118970,1) --"would you send to hand?"
rshint.isrh=aux.Stringid(31102447,2) --"would you return to hand"
rshint.isdr=aux.Stringid(3679218,1) --"would you draw?"
--]]
--Property Variable
rsflag.flaglist = { EFFECT_FLAG_CARD_TARGET,EFFECT_FLAG_PLAYER_TARGET,EFFECT_FLAG_DELAY,EFFECT_FLAG_DAMAGE_STEP,EFFECT_FLAG_DAMAGE_CAL,
......
--SCP-040 进化之子
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(11200207,"SCP")
function c11200207.initial_effect(c)
--fusion material
......
......@@ -27,8 +27,9 @@ function cm.initial_effect(c)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_PHASE_START+PHASE_STANDBY)
e3:SetCode(EVENT_PHASE+PHASE_DRAW)
e3:SetCountLimit(1)
e3:SetRange(LOCATION_SZONE)
e3:SetOperation(cm.drop)
c:RegisterEffect(e3)
--back
......
......@@ -60,12 +60,9 @@ function cm.retreg(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetDescription(1104)
e1:SetCategory(CATEGORY_TOEXTRA)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetReset(RESET_PHASE+PHASE_END,1)
e1:SetTarget(cm.rettg)
e1:SetOperation(cm.retop)
Duel.RegisterEffect(e1,tp)
end
......@@ -75,12 +72,9 @@ end
function cm.thfilter(c)
return c:IsCode(m) and c:IsAbleToExtra()
end
function cm.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_MZONE,0,1,nil)
end
end
function cm.retop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tp=e:GetOwnerPlayer()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_MZONE,0,1,1,nil)
if g:GetCount()>0 then
......
......@@ -67,7 +67,6 @@ function cm.retreg(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetReset(RESET_PHASE+PHASE_END,1)
e1:SetTarget(cm.rettg)
e1:SetOperation(cm.retop)
Duel.RegisterEffect(e1,tp)
end
......@@ -77,12 +76,9 @@ end
function cm.thfilter(c)
return c:IsCode(m) and c:IsAbleToExtra()
end
function cm.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_MZONE,0,1,nil)
end
end
function cm.retop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tp=e:GetOwnerPlayer()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_MZONE,0,1,1,nil)
if g:GetCount()>0 then
......
......@@ -58,15 +58,24 @@ end
function cm.retcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end
function cm.retreg(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetDescription(1104)
e1:SetCategory(CATEGORY_TOEXTRA)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetReset(RESET_PHASE+PHASE_END,1)
e1:SetOperation(cm.retop)
Duel.RegisterEffect(e1,tp)
end
function cm.thfilter(c)
return c:IsCode(m) and c:IsAbleToExtra()
end
function cm.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_MZONE,0,1,nil)
end
end
function cm.retop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tp=e:GetOwnerPlayer()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_MZONE,0,1,1,nil)
if g:GetCount()>0 then
......
--SCP-49 疫医
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102000,"SCP")
local kh=c16102000
function c16102000.initial_effect(c)
......
--SCP-682 不灭孽蜥
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102001,"SCP")
local kh=c16102001
function kh.initial_effect(c)
......
--D级人员
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102002,"SCP_J")
function cm.initial_effect(c)
local e1=rsef.I(c,{m,0},{1,m},"dr,th",nil,LOCATION_MZONE,nil,rscost.cost(Card.IsReleasable,"res",LOCATION_ONFIELD),rsop.target(1,"dr"),cm.drop)
......
--SCP基金会 Doctors
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102003,"SCP_J")
function cm.initial_effect(c)
local e1=rsef.I(c,{m,0},{1,m},"sp",nil,LOCATION_HAND+LOCATION_GRAVE,rscon.excard2(Card.IsCode,LOCATION_ONFIELD,0,1,nil,m+1),rscost.cost(Card.IsReleasable,"res",LOCATION_HAND+LOCATION_ONFIELD),rsop.target2(cm.fun,rscf.spfilter2(),"sp"),cm.spop)
......
--基金会
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102004,"SCP_J")
function cm.initial_effect(c)
local e1=rsef.ACT(c,nil,nil,{1,m,1},"se,th,tg",nil,nil,nil,rsop.target(cm.thfilter,"th",LOCATION_DECK),cm.thop)
......
--SCP-173 雕像-最初之作
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102005,"SCP")
function cm.initial_effect(c)
local e1=rscf.SetSummonCondition(c,false)
......
--SCP-96 害羞的人
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102006,"SCP")
function cm.initial_effect(c)
local e1=rscf.SetSummonCondition(c,false)
......
--SCP-343 神
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102010,"SCP")
function cm.initial_effect(c)
c:SetUniqueOnField(1,1,m)
......
--SCP-2000 机械降神
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102011,"SCP")
c16102011.dfc_front_side=16102011
c16102011.dfc_back_side=16102012
......
--SCP-2000 机械降神
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102012,"SCP")
c16102012.dfc_front_side=16102011
c16102012.dfc_back_side=16102012
......
--SCP基金会 Dr.Clef
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16102013,"SCP_J")
function cm.initial_effect(c)
aux.AddLinkProcedure(c,cm.lkfilter,4,4)
......
--教团的普通骑士.
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m,cm=rscf.DefineCard(16104200,"CHURCH_KNIGHT")
if rsch then return end
rsch=cm
......
--与天界的链接
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16199990") end
if not pcall(function() require("expansions/script/c16101100") end) then require("script/c16101100") end
local m=16104400
local cm=_G["c"..m]
tenkai=tenkai or {}
......
--混沌的轮回 循环
if not pcall(function() require("expansions/script/c30099990") end) then require("script/c30099990") end
if not pcall(function() require("expansions/script/c30000100") end) then require("script/c30000100") end
local m,cm=rscf.DefineCard(30000220)
function cm.initial_effect(c)
local e1=rsef.ACT(c,nil,nil,nil,"td,dr",nil,nil,nil,cm.tg,cm.act)
......
--天罚机 德拉格尼克
if not pcall(function() require("expansions/script/c30099990") end) then require("script/c30099990") end
if not pcall(function() require("expansions/script/c30000100") end) then require("script/c30000100") end
local m,cm=rscf.DefineCard(30000236)
function cm.initial_effect(c)
rscf.SetSummonCondition(c,false,aux.FALSE)
......
--金黑双生
if not pcall(function() require("expansions/script/c30099990") end) then require("script/c30099990") end
if not pcall(function() require("expansions/script/c30000100") end) then require("script/c30000100") end
local m,cm=rscf.DefineCard(30000240)
function cm.initial_effect(c)
local e1=rsef.ACT(c,m,nil,nil,"sp,rm","de,dsp",cm.con,nil,rsop.target(cm.spfilter,"sp",rsloc.hdg),cm.act)
......
--行星驱逐舰 风雪游隼号
if not pcall(function() require("expansions/script/c65099990") end) then require("script/c65099990") end
if not pcall(function() require("expansions/script/c65010000") end) then require("script/c65010000") end
local m,cm=rscf.DefineCard(65020212)
function cm.initial_effect(c)
local e1=rscf.SetSpecialSummonProduce(c,LOCATION_HAND,cm.sprcon,nil,nil,{1,m})
......
--「六兆年零一夜物语」凑友希那
if not pcall(function() require("expansions/script/c65099990") end) then require("script/c65099990") end
if not pcall(function() require("expansions/script/c65010000") end) then require("script/c65010000") end
local m,cm=rscf.DefineCard(65020213)
function cm.initial_effect(c)
rscf.SetSummonCondition(c,false,aux.synlimit)
......
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