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

byd

parent 54d80ed1
--倾·物语 -- 倾·物语
function c1000373.initial_effect(c) function c1000373.initial_effect(c)
c:SetUniqueOnField(1,0,1000373) c:SetUniqueOnField(1,0,1000373)
--Activate -- Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
...@@ -9,7 +9,7 @@ function c1000373.initial_effect(c) ...@@ -9,7 +9,7 @@ function c1000373.initial_effect(c)
e1:SetTarget(c1000373.target1) e1:SetTarget(c1000373.target1)
e1:SetOperation(c1000373.operation) e1:SetOperation(c1000373.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--remove -- remove
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(1000373,1)) e2:SetDescription(aux.Stringid(1000373,1))
e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
...@@ -22,7 +22,7 @@ function c1000373.initial_effect(c) ...@@ -22,7 +22,7 @@ function c1000373.initial_effect(c)
e2:SetTarget(c1000373.target2) e2:SetTarget(c1000373.target2)
e2:SetOperation(c1000373.operation) e2:SetOperation(c1000373.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--race -- race
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
......
--紫雨岛的秋意渐浓 -- 紫雨岛的秋意渐浓
local m=1090008 local m=1090008
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua") Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,1090000) aux.AddCodeList(c,1090000)
--Activate -- Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_SEARCH+CATEGORY_TOHAND) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
......
--紫雨岛的写意画作 -- 紫雨岛的写意画作
local m=1090009 local m=1090009
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua") Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,1090000) aux.AddCodeList(c,1090000)
--negate -- negate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_TOHAND) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
......
--紫雨岛的温柔以待 -- 紫雨岛的温柔以待
local m=1090010 local m=1090010
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua") Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,1090000) aux.AddCodeList(c,1090000)
--Activate -- Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DISABLE_SUMMON+CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_DISABLE_SUMMON+CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
......
--惊雨『台风骤雨』 -- 惊雨『台风骤雨』
local m=1141202 local m=1141202
local cm=_G["c"..m] local cm=_G["c"..m]
-- --
......
...@@ -25,7 +25,7 @@ end ...@@ -25,7 +25,7 @@ end
function s.atktg(e,c) function s.atktg(e,c)
if c:GetBaseAttack()~=35 then return false end if c:GetBaseAttack()~=35 then return false end
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return aux.GetColumn(c,tp)==e:GetHandler():GetSequence() return c:IsType(TYPE_FUSION) and aux.GetColumn(c,tp)==e:GetHandler():GetSequence()
end end
......
...@@ -138,8 +138,7 @@ end ...@@ -138,8 +138,7 @@ end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not (Duel.GetLocationCount(tp,LOCATION_MZONE)>0 or c:IsCanBeSpecialSummoned(e,0,tp,false,false)) then return end if not (Duel.GetLocationCount(tp,LOCATION_MZONE)>0 or c:IsCanBeSpecialSummoned(e,0,tp,false,false)) then return end
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
and Duel.GetFlagEffect(tp,id)==0 then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_END) e1:SetCode(EVENT_PHASE+PHASE_END)
...@@ -153,6 +152,7 @@ function s.rmfilter(c) ...@@ -153,6 +152,7 @@ function s.rmfilter(c)
return c:IsAbleToRemove() and c:IsFacedown() return c:IsAbleToRemove() and c:IsFacedown()
end end
function s.tgop(e,tp,eg,ep,ev,re,r,rp) function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFlagEffect(tp,id)==0 then
Duel.Hint(HINT_CARD,0,id) Duel.Hint(HINT_CARD,0,id)
local g=Duel.GetMatchingGroup(s.rmfilter,tp,LOCATION_EXTRA,0,nil) local g=Duel.GetMatchingGroup(s.rmfilter,tp,LOCATION_EXTRA,0,nil)
local ct=math.min(#g,4) local ct=math.min(#g,4)
...@@ -160,4 +160,6 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -160,4 +160,6 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
local sg=g:RandomSelect(tp,ct) local sg=g:RandomSelect(tp,ct)
Duel.Remove(sg,POS_FACEDOWN,REASON_EFFECT) Duel.Remove(sg,POS_FACEDOWN,REASON_EFFECT)
end end
end
e:Reset()
end end
\ No newline at end of file
...@@ -51,7 +51,7 @@ function s.tktg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -51,7 +51,7 @@ function s.tktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_TOEXTRA,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOEXTRA,e:GetHandler(),1,0,0)
end end
function s.tktg(e,tp,eg,ep,ev,re,r,rp) function s.tkop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsExtraDeckMonster() then if c:IsRelateToEffect(e) and c:IsExtraDeckMonster() then
Duel.SendtoDeck(c,nil,SEQ_DECKTOP,REASON_EFFECT) Duel.SendtoDeck(c,nil,SEQ_DECKTOP,REASON_EFFECT)
......
...@@ -23,7 +23,7 @@ function s.searchcard(c) ...@@ -23,7 +23,7 @@ function s.searchcard(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function s.searchfilter(c) function s.searchfilter(c)
return c:IsSetCard(0x5527) and c:IsAbleToHand() return c:IsRace(RACE_ROCK) and c:IsLevel(1) and c:IsAbleToHand()
end end
function s.seatg(e,tp,eg,ep,ev,re,r,rp,chk) function s.seatg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
...@@ -31,7 +31,7 @@ function s.seatg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -31,7 +31,7 @@ function s.seatg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.seaop(e,tp,eg,ep,ev,re,r,rp) function s.seaop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFlagEffect(tp,id)==0 then return end if Duel.GetFlagEffect(tp,id)==0 then return end
local p=e:GetOwner() local p=e:GetHandler():GetOwner()
Duel.Hint(HINT_SELECTMSG,p,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,p,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(p,s.searchfilter,p,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(p,s.searchfilter,p,LOCATION_DECK,0,1,1,nil)
if #g>0 then if #g>0 then
...@@ -79,7 +79,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -79,7 +79,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 and Duel.Destroy(dg,REASON_EFFECT)~=0 and #sg>0 then if g:GetCount()>0 and Duel.Destroy(dg,REASON_EFFECT)~=0 and #sg>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sc=sg:Select(tp,1,1,nil):GetFirst() local sc=sg:Select(tp,1,1,nil):GetFirst()
if sc and Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)~=0 then if sc and Duel.SpecialSummon(sc,0,tp,1-tp,false,false,POS_FACEUP)~=0 then
-- --
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
......
--时光酒桌 嘉月 -- 时光酒桌 嘉月
local m=60002009 local m=60002009
local cm=_G["c"..m] local cm=_G["c"..m]
timeTable=timeTable or {} timeTable=timeTable or {}
--set self -- set self
function timeTable.set(c,code,extra) function timeTable.set(c,code,extra)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
...@@ -33,7 +33,7 @@ function timeTable.settg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -33,7 +33,7 @@ function timeTable.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
end end
function timeTable.getCounter(c) function timeTable.getCounter(c)
--get counter type -- get counter type
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
...@@ -41,7 +41,7 @@ function timeTable.getCounter(c) ...@@ -41,7 +41,7 @@ function timeTable.getCounter(c)
e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET) e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET)
e1:SetValue(TYPE_TRAP+TYPE_COUNTER) e1:SetValue(TYPE_TRAP+TYPE_COUNTER)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--get effect by counter -- get effect by counter
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_QUICK_O+EFFECT_TYPE_ACTIVATE) e2:SetType(EFFECT_TYPE_QUICK_O+EFFECT_TYPE_ACTIVATE)
...@@ -53,7 +53,7 @@ function timeTable.getCounter(c) ...@@ -53,7 +53,7 @@ function timeTable.getCounter(c)
e2:SetOperation(timeTable.counterEffectOperation) e2:SetOperation(timeTable.counterEffectOperation)
e2:SetReset(RESET_EVENT+RESETS_STANDARD) e2:SetReset(RESET_EVENT+RESETS_STANDARD)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--cant use counter effect to turn end -- cant use counter effect to turn end
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_CANNOT_TRIGGER) e3:SetCode(EFFECT_CANNOT_TRIGGER)
...@@ -132,16 +132,16 @@ function timeTable.immue(c) ...@@ -132,16 +132,16 @@ function timeTable.immue(c)
end end
function timeTable.counterEffectOperation(e,tp,eg,ep,ev,re,r,rp) function timeTable.counterEffectOperation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
--spsum -- spsum
if c:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then if c:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
--immue -- immue
timeTable.immue(c) timeTable.immue(c)
--remove -- remove
local g=Duel.SelectMatchingCard(tp,timeTable.removeFilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,timeTable.removeFilter,tp,LOCATION_DECK,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_EFFECT) Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
end end
end end
--spsummon -- spsummon
function timeTable.spsummon(c,code,extra3,extra5) function timeTable.spsummon(c,code,extra3,extra5)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
...@@ -229,7 +229,7 @@ function timeTable.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -229,7 +229,7 @@ function timeTable.checkop(e,tp,eg,ep,ev,re,r,rp)
local p=re:GetHandlerPlayer() local p=re:GetHandlerPlayer()
Duel.RegisterFlagEffect(p,m,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(p,m,RESET_PHASE+PHASE_END,0,1)
end end
--spell2 -- spell2
function timeTable.spell(c,extra3,extra5) function timeTable.spell(c,extra3,extra5)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(60002021,2)) e1:SetDescription(aux.Stringid(60002021,2))
...@@ -277,13 +277,13 @@ function timeTable.SpellOperation(extra3,extra5) ...@@ -277,13 +277,13 @@ function timeTable.SpellOperation(extra3,extra5)
end end
end end
if not cm then return end if not cm then return end
--------------------------------------- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
function cm.initial_effect(c) function cm.initial_effect(c)
local e1=timeTable.set(c,m,cm.extraMove) local e1=timeTable.set(c,m,cm.extraMove)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.setf(c) function cm.setf(c)
return c:IsCode(60002024) and not c:IsForbidden() return c:IsCode(60002024) and not c:IsForbidden()
end end
...@@ -297,7 +297,7 @@ function cm.extraMove(e,tp) ...@@ -297,7 +297,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,3)) e1:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 花月 -- 时光酒桌 花月
local m=60002010 local m=60002010
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.stfil(c) function cm.stfil(c)
return not c:IsCode(60002010) and c:IsSetCard(0x3629) and c:IsType(TYPE_MONSTER) and not c:IsForbidden() return not c:IsCode(60002010) and c:IsSetCard(0x3629) and c:IsType(TYPE_MONSTER) and not c:IsForbidden()
end end
...@@ -24,7 +24,7 @@ function cm.extraMove(e,tp) ...@@ -24,7 +24,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(ssg,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(ssg,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,3)) e1:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 辰月 -- 时光酒桌 辰月
local m=60002011 local m=60002011
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.extraMove(e,tp) function cm.extraMove(e,tp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.SelectYesNo(tp,aux.Stringid(m,0)) then if Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
...@@ -16,7 +16,7 @@ function cm.extraMove(e,tp) ...@@ -16,7 +16,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,3)) e1:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 乾月 -- 时光酒桌 乾月
local m=60002012 local m=60002012
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.rmfil(c) function cm.rmfil(c)
return c:IsSetCard(0x3629) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemove() return c:IsSetCard(0x3629) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemove()
end end
...@@ -20,7 +20,7 @@ function cm.extraMove(e,tp) ...@@ -20,7 +20,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,3)) e1:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 幕月 -- 时光酒桌 幕月
local m=60002013 local m=60002013
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.stfil(c) function cm.stfil(c)
return c:IsFaceup() and c:IsCanChangePosition() return c:IsFaceup() and c:IsCanChangePosition()
end end
...@@ -20,7 +20,7 @@ function cm.extraMove(e,tp) ...@@ -20,7 +20,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,3)) e2:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 荷月 -- 时光酒桌 荷月
local m=60002014 local m=60002014
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.cpfil(c) function cm.cpfil(c)
return c:IsAttackPos() and c:IsCanChangePosition() return c:IsAttackPos() and c:IsCanChangePosition()
end end
...@@ -20,7 +20,7 @@ function cm.extraMove(e,tp) ...@@ -20,7 +20,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,3)) e2:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 相月 -- 时光酒桌 相月
local m=60002015 local m=60002015
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.thfil(c) function cm.thfil(c)
return c:IsSetCard(0x3629) and not c:IsCode(m) and c:IsAbleToHand() return c:IsSetCard(0x3629) and not c:IsCode(m) and c:IsAbleToHand()
end end
...@@ -21,7 +21,7 @@ function cm.extraMove(e,tp) ...@@ -21,7 +21,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,3)) e1:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 桂月 -- 时光酒桌 桂月
local m=60002016 local m=60002016
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.tgtfil(c) function cm.tgtfil(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x3629) return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x3629)
end end
...@@ -23,7 +23,7 @@ function cm.extraMove(e,tp) ...@@ -23,7 +23,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,3)) e1:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 菊月 -- 时光酒桌 菊月
local m=60002017 local m=60002017
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.thfil(c) function cm.thfil(c)
return c:IsType(TYPE_SPELL) and c:IsSetCard(0x3629) return c:IsType(TYPE_SPELL) and c:IsSetCard(0x3629)
end end
...@@ -21,7 +21,7 @@ function cm.extraMove(e,tp) ...@@ -21,7 +21,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,3)) e1:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 坤月 -- 时光酒桌 坤月
local m=60002018 local m=60002018
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5) local e2=timeTable.spsummon(c,m,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.thfil(c) function cm.thfil(c)
return c:IsType(TYPE_SPELL) and c:IsSetCard(0x3629) return c:IsType(TYPE_SPELL) and c:IsSetCard(0x3629)
end end
...@@ -31,7 +31,7 @@ function cm.extraMove(e,tp) ...@@ -31,7 +31,7 @@ function cm.extraMove(e,tp)
end end
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
--e2 -- e2
function cm.extra3(c) function cm.extra3(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,3)) e1:SetDescription(aux.Stringid(m,3))
......
--时光酒桌 意识 -- 时光酒桌 意识
local m=60002021 local m=60002021
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -16,7 +16,7 @@ function cm.initial_effect(c) ...@@ -16,7 +16,7 @@ function cm.initial_effect(c)
timeTable.spell(c,cm.extra3,cm.extra5) timeTable.spell(c,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.chlimit(e,ep,tp) function cm.chlimit(e,ep,tp)
return tp==ep return tp==ep
end end
...@@ -67,7 +67,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,7 +67,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
Duel.SSet(tp,sc) Duel.SSet(tp,sc)
end end
end end
--e2 -- e2
function cm.extra3(e,tp) function cm.extra3(e,tp)
local g=Duel.GetMatchingGroup(cm.setfilter,tp,LOCATION_HAND,0,nil) local g=Duel.GetMatchingGroup(cm.setfilter,tp,LOCATION_HAND,0,nil)
local ct=math.min(Duel.GetLocationCount(tp,LOCATION_SZONE),g:GetCount()) local ct=math.min(Duel.GetLocationCount(tp,LOCATION_SZONE),g:GetCount())
......
--时光酒桌 年华 -- 时光酒桌 年华
local m=60002022 local m=60002022
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -15,7 +15,7 @@ function cm.initial_effect(c) ...@@ -15,7 +15,7 @@ function cm.initial_effect(c)
timeTable.spell(c,cm.extra3,cm.extra5) timeTable.spell(c,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.actg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.actg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>=10 end if chk==0 then return Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>=10 end
if Duel.GetMatchingGroup(Card.IsFacedown,tp,LOCATION_ONFIELD,0,nil):GetCount()>=3 then if Duel.GetMatchingGroup(Card.IsFacedown,tp,LOCATION_ONFIELD,0,nil):GetCount()>=3 then
...@@ -39,7 +39,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,7 +39,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)<10 then return end if Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)<10 then return end
Duel.ConfirmDecktop(tp,10) Duel.ConfirmDecktop(tp,10)
local g=Duel.GetDecktopGroup(tp,10) local g=Duel.GetDecktopGroup(tp,10)
local count=g:FilterCount(cm.ckfil,nil)--counter and 0x3629 local count=g:FilterCount(cm.ckfil,nil)-- counter and 0x3629
local cg=Group.CreateGroup() local cg=Group.CreateGroup()
if count>=0 and g:FilterCount(cm.thfil1,nil)>0 then if count>=0 and g:FilterCount(cm.thfil1,nil)>0 then
local tc=g:FilterSelect(tp,cm.thfil1,1,1,nil):GetFirst() local tc=g:FilterSelect(tp,cm.thfil1,1,1,nil):GetFirst()
...@@ -67,7 +67,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,7 +67,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,g3) Duel.ConfirmCards(1-tp,g3)
end end
end end
--e2 -- e2
function cm.setf(c) function cm.setf(c)
return c:IsSSetable() and c:IsSetCard(0x3629) and c:IsType(TYPE_MONSTER) return c:IsSSetable() and c:IsSetCard(0x3629) and c:IsType(TYPE_MONSTER)
end end
......
--时光酒桌 刹那 -- 时光酒桌 刹那
local m=60002023 local m=60002023
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -16,7 +16,7 @@ function cm.initial_effect(c) ...@@ -16,7 +16,7 @@ function cm.initial_effect(c)
timeTable.spell(c,cm.extra3,cm.extra5) timeTable.spell(c,cm.extra3,cm.extra5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.accost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.accost(e,tp,eg,ep,ev,re,r,rp,chk)
local rc=Duel.GetMatchingGroupCount(Card.IsAbleToRemoveAsCost,tp,LOCATION_HAND+LOCATION_GRAVE,0,nil) local rc=Duel.GetMatchingGroupCount(Card.IsAbleToRemoveAsCost,tp,LOCATION_HAND+LOCATION_GRAVE,0,nil)
local rh=Duel.GetMatchingGroupCount(Card.IsAbleToHand,tp,0,LOCATION_ONFIELD,nil) local rh=Duel.GetMatchingGroupCount(Card.IsAbleToHand,tp,0,LOCATION_ONFIELD,nil)
...@@ -82,7 +82,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,7 +82,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
--e2 -- e2
function cm.thfil(c) function cm.thfil(c)
return c:IsAbleToHand() and (c:IsType(TYPE_TRAP) and c:IsType(TYPE_COUNTER)) return c:IsAbleToHand() and (c:IsType(TYPE_TRAP) and c:IsType(TYPE_COUNTER))
end end
......
--时光酒桌 门扉 -- 时光酒桌 门扉
local m=60002024 local m=60002024
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c60002009.lua") Duel.LoadScript("c60002009.lua")
...@@ -40,7 +40,7 @@ function cm.initial_effect(c) ...@@ -40,7 +40,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
timeTable.globle(c) timeTable.globle(c)
end end
--e1 -- e1
function cm.setfilter(c) function cm.setfilter(c)
return c:IsSetCard(0x3629) and c:IsType(TYPE_MONSTER) return c:IsSetCard(0x3629) and c:IsType(TYPE_MONSTER)
end end
...@@ -77,7 +77,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,7 +77,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
Duel.RaiseEvent(sg,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(sg,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end end
end end
--e2,3,4 -- e2,3,4
function cm.condition3(e,tp,eg,ep,ev,re,r,rp) function cm.condition3(e,tp,eg,ep,ev,re,r,rp)
local x=Duel.GetFlagEffect(tp,60002009) local x=Duel.GetFlagEffect(tp,60002009)
return x>=2 return x>=2
......
...@@ -29,7 +29,7 @@ function c65810070.filter(c) ...@@ -29,7 +29,7 @@ function c65810070.filter(c)
return c:IsSetCard(0xa31) and c:IsType(TYPE_MONSTER) and c:IsAbleToGraveAsCost() return c:IsSetCard(0xa31) and c:IsType(TYPE_MONSTER) and c:IsAbleToGraveAsCost()
end end
function c65810070.filter1(c,e,tp) function c65810070.filter1(c,e,tp)
return c:IsCode(65810055) return c:IsCode(65810055) and c:IsCanBeSpecialSummoned(e,0,tp,true,true)
end end
function c65810070.cost1(e,tp,eg,ep,ev,re,r,rp,chk) function c65810070.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65810070.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c65810070.filter,tp,LOCATION_DECK,0,1,nil) end
...@@ -38,7 +38,7 @@ function c65810070.cost1(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -38,7 +38,7 @@ function c65810070.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(g,REASON_COST) Duel.SendtoGrave(g,REASON_COST)
end end
function c65810070.target1(e,tp,eg,ep,ev,re,r,rp,chk) function c65810070.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65810070.filter1,tp,LOCATION_DECK+LOCATION_HAND,0,1,nil,e,tp) end if chk==0 then return Duel.IsExistingMatchingCard(c65810070.filter1,tp,LOCATION_DECK+LOCATION_HAND,0,1,nil,e,tp) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK+LOCATION_HAND) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK+LOCATION_HAND)
end end
function c65810070.activate1(e,tp,eg,ep,ev,re,r,rp) function c65810070.activate1(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -29,7 +29,7 @@ function c75646616.thfilter(c) ...@@ -29,7 +29,7 @@ function c75646616.thfilter(c)
return c:IsCode(75646600) and c:IsAbleToHand() return c:IsCode(75646600) and c:IsAbleToHand()
end end
function c75646616.target(e,tp,eg,ep,ev,re,r,rp,chk) function c75646616.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c75646616.tgfilter,tp,LOCATION_DECK,0,1,nil) and Duel.IsExistingMatchingCard(c75646616.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c75646616.tgfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE)
end end
...@@ -37,7 +37,7 @@ function c75646616.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -37,7 +37,7 @@ function c75646616.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,c75646616.tgfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c75646616.tgfilter,tp,LOCATION_DECK,0,1,1,nil)
local sg=Duel.GetMatchingGroup(c75646616.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,nil) local sg=Duel.GetMatchingGroup(c75646616.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,nil)
if g:GetCount()>0 and Duel.SendtoGrave(g,REASON_EFFECT)>0 and Duel.SelectYesNo(tp,aux.Stringid(75646616,3)) then if g:GetCount()>0 and Duel.SendtoGrave(g,REASON_EFFECT)>0 and sg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(75646616,3)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g1=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c75646616.thfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil) local g1=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c75646616.thfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
......
--湖畔的温柔乡 -- 湖畔的温柔乡
local m=81010036 local m=81010036
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua") Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c) function cm.initial_effect(c)
--activate -- activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND) e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
...@@ -11,7 +11,7 @@ function cm.initial_effect(c) ...@@ -11,7 +11,7 @@ function cm.initial_effect(c)
e1:SetCountLimit(1,m+EFFECT_COUNT_CODE_OATH) e1:SetCountLimit(1,m+EFFECT_COUNT_CODE_OATH)
e1:SetOperation(cm.activate) e1:SetOperation(cm.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--gain atk -- gain atk
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK) e2:SetCode(EFFECT_UPDATE_ATTACK)
...@@ -20,7 +20,7 @@ function cm.initial_effect(c) ...@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e2:SetTarget(cm.atktg) e2:SetTarget(cm.atktg)
e2:SetValue(2000) e2:SetValue(2000)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--destroy -- destroy
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_DRAW) e3:SetCategory(CATEGORY_DRAW)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
......
...@@ -6,7 +6,7 @@ function cm.initial_effect(c) ...@@ -6,7 +6,7 @@ function cm.initial_effect(c)
--fusion procedure --fusion procedure
aux.AddMaterialCodeList(c,81086007) aux.AddMaterialCodeList(c,81086007)
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddFusionProcMix(c,true,true,81086007,cm.matfilter1,cm.matfilter2) aux.AddFusionProcMix(c,true,true,81086007,cm.matfilter1,cm.matfilter2,nil)
--spsummon condition --spsummon condition
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
......
--军势的朝比奈千夜 -- 军势的朝比奈千夜
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -25,7 +25,8 @@ function c88178103.initial_effect(c) ...@@ -25,7 +25,8 @@ function c88178103.initial_effect(c)
e4:SetDescription(aux.Stringid(88178103,0)) e4:SetDescription(aux.Stringid(88178103,0))
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_DESTROYED) e4:SetCode(EVENT_DESTROYED)
e4:SetCountLimit(1,98178103) e4:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e4:SetCountLimit(1,88178103)
e4:SetCost(c88178103.thcost) e4:SetCost(c88178103.thcost)
e4:SetCondition(c88178103.retcon) e4:SetCondition(c88178103.retcon)
e4:SetTarget(c88178103.rettg) e4:SetTarget(c88178103.rettg)
......
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