Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
de3a285d
Commit
de3a285d
authored
Aug 20, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
b3479492
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
168 additions
and
168 deletions
+168
-168
expansions/script/c1000373.lua
expansions/script/c1000373.lua
+4
-4
expansions/script/c1090008.lua
expansions/script/c1090008.lua
+2
-2
expansions/script/c1090009.lua
expansions/script/c1090009.lua
+2
-2
expansions/script/c1090010.lua
expansions/script/c1090010.lua
+2
-2
expansions/script/c1141202.lua
expansions/script/c1141202.lua
+8
-8
expansions/script/c31300041.lua
expansions/script/c31300041.lua
+3
-3
expansions/script/c31300043.lua
expansions/script/c31300043.lua
+3
-3
expansions/script/c31300046.lua
expansions/script/c31300046.lua
+4
-4
expansions/script/c31300051.lua
expansions/script/c31300051.lua
+5
-5
expansions/script/c60002009.lua
expansions/script/c60002009.lua
+13
-13
expansions/script/c60002010.lua
expansions/script/c60002010.lua
+3
-3
expansions/script/c60002011.lua
expansions/script/c60002011.lua
+3
-3
expansions/script/c60002012.lua
expansions/script/c60002012.lua
+3
-3
expansions/script/c60002013.lua
expansions/script/c60002013.lua
+3
-3
expansions/script/c60002014.lua
expansions/script/c60002014.lua
+3
-3
expansions/script/c60002015.lua
expansions/script/c60002015.lua
+3
-3
expansions/script/c60002016.lua
expansions/script/c60002016.lua
+4
-4
expansions/script/c60002017.lua
expansions/script/c60002017.lua
+6
-6
expansions/script/c60002018.lua
expansions/script/c60002018.lua
+5
-5
expansions/script/c60002021.lua
expansions/script/c60002021.lua
+3
-3
expansions/script/c60002022.lua
expansions/script/c60002022.lua
+4
-4
expansions/script/c60002023.lua
expansions/script/c60002023.lua
+3
-3
expansions/script/c60002024.lua
expansions/script/c60002024.lua
+3
-3
expansions/script/c60010145.lua
expansions/script/c60010145.lua
+5
-5
expansions/script/c60010147.lua
expansions/script/c60010147.lua
+5
-5
expansions/script/c60010148.lua
expansions/script/c60010148.lua
+3
-3
expansions/script/c60010149.lua
expansions/script/c60010149.lua
+5
-5
expansions/script/c60010151.lua
expansions/script/c60010151.lua
+5
-5
expansions/script/c60010153.lua
expansions/script/c60010153.lua
+5
-5
expansions/script/c60010155.lua
expansions/script/c60010155.lua
+5
-5
expansions/script/c60010157.lua
expansions/script/c60010157.lua
+5
-5
expansions/script/c60010159.lua
expansions/script/c60010159.lua
+5
-5
expansions/script/c60010161.lua
expansions/script/c60010161.lua
+5
-5
expansions/script/c60010163.lua
expansions/script/c60010163.lua
+5
-5
expansions/script/c60010165.lua
expansions/script/c60010165.lua
+5
-5
expansions/script/c65810070.lua
expansions/script/c65810070.lua
+3
-3
expansions/script/c75646616.lua
expansions/script/c75646616.lua
+3
-3
expansions/script/c81010036.lua
expansions/script/c81010036.lua
+4
-4
expansions/script/c81086031.lua
expansions/script/c81086031.lua
+6
-6
expansions/script/c88123018.lua
expansions/script/c88123018.lua
+1
-1
expansions/script/c88178103.lua
expansions/script/c88178103.lua
+1
-1
No files found.
expansions/script/c1000373.lua
View file @
de3a285d
-- 倾·物语
--
倾·物语
function
c1000373
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
1000373
)
-- Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -9,7 +9,7 @@ function c1000373.initial_effect(c)
e1
:
SetTarget
(
c1000373
.
target1
)
e1
:
SetOperation
(
c1000373
.
operation
)
c
:
RegisterEffect
(
e1
)
-- remove
--
remove
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
1000373
,
1
))
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
@@ -22,7 +22,7 @@ function c1000373.initial_effect(c)
e2
:
SetTarget
(
c1000373
.
target2
)
e2
:
SetOperation
(
c1000373
.
operation
)
c
:
RegisterEffect
(
e2
)
-- race
--
race
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_SZONE
)
...
...
expansions/script/c1090008.lua
View file @
de3a285d
-- 紫雨岛的秋意渐浓
--
紫雨岛的秋意渐浓
local
m
=
1090008
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
1090000
)
-- Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
+
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
expansions/script/c1090009.lua
View file @
de3a285d
-- 紫雨岛的写意画作
--
紫雨岛的写意画作
local
m
=
1090009
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
1090000
)
-- negate
--
negate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
expansions/script/c1090010.lua
View file @
de3a285d
-- 紫雨岛的温柔以待
--
紫雨岛的温柔以待
local
m
=
1090010
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
1090000
)
-- Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DISABLE_SUMMON
+
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
expansions/script/c1141202.lua
View file @
de3a285d
-- 惊雨『台风骤雨』
--
惊雨『台风骤雨』
local
m
=
1141202
local
cm
=
_G
[
"c"
..
m
]
--
--
function
c1141202
.
initial_effect
(
c
)
--
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_HANDES
+
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -12,7 +12,7 @@ function c1141202.initial_effect(c)
e1
:
SetTarget
(
c1141202
.
tg1
)
e1
:
SetOperation
(
c1141202
.
op1
)
c
:
RegisterEffect
(
e1
)
--
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TODECK
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
@@ -22,9 +22,9 @@ function c1141202.initial_effect(c)
e2
:
SetTarget
(
c1141202
.
tg2
)
e2
:
SetOperation
(
c1141202
.
op2
)
c
:
RegisterEffect
(
e2
)
--
--
end
--
--
function
c1141202
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
...
...
@@ -45,7 +45,7 @@ function c1141202.op1(e,tp,eg,ep,ev,re,r,rp)
end
end
end
--
--
function
c1141202
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
bit
.
band
(
r
,
0x4040
)
~=
0
and
c
:
IsPreviousLocation
(
LOCATION_HAND
)
...
...
@@ -64,4 +64,4 @@ function c1141202.op2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
end
end
--
\ No newline at end of file
--
\ No newline at end of file
expansions/script/c31300041.lua
View file @
de3a285d
--全都Lost掉了
--
全都Lost掉了
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -12,7 +12,7 @@ end
function
s
.
atkupp
(
c
)
--atk up
--
atk up
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
expansions/script/c31300043.lua
View file @
de3a285d
--魔女 Bijou
--
魔女 Bijou
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
if
not
s
.
global_check
then
...
...
@@ -21,7 +21,7 @@ function s.chk(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
fusioneff
(
c
)
--destroy
--
destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
1169
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_TOGRAVE
)
...
...
@@ -119,7 +119,7 @@ end
function
s
.
specialsum
(
c
)
--special summon
--
special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
2
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c31300046.lua
View file @
de3a285d
--感情结晶体
--
感情结晶体
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--fusion material
--
fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_ROCK
),
2
,
127
,
true
)
--spsummon success
--
spsummon success
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
@@ -37,7 +37,7 @@ end
function
s
.
toextra
(
c
)
--token
--
token
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
9047460
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
...
...
expansions/script/c31300051.lua
View file @
de3a285d
--魔人 Bijou
--
魔人 Bijou
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
s
.
specialsum
(
c
)
...
...
@@ -7,7 +7,7 @@ end
function
s
.
searchcard
(
c
)
--to hand
--
to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
1109
)
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
...
...
@@ -42,7 +42,7 @@ end
function
s
.
specialsum
(
c
)
--special summon
--
special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
1109
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -80,12 +80,12 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sc
=
sg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
sc
and
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
--
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
--e2:SetCountLimit(1)
--
e2:SetCountLimit(1)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetTarget
(
s
.
target
)
e2
:
SetOperation
(
s
.
operation
)
...
...
expansions/script/c60002009.lua
View file @
de3a285d
-- 时光酒桌 嘉月
--
时光酒桌 嘉月
local
m
=
60002009
local
cm
=
_G
[
"c"
..
m
]
timeTable
=
timeTable
or
{}
-- set self
--
set self
function
timeTable
.
set
(
c
,
code
,
extra
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
@@ -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
end
function
timeTable
.
getCounter
(
c
)
-- get counter type
--
get counter type
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -41,7 +41,7 @@ function timeTable.getCounter(c)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
e1
:
SetValue
(
TYPE_TRAP
+
TYPE_COUNTER
)
c
:
RegisterEffect
(
e1
)
-- get effect by counter
--
get effect by counter
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
+
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -53,7 +53,7 @@ function timeTable.getCounter(c)
e2
:
SetOperation
(
timeTable
.
counterEffectOperation
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
-- cant use counter effect to turn end
--
cant use counter effect to turn end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
...
...
@@ -132,16 +132,16 @@ function timeTable.immue(c)
end
function
timeTable
.
counterEffectOperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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
-- immue
--
immue
timeTable
.
immue
(
c
)
-- remove
--
remove
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
timeTable
.
removeFilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
-- spsummon
--
spsummon
function
timeTable
.
spsummon
(
c
,
code
,
extra3
,
extra5
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -229,7 +229,7 @@ function timeTable.checkop(e,tp,eg,ep,ev,re,r,rp)
local
p
=
re
:
GetHandlerPlayer
()
Duel
.
RegisterFlagEffect
(
p
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
-- spell2
--
spell2
function
timeTable
.
spell
(
c
,
extra3
,
extra5
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
60002021
,
2
))
...
...
@@ -277,13 +277,13 @@ function timeTable.SpellOperation(extra3,extra5)
end
end
if
not
cm
then
return
end
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-
function
cm
.
initial_effect
(
c
)
local
e1
=
timeTable
.
set
(
c
,
m
,
cm
.
extraMove
)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
setf
(
c
)
return
c
:
IsCode
(
60002024
)
and
not
c
:
IsForbidden
()
end
...
...
@@ -297,7 +297,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
expansions/script/c60002010.lua
View file @
de3a285d
-- 时光酒桌 花月
--
时光酒桌 花月
local
m
=
60002010
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
stfil
(
c
)
return
not
c
:
IsCode
(
60002010
)
and
c
:
IsSetCard
(
0x3629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
...
...
@@ -24,7 +24,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
ssg
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
expansions/script/c60002011.lua
View file @
de3a285d
-- 时光酒桌 辰月
--
时光酒桌 辰月
local
m
=
60002011
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
extraMove
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
...
...
@@ -16,7 +16,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
expansions/script/c60002012.lua
View file @
de3a285d
-- 时光酒桌 乾月
--
时光酒桌 乾月
local
m
=
60002012
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
rmfil
(
c
)
return
c
:
IsSetCard
(
0x3629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
...
...
@@ -20,7 +20,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
expansions/script/c60002013.lua
View file @
de3a285d
-- 时光酒桌 幕月
--
时光酒桌 幕月
local
m
=
60002013
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
stfil
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
()
end
...
...
@@ -20,7 +20,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
expansions/script/c60002014.lua
View file @
de3a285d
-- 时光酒桌 荷月
--
时光酒桌 荷月
local
m
=
60002014
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
cpfil
(
c
)
return
c
:
IsAttackPos
()
and
c
:
IsCanChangePosition
()
end
...
...
@@ -20,7 +20,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
expansions/script/c60002015.lua
View file @
de3a285d
-- 时光酒桌 相月
--
时光酒桌 相月
local
m
=
60002015
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
thfil
(
c
)
return
c
:
IsSetCard
(
0x3629
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
end
...
...
@@ -21,7 +21,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
expansions/script/c60002016.lua
View file @
de3a285d
-- 时光酒桌 桂月
--
时光酒桌 桂月
local
m
=
60002016
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
tgtfil
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x3629
)
end
...
...
@@ -23,7 +23,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
@@ -80,7 +80,7 @@ function cm.gop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
cm
.
gxgop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
--
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
expansions/script/c60002017.lua
View file @
de3a285d
-- 时光酒桌 菊月
--
时光酒桌 菊月
local
m
=
60002017
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
thfil
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x3629
)
end
...
...
@@ -21,7 +21,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
@@ -58,7 +58,7 @@ function cm.addop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
<=
0
then
return
end
local
tc
=
g
:
GetFirst
()
while
tc
do
--
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
...
...
@@ -85,7 +85,7 @@ function cm.gtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
gop
(
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
:
SetCode
(
EVENT_CHAINING
)
...
...
@@ -93,7 +93,7 @@ function cm.gop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
cm
.
gxgop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
--
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
expansions/script/c60002018.lua
View file @
de3a285d
-- 时光酒桌 坤月
--
时光酒桌 坤月
local
m
=
60002018
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
local
e2
=
timeTable
.
spsummon
(
c
,
m
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
thfil
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x3629
)
end
...
...
@@ -31,7 +31,7 @@ function cm.extraMove(e,tp)
end
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
-- e2
--
e2
function
cm
.
extra3
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
@@ -87,7 +87,7 @@ function cm.gcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
gop
(
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
:
SetCode
(
EVENT_CHAINING
)
...
...
@@ -95,7 +95,7 @@ function cm.gop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
cm
.
gxgop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
--
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
expansions/script/c60002021.lua
View file @
de3a285d
-- 时光酒桌 意识
--
时光酒桌 意识
local
m
=
60002021
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -16,7 +16,7 @@ function cm.initial_effect(c)
timeTable
.
spell
(
c
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
chlimit
(
e
,
ep
,
tp
)
return
tp
==
ep
end
...
...
@@ -67,7 +67,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SSet
(
tp
,
sc
)
end
end
-- e2
--
e2
function
cm
.
extra3
(
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
setfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
ct
=
math.min
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
),
g
:
GetCount
())
...
...
expansions/script/c60002022.lua
View file @
de3a285d
-- 时光酒桌 年华
--
时光酒桌 年华
local
m
=
60002022
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
timeTable
.
spell
(
c
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
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
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)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
10
then
return
end
Duel
.
ConfirmDecktop
(
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
()
if
count
>=
0
and
g
:
FilterCount
(
cm
.
thfil1
,
nil
)
>
0
then
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)
Duel
.
ConfirmCards
(
1
-
tp
,
g3
)
end
end
-- e2
--
e2
function
cm
.
setf
(
c
)
return
c
:
IsSSetable
()
and
c
:
IsSetCard
(
0x3629
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
...
...
expansions/script/c60002023.lua
View file @
de3a285d
-- 时光酒桌 刹那
--
时光酒桌 刹那
local
m
=
60002023
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -16,7 +16,7 @@ function cm.initial_effect(c)
timeTable
.
spell
(
c
,
cm
.
extra3
,
cm
.
extra5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
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
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)
end
end
end
-- e2
--
e2
function
cm
.
thfil
(
c
)
return
c
:
IsAbleToHand
()
and
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
))
end
...
...
expansions/script/c60002024.lua
View file @
de3a285d
-- 时光酒桌 门扉
--
时光酒桌 门扉
local
m
=
60002024
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c60002009.lua"
)
...
...
@@ -40,7 +40,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e5
)
timeTable
.
globle
(
c
)
end
-- e1
--
e1
function
cm
.
setfilter
(
c
)
return
c
:
IsSetCard
(
0x3629
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
...
...
@@ -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
)
end
end
-- e2,3,4
--
e2,3,4
function
cm
.
condition3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
x
=
Duel
.
GetFlagEffect
(
tp
,
60002009
)
return
x
>=
2
...
...
expansions/script/c60010145.lua
View file @
de3a285d
--晚安与睡颜
--
晚安与睡颜
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010147.lua
View file @
de3a285d
--制胜的瞬间
--
制胜的瞬间
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010148.lua
View file @
de3a285d
--布洛妮娅-存护之志-
--
布洛妮娅-存护之志-
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
c
:
SetUniqueOnField
(
1
,
0
,
m
)
--defense attack
--
defense attack
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DEFENSE_ATTACK
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
--special summon
--
special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c60010149.lua
View file @
de3a285d
--但战斗还未结束
--
但战斗还未结束
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010151.lua
View file @
de3a285d
--于夜色中
--
于夜色中
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010153.lua
View file @
de3a285d
--别让世界静下来
--
别让世界静下来
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010155.lua
View file @
de3a285d
--无可取代的东西
--
无可取代的东西
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010157.lua
View file @
de3a285d
--鼹鼠党欢迎你
--
鼹鼠党欢迎你
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010159.lua
View file @
de3a285d
--暖夜不会漫长
--
暖夜不会漫长
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010161.lua
View file @
de3a285d
--一场术后对话
--
一场术后对话
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010163.lua
View file @
de3a285d
--决心如汗珠般闪耀
--
决心如汗珠般闪耀
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010165.lua
View file @
de3a285d
--猎物的视线
--
猎物的视线
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_COUNTER
)
...
...
expansions/script/c65810070.lua
View file @
de3a285d
--盛夏回忆·飞舞
--
盛夏回忆·飞舞
function
c65810070
.
initial_effect
(
c
)
--仪式召唤
--
仪式召唤
aux
.
AddCodeList
(
c
,
65810055
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
)
...
...
@@ -11,7 +11,7 @@ function c65810070.initial_effect(c)
e1
:
SetTarget
(
c65810070
.
target1
)
e1
:
SetOperation
(
c65810070
.
activate1
)
c
:
RegisterEffect
(
e1
)
--回收
--
回收
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_GRAVE_ACTION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
expansions/script/c75646616.lua
View file @
de3a285d
--科学的原点 SCIENCE
--
科学的原点 SCIENCE
function
c75646616
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
75646600
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
75646616
,
0
))
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_RECOVER
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -11,7 +11,7 @@ function c75646616.initial_effect(c)
e1
:
SetTarget
(
c75646616
.
target
)
e1
:
SetOperation
(
c75646616
.
activate
)
c
:
RegisterEffect
(
e1
)
--Recover
--
Recover
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
expansions/script/c81010036.lua
View file @
de3a285d
-- 湖畔的温柔乡
--
湖畔的温柔乡
local
m
=
81010036
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
-- activate
--
activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -11,7 +11,7 @@ function cm.initial_effect(c)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
-- gain atk
--
gain atk
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
atktg
)
e2
:
SetValue
(
2000
)
c
:
RegisterEffect
(
e2
)
-- destroy
--
destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_DRAW
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c81086031.lua
View file @
de3a285d
--夜色之下·便利屋68
--
夜色之下·便利屋68
local
m
=
81086031
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
--fusion procedure
--
fusion procedure
aux
.
AddMaterialCodeList
(
c
,
81086007
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcMix
(
c
,
true
,
true
,
81086007
,
cm
.
matfilter1
,
cm
.
matfilter2
,
nil
)
--spsummon condition
--
spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e0
:
SetRange
(
LOCATION_EXTRA
)
e0
:
SetValue
(
aux
.
fuslimit
)
c
:
RegisterEffect
(
e0
)
--act limit
--
act limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e1
:
SetTarget
(
cm
.
actfilter
)
c
:
RegisterEffect
(
e1
)
--negate
--
negate
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_TOGRAVE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
@@ -37,7 +37,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
negtg
)
e2
:
SetOperation
(
cm
.
negop
)
c
:
RegisterEffect
(
e2
)
--spsummon
--
spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c88123018.lua
View file @
de3a285d
-- 军势的朝比奈千夜
--
军势的朝比奈千夜
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c88178103.lua
View file @
de3a285d
--红魔馆的绯红恶魔 蕾米莉亚·斯卡雷特
--
红魔馆的绯红恶魔 蕾米莉亚·斯卡雷特
function
c88178103
.
initial_effect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
88178103
,
0
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment