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
Soulgamer
ygopro-222DIY-cards
Commits
02edf53c
Commit
02edf53c
authored
Sep 05, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
e5fccaf8
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
431 additions
and
264 deletions
+431
-264
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c14010217.lua
expansions/script/c14010217.lua
+12
-0
expansions/script/c26807007.lua
expansions/script/c26807007.lua
+13
-1
expansions/script/c28300000.lua
expansions/script/c28300000.lua
+4
-0
expansions/script/c33330082.lua
expansions/script/c33330082.lua
+12
-0
expansions/script/c33400119.lua
expansions/script/c33400119.lua
+12
-0
expansions/script/c33400363.lua
expansions/script/c33400363.lua
+12
-0
expansions/script/c33400475.lua
expansions/script/c33400475.lua
+43
-1
expansions/script/c33700409.lua
expansions/script/c33700409.lua
+273
-262
expansions/script/c65000064.lua
expansions/script/c65000064.lua
+12
-0
expansions/script/c75646551.lua
expansions/script/c75646551.lua
+12
-0
expansions/script/c75646552.lua
expansions/script/c75646552.lua
+12
-0
expansions/script/c77702002.lua
expansions/script/c77702002.lua
+14
-0
No files found.
expansions/222DIY.cdb
View file @
02edf53c
No preview for this file type
expansions/script/c14010217.lua
View file @
02edf53c
...
...
@@ -64,6 +64,18 @@ function cm.initial_effect(c)
e6
:
SetTarget
(
cm
.
rttg
)
e6
:
SetOperation
(
cm
.
rtop
)
c
:
RegisterEffect
(
e6
)
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
cm
.
regcon
)
ee
:
SetTarget
(
cm
.
regtg
)
ee
:
SetOperation
(
cm
.
bgmop
)
c
:
RegisterEffect
(
ee
)
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
function
cm
.
setlimit
(
e
,
c
,
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
...
...
expansions/script/c26807007.lua
View file @
02edf53c
...
...
@@ -3,7 +3,7 @@ local m=26807007
local
scard
=
c26807007
local
id
=
26807007
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c
268
00000.lua"
)
Duel
.
LoadScript
(
"c
810
00000.lua"
)
function
cm
.
initial_effect
(
c
)
--Activate
local
e0
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -73,6 +73,18 @@ function cm.initial_effect(c)
e6
:
SetTarget
(
cm
.
tdtg
)
e6
:
SetOperation
(
cm
.
tdop
)
c
:
RegisterEffect
(
e6
)
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
cm
.
regcon
)
ee
:
SetTarget
(
cm
.
regtg
)
ee
:
SetOperation
(
cm
.
bgmop
)
c
:
RegisterEffect
(
ee
)
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
function
cm
.
cfilter
(
c
,
tp
)
return
c
:
GetOwner
()
==
1
-
tp
and
c
:
IsAbleToRemoveAsCost
()
...
...
expansions/script/c28300000.lua
0 → 100644
View file @
02edf53c
--C.T.C
function
c28300000
.
initial_effect
(
c
)
end
expansions/script/c33330082.lua
View file @
02edf53c
...
...
@@ -40,6 +40,18 @@ function c33330082.initial_effect(c)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetValue
(
c33330082
.
effectfilter
)
c
:
RegisterEffect
(
e5
)
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
c33330082
.
regcon
)
ee
:
SetTarget
(
c33330082
.
regtg
)
ee
:
SetOperation
(
c33330082
.
bgmop
)
c
:
RegisterEffect
(
ee
)
end
function
c33330082
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
function
c33330082
.
regtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
expansions/script/c33400119.lua
View file @
02edf53c
...
...
@@ -66,6 +66,18 @@ c:EnableCounterPermit(0x34f)
e13
:
SetTargetRange
(
1
,
0
)
e13
:
SetValue
(
cm
.
actlimit
)
c
:
RegisterEffect
(
e13
)
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
cm
.
regcon
)
ee
:
SetTarget
(
cm
.
regtg
)
ee
:
SetOperation
(
cm
.
bgmop
)
c
:
RegisterEffect
(
ee
)
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
function
cm
.
regtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
expansions/script/c33400363.lua
View file @
02edf53c
...
...
@@ -66,6 +66,18 @@ function cm.initial_effect(c)
e4
:
SetTarget
(
cm
.
target
)
e4
:
SetValue
(
cm
.
indct
)
c
:
RegisterEffect
(
e4
)
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
cm
.
regcon
)
ee
:
SetTarget
(
cm
.
regtg
)
ee
:
SetOperation
(
cm
.
bgmop
)
c
:
RegisterEffect
(
ee
)
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
function
cm
.
regtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
expansions/script/c33400475.lua
View file @
02edf53c
...
...
@@ -58,7 +58,49 @@ function cm.initial_effect(c)
e3
:
SetCondition
(
cm
.
spcon
)
e3
:
SetTarget
(
cm
.
sptg
)
e3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
cm
.
regcon
)
ee
:
SetTarget
(
cm
.
regtg
)
ee
:
SetOperation
(
cm
.
bgmop
)
c
:
RegisterEffect
(
ee
)
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
function
cm
.
regtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
--to grave
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_FZONE
)
e1
:
SetCondition
(
cm
.
gycon
)
e1
:
SetOperation
(
cm
.
gyop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
SetTurnCounter
(
0
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
gycon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
cm
.
gyop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ct
=
c
:
GetTurnCounter
()
ct
=
ct
+
1
c
:
SetTurnCounter
(
ct
)
if
ct
==
5
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
function
cm
.
thfilter1
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsSetCard
(
0x5342
)
or
c
:
IsSetCard
(
0xc342
))
and
c
:
IsAbleToHand
()
...
...
expansions/script/c33700409.lua
View file @
02edf53c
This diff is collapsed.
Click to expand it.
expansions/script/c65000064.lua
View file @
02edf53c
...
...
@@ -48,6 +48,18 @@ function c65000064.initial_effect(c)
e5
:
SetTarget
(
cm
.
eftg
)
e5
:
SetLabelObject
(
e4
)
c
:
RegisterEffect
(
e5
)
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
cm
.
regcon
)
ee
:
SetTarget
(
cm
.
regtg
)
ee
:
SetOperation
(
cm
.
bgmop
)
c
:
RegisterEffect
(
ee
)
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
cm
.
toss_coin
=
true
function
cm
.
val
(
e
,
c
)
...
...
expansions/script/c75646551.lua
View file @
02edf53c
...
...
@@ -73,6 +73,18 @@ function cm.initial_effect(c)
e7
:
SetTargetRange
(
1
,
0
)
e7
:
SetValue
(
cm
.
actlimit
)
c
:
RegisterEffect
(
e7
)
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
cm
.
regcon
)
ee
:
SetTarget
(
cm
.
regtg
)
ee
:
SetOperation
(
cm
.
bgmop
)
c
:
RegisterEffect
(
ee
)
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
function
cm
.
regtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
expansions/script/c75646552.lua
View file @
02edf53c
...
...
@@ -55,6 +55,18 @@ function cm.initial_effect(c)
e6
:
SetTargetRange
(
1
,
0
)
e6
:
SetValue
(
cm
.
actlimit
)
c
:
RegisterEffect
(
e6
)
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
cm
.
regcon
)
ee
:
SetTarget
(
cm
.
regtg
)
ee
:
SetOperation
(
cm
.
bgmop
)
c
:
RegisterEffect
(
ee
)
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
function
cm
.
regtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
expansions/script/c77702002.lua
View file @
02edf53c
...
...
@@ -108,6 +108,20 @@ function scard.initial_effect(c)
ea
:
SetOperation
(
scard
.
addcount
)
Duel
.
RegisterEffect
(
ea
,
0
)
end
--open
local
ee
=
Effect
.
CreateEffect
(
c
)
ee
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ee
:
SetCode
(
EVENT_MOVE
)
ee
:
SetCondition
(
cm
.
regcon
)
ee
:
SetTarget
(
scard
.
regtg
)
ee
:
SetOperation
(
function
()
Duel
.
Hint
(
HINT_MUSIC
,
0
,
id
*
16
+
1
)
end
)
c
:
RegisterEffect
(
ee
)
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_FZONE
)
end
function
scard
.
resetcount
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
scard
[
0
]
=
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