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
Ai
ygopro-222DIY-cards
Commits
e9802fd5
Commit
e9802fd5
authored
Apr 25, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sign out
parent
88418f56
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
27 additions
and
24 deletions
+27
-24
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12005028.lua
expansions/script/c12005028.lua
+1
-1
expansions/script/c12047012.lua
expansions/script/c12047012.lua
+1
-1
expansions/script/c12047013.lua
expansions/script/c12047013.lua
+0
-1
expansions/script/c12080032.lua
expansions/script/c12080032.lua
+1
-1
expansions/script/c16400005.lua
expansions/script/c16400005.lua
+1
-1
expansions/script/c16400030.lua
expansions/script/c16400030.lua
+1
-1
expansions/script/c16400033.lua
expansions/script/c16400033.lua
+1
-1
expansions/script/c33701362.lua
expansions/script/c33701362.lua
+3
-1
expansions/script/c33701397.lua
expansions/script/c33701397.lua
+1
-1
expansions/script/c33701398.lua
expansions/script/c33701398.lua
+1
-1
expansions/script/c33701404.lua
expansions/script/c33701404.lua
+1
-1
expansions/script/c33701407.lua
expansions/script/c33701407.lua
+0
-1
expansions/script/c33701408.lua
expansions/script/c33701408.lua
+1
-1
expansions/script/c33701410.lua
expansions/script/c33701410.lua
+1
-1
expansions/script/c33701414.lua
expansions/script/c33701414.lua
+1
-1
expansions/script/c33701415.lua
expansions/script/c33701415.lua
+1
-1
expansions/script/c33701416.lua
expansions/script/c33701416.lua
+1
-1
expansions/script/c33701420.lua
expansions/script/c33701420.lua
+1
-1
expansions/script/c33701421.lua
expansions/script/c33701421.lua
+1
-1
expansions/script/c33701422.lua
expansions/script/c33701422.lua
+1
-1
expansions/script/c33701423.lua
expansions/script/c33701423.lua
+1
-1
expansions/script/c33701424.lua
expansions/script/c33701424.lua
+1
-0
expansions/script/c33701426.lua
expansions/script/c33701426.lua
+1
-1
expansions/script/c33701428.lua
expansions/script/c33701428.lua
+1
-1
expansions/script/c33701430.lua
expansions/script/c33701430.lua
+1
-0
expansions/script/c33701431.lua
expansions/script/c33701431.lua
+1
-1
expansions/script/c9300324.lua
expansions/script/c9300324.lua
+1
-0
No files found.
expansions/222DIY.cdb
View file @
e9802fd5
No preview for this file type
expansions/script/c12005028.lua
View file @
e9802fd5
...
...
@@ -71,7 +71,7 @@ function cm.efilter(e,te)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
end
function
cm
.
rthcfilter
(
c
)
local
cp
=
c
:
GetHandlerPlayer
()
local
cp
=
e
:
GetHandlerPlayer
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHandAsCost
()
and
Duel
.
GetMZoneCount
(
tp
,
c
,
cp
)
>
0
e
:
SetLabel
(
cp
)
end
...
...
expansions/script/c12047012.lua
View file @
e9802fd5
...
...
@@ -31,7 +31,7 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
;
SetCondition
(
cm
.
thcon
)
e2
:
SetCondition
(
cm
.
thcon
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetTarget
(
cm
.
thtg
)
e2
:
SetOperation
(
cm
.
thop
)
...
...
expansions/script/c12047013.lua
View file @
e9802fd5
...
...
@@ -32,7 +32,6 @@ function cm.initial_effect(c)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCondition
(
cm
.
thcon
)
e2
:
SetTarget
(
cm
.
thtg
)
e2
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e2
)
...
...
expansions/script/c12080032.lua
View file @
e9802fd5
...
...
@@ -71,7 +71,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
ft
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
while
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
g
)
do
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c16400005.lua
View file @
e9802fd5
...
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e1
:
SetCode
(
EVENT_LEAVE_FIELD
)
e
3
:
SetCountLimit
(
1
,
m
+
100
)
e
1
:
SetCountLimit
(
1
,
m
+
100
)
e1
:
SetCondition
(
cm
.
tgcon
)
e1
:
SetTarget
(
cm
.
tgtg
)
e1
:
SetOperation
(
cm
.
tgop
)
...
...
expansions/script/c16400030.lua
View file @
e9802fd5
...
...
@@ -83,7 +83,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
if
tc
:
IsRelateToEffect
(
e
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
if
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
--Add Equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c16400033.lua
View file @
e9802fd5
...
...
@@ -23,7 +23,7 @@ function cm.initial_effect(c)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
true
)
return
true
end
)
e2
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c33701362.lua
View file @
e9802fd5
...
...
@@ -14,7 +14,6 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
0
,
LOCATION_MZONE
,
0
,
2
,
c
,
c
:
GetCode
())
...
...
@@ -22,6 +21,9 @@ end
function
cm
.
filter
(
c
,
code
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
code
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
...
...
expansions/script/c33701397.lua
View file @
e9802fd5
...
...
@@ -29,7 +29,7 @@ function cm.initial_effect(c)
local
ge2
=
ge1
:
Clone
()
ge2
:
SetCode
(
EVENT_TOSS_DICE
)
ge2
:
SetOperation
(
cm
.
diceop
)
Duel
.
RegisterEffect
(
ge2
)
Duel
.
RegisterEffect
(
ge2
,
0
)
local
ge3
=
Effect
.
CreateEffect
(
c
)
ge3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge3
:
SetCode
(
EVENT_PHASE_START
+
PHASE_DRAW
)
...
...
expansions/script/c33701398.lua
View file @
e9802fd5
...
...
@@ -95,7 +95,7 @@ function cm.spfilter(c,e,tp)
end
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c33701404.lua
View file @
e9802fd5
...
...
@@ -61,7 +61,7 @@ end
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
t
=
Duel
.
GetAttackTarget
()
local
c
=
e
:
GetHandler
()
return
Duel
.
GetAttacker
()
==
c
and
t
~=
nil
and
t
:
GetAttack
()
<
c
:
GetAttack
()
and
return
Duel
.
GetAttacker
()
==
c
and
t
~=
nil
and
t
:
GetAttack
()
<
c
:
GetAttack
()
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
t
=
Duel
.
GetFirstTarget
()
...
...
expansions/script/c33701407.lua
View file @
e9802fd5
...
...
@@ -60,7 +60,6 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
=
g
:
GetNext
()
end
end
end
end
...
...
expansions/script/c33701408.lua
View file @
e9802fd5
...
...
@@ -124,7 +124,7 @@ function cm.dselect1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
rg
,
nil
,
2
,
REASON_RULE
)
end
e
:
GetLabelObject
():
DeleteGroup
()
else
op
=
1
then
else
if
op
=
1
then
Duel
.
Recover
(
tp
,
5000
,
REASON_EFFECT
)
end
end
expansions/script/c33701410.lua
View file @
e9802fd5
...
...
@@ -51,7 +51,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,:
GetHandler
())
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
end
function
cm
.
splimit
(
e
,
c
)
...
...
expansions/script/c33701414.lua
View file @
e9802fd5
...
...
@@ -151,7 +151,7 @@ function cm.atop(e,tp,eg,ep,ev,re,r,rp)
if
not
ex
then
return
end
if
cp
~=
PLAYER_ALL
then
if
Duel
.
IsPlayerAffectedByEffect
(
cp
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
elseif
Duel
.
IsPlayerAffectedByEffect
(
0
,
EFFECT_REVERSE_DAMAGE
)
or
Duel
.
IsPlayerAffectedByEffect
(
1
,
EFFECT_REVERSE_DAMAGE
)
then
v
+
ev1
end
elseif
Duel
.
IsPlayerAffectedByEffect
(
0
,
EFFECT_REVERSE_DAMAGE
)
or
Duel
.
IsPlayerAffectedByEffect
(
1
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
end
local
g
=
Group
.
CreateGroup
()
Duel
.
ChangeTargetCard
(
ev
,
g
)
...
...
expansions/script/c33701415.lua
View file @
e9802fd5
...
...
@@ -109,7 +109,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
cfilter
(
c
,
tp
,
code
)
return
c
:
IsControler
(
tp
)
and
not
c
:
IsCode
(
code
)
and
return
c
:
IsControler
(
tp
)
and
not
c
:
IsCode
(
code
)
end
function
cm
.
drcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
code
=
0
...
...
expansions/script/c33701416.lua
View file @
e9802fd5
...
...
@@ -51,7 +51,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
sg
:
GetFirst
()
if
sc
and
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
))
if
op
=
0
then
if
op
=
=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c33701420.lua
View file @
e9802fd5
...
...
@@ -80,7 +80,7 @@ end
function
cm
.
spfilter
(
c
,
sc
)
return
c
:
IsCanBeLinkMaterial
(
sc
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
cm
.
spcon
(
e
,
c
)
function
cm
.
sp
r
con
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
<=
0
then
return
false
end
...
...
expansions/script/c33701421.lua
View file @
e9802fd5
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
condition
)
e2
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e3
:
SetTarget
(
cm
.
reptg
)
...
...
expansions/script/c33701422.lua
View file @
e9802fd5
...
...
@@ -68,7 +68,7 @@ function cm.actconb(e)
end
function
cm
.
actlimit
(
e
,
re
,
tp
)
if
re
:
GetHandler
()
then
return
re
:
GetHandler
()
~=
e
:
GetHandler
()
else
return
re
:
GetOwner
()
~=
e
:
GetHandler
()
else
return
re
:
GetOwner
()
~=
e
:
GetHandler
()
end
end
function
cm
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
cm
[
2
]
>
0
and
cm
[
3
]
>
0
...
...
expansions/script/c33701423.lua
View file @
e9802fd5
...
...
@@ -75,7 +75,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
=
e
:
GetLabelObject
()
and
e
:
GetHandlerPlayer
()
~=
tp
return
re
=
=
e
:
GetLabelObject
()
and
e
:
GetHandlerPlayer
()
~=
tp
end
function
cm
.
damcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
expansions/script/c33701424.lua
View file @
e9802fd5
...
...
@@ -87,5 +87,6 @@ function cm.damop1(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
expansions/script/c33701426.lua
View file @
e9802fd5
--赤月礼赞·鹿沼叶子
local
m
=
3370142
5
local
m
=
3370142
6
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--special summon
...
...
expansions/script/c33701428.lua
View file @
e9802fd5
...
...
@@ -96,7 +96,7 @@ function cm.tgcon1(e,tp,eg,ep,ev,re,r,rp)
return
ep
~=
tp
and
Duel
.
GetAttackTarget
()
==
nil
end
function
cm
.
cfilter
(
c
)
return
c
:
IsSetCard
(
33701424
)
c
:
IsAbleToDeckAsCost
()
return
c
:
IsSetCard
(
33701424
)
and
c
:
IsAbleToDeckAsCost
()
end
function
cm
.
tgcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c33701430.lua
View file @
e9802fd5
...
...
@@ -80,5 +80,6 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
elseif
op
==
2
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
end
end
expansions/script/c33701431.lua
View file @
e9802fd5
...
...
@@ -28,7 +28,7 @@ function cm.tgfilter(c)
end
function
cm
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
tgfilter
,
tp
,
LOCATION_HAND
,
0
,
e
:
GetHandler
())
if
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
)
then
if
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
)
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
)
...
...
expansions/script/c9300324.lua
View file @
e9802fd5
...
...
@@ -167,6 +167,7 @@ function c9300324.nameop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetTarget
(
c9300324
.
splimit
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c9300324
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsSetCard
(
0x1f99
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
...
...
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