Commit 0c558460 authored by Tachibana's avatar Tachibana

得得得得得

parent f4a9f8c1
Pipeline #13427 passed with stage
in 19 minutes and 51 seconds
No preview for this file type
......@@ -108,6 +108,7 @@
10071201 1 --被蛇神选中的少女 纪代
#101
10150096 0 --融合幻象
10158004 0 --原田秋叶·夏祭
10174036 0 --紧急弹射
10174059 1 --暴君恐兽
#102
......@@ -1331,6 +1332,8 @@
65030107 0 --失络自掘者
65040010 0 --红暗之翼
65040046 0 --深晦的原海
65047002 0 --气氛转变·黑崎智秋
65047004 0 --度假·黑崎智秋
65050042 0 --连理蔷薇 净色
65071030 2 --谐奏放射器
65071049 2 --悲惨圣诞
......@@ -1455,13 +1458,10 @@
81041061 1 --不灭回忆·国见菜子
81042017 1 --属于你的一页
81046034 0 --虚拟主播 西园千草
81047002 0 --气氛转变·黑崎智秋
81047004 0 --度假·黑崎智秋
81048027 1 --猫咖 momoko
81052000 0 --克里斯汀·罗森塔尔
81057000 0 --水晶艾蕾娜
81057009 0 --水晶艾蕾娜·无意义
81058004 0 --原田秋叶·夏祭
#819
81901005 1 --無☆茶☆苦☆茶-喂!LP很贵的nano
81901006 0 --無☆茶☆苦☆茶-紫苑这么可爱还是吃不饱
......
--原田秋叶
local m=81058000
local m=10158000
local cm=_G["c"..m]
Duel.LoadScript("c26800000.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,81058000)
aux.AddCodeList(c,10158000)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
......@@ -59,7 +59,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.tdfilter(c)
return c:IsCode(81058000) and c:IsAbleToExtra() and (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE))
return c:IsCode(10158000) and c:IsAbleToExtra() and (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE))
end
function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_ONFIELD+LOCATION_GRAVE) and chkc:IsControler(tp) and cm.tdfilter(chkc) end
......
--原田秋叶·落寞
local m=81058001
local m=10158001
local cm=_G["c"..m]
function cm.initial_effect(c)
--Special Summon
......@@ -28,7 +28,7 @@ function cm.spcon(e,c)
end
function cm.efcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return r==REASON_XYZ and c:GetReasonCard():IsCode(81058000)
return r==REASON_XYZ and c:GetReasonCard():IsCode(10158000)
end
function cm.efop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......@@ -54,7 +54,7 @@ function cm.efop(e,tp,eg,ep,ev,re,r,rp)
rc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(m,0))
end
function cm.ifilter(c)
return c:IsFaceup() and c:IsCode(81058000)
return c:IsFaceup() and c:IsCode(10158000)
end
function cm.indcon(e)
return Duel.IsExistingMatchingCard(cm.ifilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,e:GetHandler())
......
--原田秋叶·雨后
local m=81058002
local m=10158002
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,81058000)
aux.AddCodeList(c,10158000)
c:SetSPSummonOnce(m)
--spsummon
local e1=Effect.CreateEffect(c)
......@@ -45,7 +45,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.drfilter(c)
return c:IsCode(81058000) and c:IsAbleToRemoveAsCost()
return c:IsCode(10158000) and c:IsAbleToRemoveAsCost()
end
function cm.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
--原田秋叶·纯情
local m=81058003
local m=10158003
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,81058000)
aux.AddCodeList(c,10158000)
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2,2,cm.lcheck)
--code
aux.EnableChangeCode(c,81058000,LOCATION_MZONE+LOCATION_GRAVE)
aux.EnableChangeCode(c,10158000,LOCATION_MZONE+LOCATION_GRAVE)
--Attach
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
......@@ -41,7 +41,7 @@ function cm.xyzcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end
function cm.filter(c)
return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsCode(81058000)
return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsCode(10158000)
end
function cm.xyztg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.filter(chkc) end
......@@ -60,7 +60,7 @@ function cm.xyzop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsCode(81058000)
return c:IsCode(10158000)
and not c:IsStatus(STATUS_BATTLE_DESTROYED) and ep==1-tp
and Duel.IsChainNegatable(ev)
and re:IsHasProperty(EFFECT_FLAG_CARD_TARGET)
......
--原田秋叶·夏祭
local m=81058004
local m=10158004
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
aux.EnableChangeCode(c,81058000,LOCATION_MZONE+LOCATION_GRAVE)
aux.EnableChangeCode(c,10158000,LOCATION_MZONE+LOCATION_GRAVE)
--atk
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
......@@ -38,7 +38,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.atkfilter(c)
return c:IsFaceup() and c:IsCode(81058000)
return c:IsFaceup() and c:IsCode(10158000)
end
function cm.value(e,c)
return Duel.GetMatchingGroupCount(cm.atkfilter,c:GetControler(),LOCATION_ONFIELD,0,e:GetHandler())*800
......@@ -61,7 +61,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,spct,tp,LOCATION_EXTRA)
end
function cm.spfilter(c,e,tp)
return c:IsCode(81058000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsCode(10158000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local ft,c,spct=Duel.GetLocationCount(tp,LOCATION_MZONE),e:GetHandler(),e:GetValue()
......@@ -83,7 +83,7 @@ function cm.sscon(e,tp,eg,ep,ev,re,r,rp)
return c:GetPreviousControler()==tp and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousLocation(LOCATION_MZONE)
end
function cm.ssfilter(c,e,tp)
return c:IsCode(81058000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
return c:IsCode(10158000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end
function cm.sstg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.ssfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp)
......
--懂个锤子的秋叶
local m=81058005
local m=10158005
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......@@ -32,7 +32,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function cm.sfilter(c,e,tp)
return c:IsCode(81058000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
return c:IsCode(10158000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re)
......
--原田秋叶·海滨
local m=81058006
local m=10158006
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......@@ -7,7 +7,7 @@ function cm.initial_effect(c)
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,cm.mfilter,2,true)
aux.AddContactFusionProcedure(c,Card.IsReleasable,LOCATION_MZONE,0,Duel.Release,REASON_COST+REASON_MATERIAL)
aux.EnableChangeCode(c,81058000,LOCATION_MZONE+LOCATION_GRAVE)
aux.EnableChangeCode(c,10158000,LOCATION_MZONE+LOCATION_GRAVE)
--spsummon condition
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
......@@ -61,7 +61,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return g:GetCount()>0 and g:FilterCount(cm.cfilter,nil)==g:GetCount()
end
function cm.spfilter(c,e,tp)
return c:IsCode(81058000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
return c:IsCode(10158000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp) end
......@@ -78,7 +78,7 @@ function cm.sscon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and e:GetHandler():IsPreviousControler(tp)
end
function cm.ssfilter(c,e,tp)
return c:IsCode(81058000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and not c:IsType(TYPE_FUSION)
return c:IsCode(10158000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and not c:IsType(TYPE_FUSION)
end
function cm.sstg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.ssfilter(chkc,e,tp) end
......
--原田秋叶·中华风
local m=81058007
local m=10158007
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,5,3,cm.ovfilter,aux.Stringid(m,0),99)
c:EnableReviveLimit()
aux.EnableChangeCode(c,81058000,LOCATION_MZONE+LOCATION_GRAVE)
aux.EnableChangeCode(c,10158000,LOCATION_MZONE+LOCATION_GRAVE)
--to deck
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......@@ -44,7 +44,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
function cm.spfilter(c,e,tp)
return c:IsCode(81058000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP) and not (c:IsRank(5) and c:IsType(TYPE_XYZ))
return c:IsCode(10158000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP) and not (c:IsRank(5) and c:IsType(TYPE_XYZ))
and (c:IsLocation(LOCATION_GRAVE) and Duel.GetMZoneCount(tp)>0
or c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0)
end
......
--原田秋叶·身代
local m=81058008
local m=10158008
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--秋叶的中二病
local m=81058009
local m=10158009
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......@@ -45,7 +45,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e5)
end
function cm.cfilter(c)
return c:IsFaceup() and c:IsCode(81058000)
return c:IsFaceup() and c:IsCode(10158000)
end
function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetMatchingGroupCount(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......@@ -60,7 +60,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Draw(p,d,REASON_EFFECT)
end
function cm.spfilter(c,e,tp)
return aux.IsCodeListed(c,81058000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return aux.IsCodeListed(c,10158000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetMatchingGroupCount(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......@@ -80,7 +80,7 @@ end
function cm.spfilter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and (c:IsLocation(LOCATION_DECK) and Duel.GetMZoneCount(tp)>0
or c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0) and aux.IsCodeListed(c,81058000)
or c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0) and aux.IsCodeListed(c,10158000)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetMatchingGroupCount(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......
--原田秋叶·大小姐
local m=81058010
local m=10158010
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,81058000)
aux.AddCodeList(c,10158000)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
aux.EnableChangeCode(c,81058000,LOCATION_MZONE+LOCATION_GRAVE)
aux.EnableChangeCode(c,10158000,LOCATION_MZONE+LOCATION_GRAVE)
--atkup
local e0=Effect.CreateEffect(c)
e0:SetDescription(aux.Stringid(m,0))
......@@ -35,7 +35,7 @@ function cm.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
function cm.atkfilter(c)
return c:IsFaceup() and c:IsCode(81058000)
return c:IsFaceup() and c:IsCode(10158000)
end
function cm.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMatchingGroupCount(cm.atkfilter,tp,LOCATION_ONFIELD,0,nil)>0 end
......@@ -58,8 +58,8 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsAbleToEnterBP()
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsCode,1,e:GetHandler(),81058000) end
local g=Duel.SelectReleaseGroup(tp,Card.IsCode,1,12,e:GetHandler(),81058000)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsCode,1,e:GetHandler(),10158000) end
local g=Duel.SelectReleaseGroup(tp,Card.IsCode,1,12,e:GetHandler(),10158000)
local ct=Duel.Release(g,REASON_COST)
e:SetLabel(ct)
end
......
--满月叶
local m=81058011
local m=10158011
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......@@ -26,7 +26,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.spfilter(c,e,tp)
return c:IsCode(81058000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
return c:IsCode(10158000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp)
......@@ -44,12 +44,12 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.filter1(c,e,tp)
return c:IsFaceup() and c:IsCode(81058000) and c:IsType(TYPE_MONSTER)
return c:IsFaceup() and c:IsCode(10158000) and c:IsType(TYPE_MONSTER)
and Duel.IsExistingMatchingCard(cm.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c)
and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL)
end
function cm.filter2(c,e,tp,mc)
return aux.IsCodeListed(c,81058000) and c:IsType(TYPE_XYZ) and not c:IsCode(mc:GetOriginalCode()) and mc:IsCanBeXyzMaterial(c)
return aux.IsCodeListed(c,10158000) and c:IsType(TYPE_XYZ) and not c:IsCode(mc:GetOriginalCode()) and mc:IsCanBeXyzMaterial(c)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,mc,c)>0
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
--黑崎智秋
local m=81047000
local m=65047000
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--花嫁·黑崎智秋
function c81047001.initial_effect(c)
function c65047001.initial_effect(c)
--set
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -12,20 +12,20 @@ function c81047001.initial_effect(c)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e2:SetCountLimit(1,81047001)
e2:SetTarget(c81047001.tg)
e2:SetOperation(c81047001.op)
e2:SetCountLimit(1,65047001)
e2:SetTarget(c65047001.tg)
e2:SetOperation(c65047001.op)
c:RegisterEffect(e2)
local e3=e2:Clone()
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING)
e3:SetCondition(c81047001.ccon)
e3:SetCondition(c65047001.ccon)
c:RegisterEffect(e3)
end
function c81047001.ccon(e,tp,eg,ep,ev,re,r,rp)
function c65047001.ccon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp and ep~=tp
end
function c81047001.tg(e,tp,eg,ep,ev,re,r,rp,chk)
function c65047001.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingTarget(Card.IsFacedown,tp,LOCATION_SZONE,0,1,nil) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
local g=Duel.SelectTarget(tp,Card.IsFacedown,tp,LOCATION_SZONE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,tp,0)
......@@ -35,17 +35,17 @@ function c81047001.tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,tp,LOCATION_GRAVE)
end
end
function c81047001.thfil(c)
return c:IsType(TYPE_MONSTER) and c:IsSSetable() and not c:IsCode(81047001)
function c65047001.thfil(c)
return c:IsType(TYPE_MONSTER) and c:IsSSetable() and not c:IsCode(65047001)
end
function c81047001.op(e,tp,eg,ep,ev,re,r,rp)
function c65047001.op(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if Duel.Destroy(tc,REASON_EFFECT)~=0 and e:GetHandler():IsLocation(LOCATION_HAND+LOCATION_GRAVE) then
if Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP)~=0 and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.IsExistingMatchingCard(c81047001.thfil,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(81047001,0)) then
if Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP)~=0 and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.IsExistingMatchingCard(c65047001.thfil,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(65047001,0)) then
Duel.BreakEffect()
local g=Duel.SelectMatchingCard(tp,c81047001.thfil,tp,LOCATION_GRAVE,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,c65047001.thfil,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.SSet(tp,g:GetFirst())
end
end
......
--毕业鸽·黑崎智秋
function c81047002.initial_effect(c)
function c65047002.initial_effect(c)
c:EnableReviveLimit()
aux.AddLinkProcedure(c,c81047002.matfilter,2,2)
aux.AddLinkProcedure(c,c65047002.matfilter,2,2)
--negate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
......@@ -9,11 +9,11 @@ function c81047002.initial_effect(c)
e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,81047002)
e1:SetCondition(c81047002.discon)
e1:SetCost(c81047002.discost)
e1:SetTarget(c81047002.distg)
e1:SetOperation(c81047002.disop)
e1:SetCountLimit(1,65047002)
e1:SetCondition(c65047002.discon)
e1:SetCost(c65047002.discost)
e1:SetTarget(c65047002.distg)
e1:SetOperation(c65047002.disop)
c:RegisterEffect(e1)
--cannot be target
local e2=Effect.CreateEffect(c)
......@@ -21,7 +21,7 @@ function c81047002.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e2:SetCode(EFFECT_CANNOT_BE_BATTLE_TARGET)
e2:SetRange(LOCATION_MZONE)
e2:SetCondition(c81047002.tgcon)
e2:SetCondition(c65047002.tgcon)
e2:SetValue(aux.imval1)
c:RegisterEffect(e2)
local e3=e2:Clone()
......@@ -29,13 +29,13 @@ function c81047002.initial_effect(c)
e3:SetValue(aux.tgoval)
c:RegisterEffect(e3)
end
function c81047002.matfilter(c)
function c65047002.matfilter(c)
return c:IsLinkRace(RACE_FAIRY) and c:IsAttackBelow(1000)
end
function c81047002.discon(e,tp,eg,ep,ev,re,r,rp)
function c65047002.discon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and not e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) and Duel.IsChainNegatable(ev) and e:GetHandler():GetAttack()<=1000
end
function c81047002.discost(e,tp,eg,ep,ev,re,r,rp,chk)
function c65047002.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local c=e:GetHandler()
local e1=Effect.CreateEffect(c)
......@@ -46,21 +46,21 @@ function c81047002.discost(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetValue(300)
c:RegisterEffect(e1)
end
function c81047002.distg(e,tp,eg,ep,ev,re,r,rp,chk)
function c65047002.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
if re:GetHandler():IsDestructable() and re:GetHandler():IsRelateToEffect(re) then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,1,0,0)
end
end
function c81047002.disop(e,tp,eg,ep,ev,re,r,rp)
function c65047002.disop(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then
Duel.Destroy(eg,REASON_EFFECT)
end
end
function c81047002.tgfilter(c,atk)
function c65047002.tgfilter(c,atk)
return c:IsFaceup() and c:GetAttack()<atk and c:IsRace(RACE_FAIRY) and c:IsAttribute(ATTRIBUTE_LIGHT)
end
function c81047002.tgcon(e)
return Duel.IsExistingMatchingCard(c81047002.tgfilter,tp,LOCATION_MZONE,0,1,nil,e:GetHandler():GetAttack()) and e:GetHandler():GetAttack()<=800
function c65047002.tgcon(e)
return Duel.IsExistingMatchingCard(c65047002.tgfilter,tp,LOCATION_MZONE,0,1,nil,e:GetHandler():GetAttack()) and e:GetHandler():GetAttack()<=800
end
--黑崎智秋的学生时代
function c81047003.initial_effect(c)
function c65047003.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,81047003+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c81047003.condition)
e1:SetCost(c81047003.cost)
e1:SetTarget(c81047003.target)
e1:SetOperation(c81047003.activate)
e1:SetCountLimit(1,65047003+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c65047003.condition)
e1:SetCost(c65047003.cost)
e1:SetTarget(c65047003.target)
e1:SetOperation(c65047003.activate)
c:RegisterEffect(e1)
end
function c81047003.ntfil(c)
function c65047003.ntfil(c)
return not c:IsType(TYPE_SPELL)
end
function c81047003.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp and Duel.GetCurrentPhase()==PHASE_MAIN1 and Duel.GetMatchingGroupCount(c81047003.ntfil,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil)==0
function c65047003.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp and Duel.GetCurrentPhase()==PHASE_MAIN1 and Duel.GetMatchingGroupCount(c65047003.ntfil,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil)==0
end
function c81047003.cost(e,tp,eg,ep,ev,re,r,rp,chk)
function c65047003.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_NORMALSUMMON)==0 and Duel.GetActivityCount(tp,ACTIVITY_SPSUMMON)==0
and Duel.GetActivityCount(tp,ACTIVITY_FLIPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
......@@ -38,16 +38,16 @@ function c81047003.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e4:SetCode(EFFECT_CANNOT_FLIP_SUMMON)
Duel.RegisterEffect(e4,tp)
end
function c81047003.filter(c)
function c65047003.filter(c)
return c:IsType(TYPE_SPELL) and c:IsAbleToHand()
end
function c81047003.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c81047003.filter,tp,LOCATION_DECK,0,1,nil) end
function c65047003.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65047003.filter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function c81047003.activate(e,tp,eg,ep,ev,re,r,rp)
function c65047003.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c81047003.filter,tp,LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,c65047003.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
......@@ -58,9 +58,9 @@ function c81047003.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetTargetRange(1,0)
e1:SetValue(c81047003.aclimit)
e1:SetValue(c65047003.aclimit)
Duel.RegisterEffect(e1,tp)
end
function c81047003.aclimit(e,re,tp)
function c65047003.aclimit(e,re,tp)
return not re:IsActiveType(TYPE_SPELL)
end
--度假·黑崎智秋
local m=81047004
local m=65047004
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--不存的优雅·黑崎智秋
local m=81047007
local m=65047007
local cm=_G["c"..m]
function cm.initial_effect(c)
--xyz summon
......
--庭院之思·黑崎智秋
local m=81047008
local m=65047008
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--滨海一夏·黑崎智秋
local m=81047009
local m=65047009
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--轻熟感·黑崎智秋
local m=81047011
local m=65047011
local cm=_G["c"..m]
function cm.initial_effect(c)
--link summon
......
--29岁的人生·黑崎智秋
local m=81047012
local m=65047012
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--文学少女·黑崎智秋
local m=81047013
local m=65047013
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--事不关己之人
local m=81047090
local m=65047090
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......@@ -28,7 +28,7 @@ function cm.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if ft==0 then loc=LOCATION_MZONE end
e:SetLabel(loc)
return Duel.IsExistingTarget(Card.IsReleasableByEffect,tp,loc,0,1,nil)
and Duel.IsPlayerCanSpecialSummonMonster(tp,81047099,0,0x4011,0,0,5,RACE_FIEND,ATTRIBUTE_LIGHT)
and Duel.IsPlayerCanSpecialSummonMonster(tp,65047099,0,0x4011,0,0,5,RACE_FIEND,ATTRIBUTE_LIGHT)
end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,Card.IsReleasableByEffect,tp,e:GetLabel(),0,1,1,nil)
......@@ -40,8 +40,8 @@ function cm.tkop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.Release(tc,REASON_EFFECT)~=0 then
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,81047099,0,0x4011,0,0,5,RACE_FIEND,ATTRIBUTE_LIGHT) then return end
local token=Duel.CreateToken(tp,81047099)
or not Duel.IsPlayerCanSpecialSummonMonster(tp,65047099,0,0x4011,0,0,5,RACE_FIEND,ATTRIBUTE_LIGHT) then return end
local token=Duel.CreateToken(tp,65047099)
Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
--神代心春
local m=81037000
local m=71437000
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--神代心春 Vol.新年
local m=81037001
local m=71437001
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--神代心春 Vol.冬日
local m=81037002
local m=71437002
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--神代心春 Vol.乖巧
local m=81037003
local m=71437003
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--神代心春 Vol.巧克力
local m=81037004
local m=71437004
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--神代心春 Vol.归去来兮
local m=81037005
local m=71437005
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--神代心春 Vol.优雅
local m=81037006
local m=71437006
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
......
--忆梦时光
local m=81037099
local m=71437099
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
c:EnableCounterPermit(0x815)
c:SetCounterLimit(0x815,6)
c:EnableCounterPermit(0x714)
c:SetCounterLimit(0x714,6)
--Activate
local e0=Effect.CreateEffect(c)
e0:SetCategory(CATEGORY_DICE+CATEGORY_COUNTER)
......@@ -40,7 +40,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_ONFIELD,0,1,e:GetHandler())
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanHaveCounter(0x815) end
if chk==0 then return e:GetHandler():IsCanHaveCounter(0x714) end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
......@@ -48,7 +48,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local dc=Duel.TossDice(tp,1)
if dc>6 then dc=6 end
if c:IsRelateToEffect(e) then
c:AddCounter(0x815,dc)
c:AddCounter(0x714,dc)
end
end
function cm.bfilter(c)
......@@ -62,11 +62,11 @@ function cm.efilter(e,re)
end
function cm.dicecon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:GetCounter(0x815)>0 and c:GetFlagEffect(m)==0
return c:GetCounter(0x714)>0 and c:GetFlagEffect(m)==0
end
function cm.diceop(e,tp,eg,ep,ev,re,r,rp)
local cc=Duel.GetCurrentChain()
local sc=e:GetHandler():GetCounter(0x815)
local sc=e:GetHandler():GetCounter(0x714)
local cid=Duel.GetChainInfo(cc,CHAININFO_CHAIN_ID)
if aux.dice_chain_id~=cid and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.Hint(HINT_CARD,0,m)
......
--源泉 momoko
local m=81048026
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
--special summon
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_FIELD)
e0:SetCode(EFFECT_SPSUMMON_PROC)
e0:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e0:SetRange(LOCATION_HAND)
e0:SetCondition(cm.spcon)
c:RegisterEffect(e0)
--set
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,m)
e1:SetCost(cm.stcost)
e1:SetTarget(cm.sttg)
e1:SetOperation(cm.stop)
c:RegisterEffect(e1)
end
function cm.mfilter(c,tp)
return c:GetSequence()>=5 and c:IsControler(tp)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandlerPlayer()
return not Duel.IsExistingMatchingCard(cm.mfilter,tp,LOCATION_MZONE,0,1,nil,tp)
end
function cm.stcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST)
end
function cm.stfilter(c)
return c:IsSetCard(0xfa2) and c:IsSSetable() and c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function cm.sttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.stfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end
end
function cm.stop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(cm.stfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
local tc=g:GetFirst()
if tc then
Duel.SSet(tp,tc)
end
end
--晨曦妆容 三葉巧可
local m=81048044
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE+LOCATION_HAND)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_MAIN_END)
e1:SetCountLimit(1,m)
e1:SetCondition(cm.damcon)
e1:SetCost(cm.damcost)
e1:SetTarget(cm.damtg)
e1:SetOperation(cm.damop)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,m)
e2:SetCondition(cm.spcon)
e2:SetTarget(cm.sptg)
e2:SetOperation(cm.spop)
c:RegisterEffect(e2)
end
function cm.damfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3fa0) and not c:IsCode(m)
end
function cm.damcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.damfilter,tp,LOCATION_MZONE,0,1,nil)
end
function cm.damcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end
function cm.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetPlayer(1-tp)
Duel.SetTargetParam(800)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,800)
end
function cm.damop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Damage(p,d,REASON_EFFECT)
end
function cm.filter(c)
return c:IsCode(12031000) and c:IsFaceup()
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_ONFIELD,0,1,nil)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e1,true)
end
end
......@@ -1149,6 +1149,7 @@
!setname 0xc714 异梦像
!setname 0xd714 构异梦像
!setname 0xe714 幻异梦像
!counter 0x714 忆梦指示物
#飄上月球の不死煙 2338626051 724 0x720-0x72f
!setname 0x720 大庭院
......
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