Commit ad409764 authored by 聖園ミカ's avatar 聖園ミカ 🐟

54188

parent 797e8d65
No preview for this file type
......@@ -1713,8 +1713,6 @@
63924105 0 --米诺陶诺斯
63924110 1 --米诺陶诺斯-无法走出的迷宫
63924120 1 --天降的波塞冬之宝礼
#640
64000044 0 --富糖甜点史莱姆
#648
64800000 0 --哎呀,已经变成井的牺牲品了吗
64800015 0 --杰作拼图7067-『太阳』
......@@ -2075,6 +2073,7 @@
98630701 1 --萝莉控诱捕器
98639500 0 --被打扰的冬眠
98657312 1 --库拉丽丝-心配
98664044 0 --富糖甜点史莱姆
98666901 0 --寒灵刻使 雾水
98670704 1 --破坏能力者 枯轲
98670705 1 --除外能力者 枯厄
......
--龙族收容之壶
local m=64000042
local m=98664042
local cm=_G["c"..m]
function cm.initial_effect(c)
--Activate
......@@ -14,7 +14,7 @@ function cm.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e2:SetTargetRange(0xff,0xff)
e2:SetCode(EFFECT_DISABLE)
e2:SetTarget(c64000042.distg)
e2:SetTarget(c98664042.distg)
c:RegisterEffect(e2)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
......@@ -22,14 +22,14 @@ function cm.initial_effect(c)
e3:SetCode(EFFECT_CANNOT_ACTIVATE)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetTargetRange(1,1)
e3:SetValue(c64000042.aclimit)
e3:SetValue(c98664042.aclimit)
c:RegisterEffect(e3)
end
function c64000042.aclimit(e,re,tp)
function c98664042.aclimit(e,re,tp)
return (re:GetHandler():IsRace(RACE_DRAGON) or re:GetHandler():IsRace(RACE_DINOSAUR) or re:GetHandler():IsRace(RACE_SEASERPENT) or re:GetHandler():IsRace(RACE_WYRM)) and re:IsActiveType(TYPE_MONSTER)
end
function c64000042.distg(e,c)
function c98664042.distg(e,c)
return (c:IsRace(RACE_DRAGON) or c:IsRace(RACE_DINOSAUR) or c:IsRace(RACE_SEASERPENT) or c:IsRace(RACE_WYRM)) and c:IsType(TYPE_EFFECT)
end
\ No newline at end of file
--魔陷烹调师
local m=64000043
local m=98664043
local cm=_G["c"..m]
function cm.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(64000043,0))
e1:SetDescription(aux.Stringid(98664043,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,EFFECT_COUNT_CODE_SINGLE)
e1:SetTarget(c64000043.sptg1)
e1:SetOperation(c64000043.spop1)
e1:SetTarget(c98664043.sptg1)
e1:SetOperation(c98664043.spop1)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(64000043,1))
e2:SetDescription(aux.Stringid(98664043,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,EFFECT_COUNT_CODE_SINGLE)
e2:SetTarget(c64000043.sptg2)
e2:SetOperation(c64000043.spop2)
e2:SetTarget(c98664043.sptg2)
e2:SetOperation(c98664043.spop2)
c:RegisterEffect(e2)
end
function c64000043.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,64000044)==0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c64000043.filter,tp,LOCATION_REMOVED+LOCATION_GRAVE,0,1,e:GetHandler(),e,tp) end
Duel.RegisterFlagEffect(tp,64000044,RESET_PHASE+PHASE_END,0,1)
function c98664043.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,98664044)==0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c98664043.filter,tp,LOCATION_REMOVED+LOCATION_GRAVE,0,1,e:GetHandler(),e,tp) end
Duel.RegisterFlagEffect(tp,98664044,RESET_PHASE+PHASE_END,0,1)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_REMOVED+LOCATION_GRAVE)
end
function c64000043.spop2(e,tp,eg,ep,ev,re,r,rp)
function c98664043.spop2(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c64000043.filter),tp,LOCATION_REMOVED+LOCATION_GRAVE,0,1,1,nil,e,tp)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c98664043.filter),tp,LOCATION_REMOVED+LOCATION_GRAVE,0,1,1,nil,e,tp)
if #g>0 then
local tc=g:GetFirst()
local e1=Effect.CreateEffect(tc)
......@@ -65,14 +65,14 @@ function c64000043.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(tc,0,tp,tp,true,false,POS_FACEUP_DEFENSE)
end
end
function c64000043.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,64000043)==0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>0 end
Duel.RegisterFlagEffect(tp,64000043,RESET_PHASE+PHASE_END,0,1)
function c98664043.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,98664043)==0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>0 end
Duel.RegisterFlagEffect(tp,98664043,RESET_PHASE+PHASE_END,0,1)
end
function c64000043.filter(c,e,tp)
function c98664043.filter(c,e,tp)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and Duel.IsPlayerCanSpecialSummonMonster(tp,c:GetCode(),nil,TYPE_MONSTER,500,500,4,RACE_FIEND,ATTRIBUTE_DARK,POS_FACEUP_DEFENSE) and c:IsCanBeSpecialSummoned(e,0,tp,true,true,POS_FACEUP_DEFENSE)
end
function c64000043.spop1(e,tp,eg,ep,ev,re,r,rp)
function c98664043.spop1(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)<1 then return end
local ct=math.min(5,Duel.GetFieldGroupCount(tp,LOCATION_DECK,0))
if ct>0 then
......@@ -82,14 +82,14 @@ function c64000043.spop1(e,tp,eg,ep,ev,re,r,rp)
end
local ac=1
if ct>1 then
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(64000043,3))
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(98664043,3))
ac=Duel.AnnounceNumber(tp,table.unpack(t))
end
local g=Duel.GetDecktopGroup(tp,ac)
Duel.ConfirmCards(tp,g)
if g:IsExists(c64000043.filter,1,nil,e,tp) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.SelectYesNo(tp,aux.Stringid(64000043,2)) then
if g:IsExists(c98664043.filter,1,nil,e,tp) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.SelectYesNo(tp,aux.Stringid(98664043,2)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=g:FilterSelect(tp,c64000043.filter,1,1,nil,e,tp)
local sg=g:FilterSelect(tp,c98664043.filter,1,1,nil,e,tp)
Duel.DisableShuffleCheck()
local tc=sg:GetFirst()
local e1=Effect.CreateEffect(tc)
......
--富 糖 甜 点 史 莱 姆
local m=64000044
local m=98664044
local cm=_G["c"..m]
function cm.initial_effect(c)
--fusion substitute
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_FUSION_SUBSTITUTE)
e1:SetCondition(c64000044.subcon)
e1:SetCondition(c98664044.subcon)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_HAND+LOCATION_MZONE)
e2:SetCost(c64000044.sfcost)
e2:SetTarget(c64000044.sftg)
e2:SetOperation(c64000044.sfop)
e2:SetCost(c98664044.sfcost)
e2:SetTarget(c98664044.sftg)
e2:SetOperation(c98664044.sfop)
c:RegisterEffect(e2)
end
function c64000044.subcon(e)
function c98664044.subcon(e)
return e:GetHandler():IsLocation(0x36)
end
function c64000044.sfcost(e,tp,eg,ep,ev,re,r,rp,chk)
function c98664044.sfcost(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 c64000044.filter1(c,e)
function c98664044.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
function c64000044.filter2(c,e,tp,m,f,chkf)
function c98664044.filter2(c,e,tp,m,f,chkf)
return c:IsType(TYPE_FUSION) and c:IsLevelAbove(9) and (not f or f(c))
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf)
end
function c64000044.sftg(e,tp,eg,ep,ev,re,r,rp,chk)
function c98664044.sftg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local chkf=tp
local mg1=Duel.GetFusionMaterial(tp)
mg1:RemoveCard(e:GetHandler())
local res=Duel.IsExistingMatchingCard(c64000044.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg1,nil,chkf)
local res=Duel.IsExistingMatchingCard(c98664044.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg1,nil,chkf)
if not res then
local ce=Duel.GetChainMaterial(tp)
if ce~=nil then
......@@ -46,17 +46,17 @@ function c64000044.sftg(e,tp,eg,ep,ev,re,r,rp,chk)
local mg2=fgroup(ce,e,tp)
mg2:RemoveCard(e:GetHandler())
local mf=ce:GetValue()
res=Duel.IsExistingMatchingCard(c64000044.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg2,mf,chkf)
res=Duel.IsExistingMatchingCard(c98664044.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg2,mf,chkf)
end
end
return res
end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end
function c64000044.sfop(e,tp,eg,ep,ev,re,r,rp)
function c98664044.sfop(e,tp,eg,ep,ev,re,r,rp)
local chkf=tp
local mg1=Duel.GetFusionMaterial(tp):Filter(c64000044.filter1,nil,e)
local sg1=Duel.GetMatchingGroup(c64000044.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf)
local mg1=Duel.GetFusionMaterial(tp):Filter(c98664044.filter1,nil,e)
local sg1=Duel.GetMatchingGroup(c98664044.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf)
local mg2=nil
local sg2=nil
local ce=Duel.GetChainMaterial(tp)
......@@ -64,7 +64,7 @@ function c64000044.sfop(e,tp,eg,ep,ev,re,r,rp)
local fgroup=ce:GetTarget()
mg2=fgroup(ce,e,tp)
local mf=ce:GetValue()
sg2=Duel.GetMatchingGroup(c64000044.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg2,mf,chkf)
sg2=Duel.GetMatchingGroup(c98664044.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg2,mf,chkf)
end
if sg1:GetCount()>0 or (sg2~=nil and sg2:GetCount()>0) then
local sg=sg1:Clone()
......
--星 晶 镜 璃 龙
local m=64000046
local m=98664046
local cm=_G["c"..m]
function cm.initial_effect(c)
--synchro summon
......@@ -12,7 +12,7 @@ function cm.initial_effect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(c64000046.splimit)
e1:SetValue(c98664046.splimit)
c:RegisterEffect(e1)
--Negate
local e2=Effect.CreateEffect(c)
......@@ -21,18 +21,18 @@ function cm.initial_effect(c)
e2:SetCode(EVENT_CHAINING)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e2:SetRange(LOCATION_MZONE)
e2:SetCondition(c64000046.discon)
e2:SetTarget(c64000046.distg)
e2:SetOperation(c64000046.disop)
e2:SetCondition(c98664046.discon)
e2:SetTarget(c98664046.distg)
e2:SetOperation(c98664046.disop)
c:RegisterEffect(e2)
--pendulum
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_LEAVE_FIELD)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCondition(c64000046.pencon)
e3:SetTarget(c64000046.pentg)
e3:SetOperation(c64000046.penop)
e3:SetCondition(c98664046.pencon)
e3:SetTarget(c98664046.pentg)
e3:SetOperation(c98664046.penop)
c:RegisterEffect(e3)
--Remove
local e4=Effect.CreateEffect(c)
......@@ -42,10 +42,10 @@ function cm.initial_effect(c)
e4:SetHintTiming(0,TIMING_MAIN_END+TIMING_BATTLE_START+TIMING_BATTLE_END)
e4:SetRange(LOCATION_PZONE)
e4:SetCountLimit(1)
e4:SetCondition(c64000046.prcon)
e4:SetCost(c64000046.prcost)
e4:SetTarget(c64000046.prtg)
e4:SetOperation(c64000046.prop)
e4:SetCondition(c98664046.prcon)
e4:SetCost(c98664046.prcost)
e4:SetTarget(c98664046.prtg)
e4:SetOperation(c98664046.prop)
c:RegisterEffect(e4)
--double tuner
local e9=Effect.CreateEffect(c)
......@@ -54,57 +54,57 @@ function cm.initial_effect(c)
e9:SetCode(21142671)
c:RegisterEffect(e9)
end
c64000046.material_type=TYPE_SYNCHRO
function c64000046.prcon(e,tp,eg,ep,ev,re,r,rp)
c98664046.material_type=TYPE_SYNCHRO
function c98664046.prcon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase()
return (ph==PHASE_MAIN1 or (ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE) or ph==PHASE_MAIN2)
end
function c64000046.rmcostfilter(c,tp)
function c98664046.rmcostfilter(c,tp)
return c:IsAbleToRemoveAsCost() and c:IsAbleToRemove(tp,POS_FACEDOWN)
end
function c64000046.prcost(e,tp,eg,ep,ev,re,r,rp,chk)
function c98664046.prcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(c64000046.rmcostfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,c,tp) end
if chk==0 then return Duel.IsExistingMatchingCard(c98664046.rmcostfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,c,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,c64000046.rmcostfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,c,tp)
local g=Duel.SelectMatchingCard(tp,c98664046.rmcostfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,c,tp)
Duel.Remove(g,POS_FACEDOWN,REASON_COST)
end
function c64000046.prfilter(c,tp)
function c98664046.prfilter(c,tp)
return c:IsAbleToRemove(tp,POS_FACEDOWN)
end
function c64000046.prtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
function c98664046.prtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
if chkc then return chkc:IsOnField() and c64000046.prfilter(chkc,tp) and chkc~=e:GetHandler() end
if chk==0 then return Duel.IsExistingTarget(c64000046.prfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c,tp) end
if chkc then return chkc:IsOnField() and c98664046.prfilter(chkc,tp) and chkc~=e:GetHandler() end
if chk==0 then return Duel.IsExistingTarget(c98664046.prfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectTarget(tp,c64000046.prfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,c,tp)
local g=Duel.SelectTarget(tp,c98664046.prfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,c,tp)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0)
end
function c64000046.prop(e,tp,eg,ep,ev,re,r,rp)
function c98664046.prop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
Duel.Remove(tc,POS_FACEDOWN,REASON_EFFECT)
end
end
function c64000046.splimit(e,se,sp,st)
function c98664046.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) or (bit.band(st,SUMMON_TYPE_SYNCHRO)==SUMMON_TYPE_SYNCHRO and (not se or not se:IsHasType(EFFECT_TYPE_ACTIONS))) or bit.band(st,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM
end
function c64000046.discon(e,tp,eg,ep,ev,re,r,rp)
function c98664046.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsStatus(STATUS_BATTLE_DESTROYED) then return false end
return Duel.IsChainNegatable(ev) and rp==1-tp
end
function c64000046.GetType(c)
function c98664046.GetType(c)
if c:IsType(TYPE_TRAP) then return 1
elseif c:IsType(TYPE_MONSTER) then return 2
elseif c:IsType(TYPE_SPELL) then return 3
else return nil
end
end
function c64000046.distg(e,tp,eg,ep,ev,re,r,rp,chk)
function c98664046.distg(e,tp,eg,ep,ev,re,r,rp,chk)
local rc=re:GetHandler()
local c=e:GetHandler()
local aaa=64000046+c64000046.GetType(rc)
local aaa=98664046+c98664046.GetType(rc)
if chk==0 then return Duel.GetFlagEffect(tp,aaa)==0 end
Duel.RegisterFlagEffect(tp,aaa,RESET_PHASE+PHASE_END,0,1)
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
......@@ -112,19 +112,19 @@ function c64000046.distg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,1,0,0)
end
end
function c64000046.disop(e,tp,eg,ep,ev,re,r,rp)
function c98664046.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 c64000046.pencon(e,tp,eg,ep,ev,re,r,rp)
function c98664046.pencon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsFaceup() and c:IsPreviousControler(tp) and c:GetReasonPlayer()==1-tp
end
function c64000046.pentg(e,tp,eg,ep,ev,re,r,rp,chk)
function c98664046.pentg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1) end
end
function c64000046.penop(e,tp,eg,ep,ev,re,r,rp)
function c98664046.penop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) then
Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
......
--防战械姬 瑟雅
local m=64000047
local m=98664047
local cm=_G["c"..m]
function cm.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,nil,2,2,c64000047.lcheck)
aux.AddLinkProcedure(c,nil,2,2,c98664047.lcheck)
c:EnableReviveLimit()
--set
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,64000047)
e2:SetTarget(c64000047.sttg)
e2:SetOperation(c64000047.stop)
e2:SetCountLimit(1,98664047)
e2:SetTarget(c98664047.sttg)
e2:SetOperation(c98664047.stop)
c:RegisterEffect(e2)
--pos
local e3=Effect.CreateEffect(c)
......@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e3:SetCode(EFFECT_SET_POSITION)
e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(0,LOCATION_MZONE)
e3:SetTarget(c64000047.postg)
e3:SetTarget(c98664047.postg)
e3:SetValue(POS_FACEUP_ATTACK)
c:RegisterEffect(e3)
--must attack
......@@ -35,30 +35,30 @@ function cm.initial_effect(c)
e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e5:SetCode(EVENT_CHAINING)
e5:SetRange(LOCATION_MZONE)
e5:SetCondition(c64000047.chaincon)
e5:SetOperation(c64000047.chainop)
e5:SetCondition(c98664047.chaincon)
e5:SetOperation(c98664047.chainop)
c:RegisterEffect(e5)
end
function c64000047.postg(e,c)
function c98664047.postg(e,c)
return c:IsFaceup()
end
function c64000047.lcfilter1(c)
function c98664047.lcfilter1(c)
return not c:IsType(TYPE_EFFECT)
end
function c64000047.lcheck(g)
return g:IsExists(c64000047.lcfilter1,1,nil)
function c98664047.lcheck(g)
return g:IsExists(c98664047.lcfilter1,1,nil)
end
function c64000047.stfilter(c)
function c98664047.stfilter(c)
local te=c:GetActivateEffect()
return (c:GetType()==TYPE_TRAP or c:IsType(TYPE_COUNTER)) and te and te:GetCode()==EVENT_ATTACK_ANNOUNCE and c:IsSSetable()
end
function c64000047.sttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c64000047.stfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end
function c98664047.sttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c98664047.stfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end
end
function c64000047.stop(e,tp,eg,ep,ev,re,r,rp)
function c98664047.stop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c64000047.stfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c98664047.stfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
if g:GetCount()>0 and Duel.SSet(tp,g:GetFirst())~=0 then
--immune
local e1=Effect.CreateEffect(e:GetHandler())
......@@ -67,27 +67,27 @@ function c64000047.stop(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_SET_AVAILABLE)
e1:SetRange(LOCATION_SZONE)
e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetValue(c64000047.efilter)
e1:SetValue(c98664047.efilter)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
g:GetFirst():RegisterEffect(e1)
g:GetFirst():RegisterFlagEffect(64000047,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(64000047,1))
g:GetFirst():RegisterFlagEffect(98664047,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(98664047,1))
end
end
function c64000047.efilter(e,te)
function c98664047.efilter(e,te)
if not te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return true end
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
if #g~=1 then return true end
return not g or not g:IsContains(e:GetHandler())
end
function c64000047.chaincon(e,tp,eg,ep,ev,re,r,rp)
return re:GetHandler():GetFlagEffect(64000047)>0
function c98664047.chaincon(e,tp,eg,ep,ev,re,r,rp)
return re:GetHandler():GetFlagEffect(98664047)>0
end
function c64000047.chainop(e,tp,eg,ep,ev,re,r,rp)
function c98664047.chainop(e,tp,eg,ep,ev,re,r,rp)
if ep==tp then
Duel.SetChainLimit(c64000047.chainlm)
Duel.SetChainLimit(c98664047.chainlm)
end
end
function c64000047.chainlm(e,ep,tp)
function c98664047.chainlm(e,ep,tp)
return tp==ep
end
\ No newline at end of file
......@@ -118,7 +118,7 @@
#◇SCL 2798419987 101
#团子 1362961985 102 0x5a0-0x5af
#团子 1362961985 102 0x5a0-0x5af
!setname 0x5a0 SAO
!setname 0x5a1 ALO
!setname 0x5a2 GGO
......@@ -217,7 +217,7 @@
!counter 0x2fb0 梦境指示物
!counter 0x1fb1 深绿指示物
#冰精⑨ 2460890081 122 0x450-0x45f
#冰精⑨ 2460890081 122 0x450-0x45f
!setname 0x451 神明吞噬者
!setname 0x453 神之仆从
......@@ -279,7 +279,7 @@
#Scarlet 3027246459 137
#仲村芽衣子 2736617510 141
#仲村芽衣子 2736617510 141
#named_with_hana 花舞少女
#Ruby 917770701 147 0x2e0-0x2ef
......@@ -484,7 +484,7 @@
!setname 0x9c92 枝江
!setname 0xc99 ReLive
#演示白板 178434020 210 0x600-0x60f
#演示白板 178434020 210 0x600-0x60f
!setname 0x601 道明寺歌鈴
!setname 0x602 神崎兰子
!setname 0x603 堀裕子
......@@ -559,7 +559,7 @@
#“米”雾中消失的X 257569726 257
#SetCard_MXHunHuang 昏黄
#格里芬生活部部长 2583980801 258 0x250-0x25f
#格里芬生活部部长 2583980801 258 0x250-0x25f
!setname 0x251 战术少女
!setname 0x252 融合势力
!counter 0x251 过载指示物
......@@ -1144,8 +1144,6 @@
#希尔薇 - 639 0x860-0x86f
!setname 0x860 米诺陶诺斯
#△绒 2039721962 640
#02 1164477469 648 0x410-0x41f
!setname 0x5410 终末旅者
!setname 0x6410 星光歌剧
......@@ -1482,7 +1480,7 @@
!counter 0x1596 幻想指示物
!counter 0x3597 旧地狱
#小島痕 1614895649 889 0x960-0x96f
#小島痕 1614895649 889 0x960-0x96f
!setname 0x960 折幸
#王道游老子 995602632 894 0x700-0x70f
......@@ -1535,7 +1533,7 @@
!setname 0x9ef8 Jewel
!setname 0x3ef9 口袋精灵
#奇跡の早苗 2060043514 961 0x7e0-0x7ef
#奇跡の早苗 2060043514 961 0x7e0-0x7ef
!setname 0x37e0 苍蓝奇迹
!setname 0x57e0 千禧年科技学院
!setname 0x67e0 研讨会
......@@ -1555,6 +1553,7 @@
#named_with_sanae 早苗H
#named_with_windbot Windbot
##◇某失智の刀客塔 3529764274 600
##△绒 2039721962 640
##◇小K 1318052139 669
##◇落 2403265619 707-708
##珠泪 773
......
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