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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
db8f233b
Commit
db8f233b
authored
Jul 05, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
838002bf
Pipeline
#14433
passed with stages
in 27 minutes and 21 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
11 deletions
+13
-11
expansions/script/c12039060.lua
expansions/script/c12039060.lua
+2
-1
expansions/script/c12039061.lua
expansions/script/c12039061.lua
+1
-1
expansions/script/c12090075.lua
expansions/script/c12090075.lua
+1
-0
expansions/script/c12090080.lua
expansions/script/c12090080.lua
+1
-1
expansions/script/c12090081.lua
expansions/script/c12090081.lua
+1
-1
expansions/script/c12090083.lua
expansions/script/c12090083.lua
+1
-1
expansions/script/c12301125.lua
expansions/script/c12301125.lua
+4
-4
expansions/script/c53734003.lua
expansions/script/c53734003.lua
+1
-1
expansions/script/c53734006.lua
expansions/script/c53734006.lua
+1
-1
No files found.
expansions/script/c12039060.lua
View file @
db8f233b
...
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
m
+
1
00
)
e3
:
SetCountLimit
(
1
,
m
+
2
00
)
e3
:
SetCondition
(
cm
.
discon
)
e3
:
SetTarget
(
cm
.
distg
)
e3
:
SetOperation
(
cm
.
disop
)
...
...
@@ -55,6 +55,7 @@ function cm.spop1(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetTarget
(
cm
.
destg
)
...
...
expansions/script/c12039061.lua
View file @
db8f233b
...
...
@@ -74,7 +74,7 @@ end
function
cm
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
ep
==
tp
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
return
re
:
GetHandler
():
IsAbleToHand
()
return
re
:
GetHandler
():
IsAbleToHand
()
and
not
re
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
end
function
cm
.
spfilter
(
c
)
return
c
:
IsAbleToGrave
()
...
...
expansions/script/c12090075.lua
View file @
db8f233b
...
...
@@ -10,6 +10,7 @@ function cm.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--destroy replace
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c12090080.lua
View file @
db8f233b
...
...
@@ -59,7 +59,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
return
rp
==
1
-
tp
and
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
,
TYPE_NORMAL
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c12090081.lua
View file @
db8f233b
...
...
@@ -88,7 +88,7 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
function
cm
.
tg
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
sp
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
m
,
2
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
if
#
g
>
0
then
...
...
expansions/script/c12090083.lua
View file @
db8f233b
...
...
@@ -32,7 +32,7 @@ function cm.initial_effect(c)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e0
:
SetCategory
(
CATEGORY_
)
e0
:
SetCategory
(
CATEGORY_
EQUIP
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e0
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE_START
)
e0
:
SetRange
(
LOCATION_GRAVE
)
...
...
expansions/script/c12301125.lua
View file @
db8f233b
...
...
@@ -35,9 +35,9 @@ function cm.initial_effect(c)
e2
:
SetCountLimit
(
1
)
c
:
RegisterEffect
(
e2
)
--copy
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_XMATERIAL
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_XMATERIAL
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EFFECT_CHANGE_CODE
)
e3
:
SetCondition
(
cm
.
gecon
)
e3
:
SetValue
(
m
)
...
...
@@ -109,7 +109,7 @@ function cm.lcop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
1
,
1
)
e3
:
SetTargetRange
(
1
,
0
)
e3
:
SetCondition
(
cm
.
econ1
)
e3
:
SetValue
(
cm
.
elimit
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
...
...
expansions/script/c53734003.lua
View file @
db8f233b
...
...
@@ -117,7 +117,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if
hg
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
hg
,
tp
,
REASON_EFFECT
)
>
0
and
hg
:
GetFirst
():
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
hg
)
local
dis
=
1
<<
c
:
GetSequence
()
if
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
>
0
and
c
:
IsLocation
(
LOCATION_REMOVED
)
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
>
0
and
c
:
IsLocation
(
LOCATION_REMOVED
)
then
if
SNNM
.
DisMZone
(
tp
)
&
dis
>
0
then
return
end
local
zone
=
dis
if
tp
==
1
then
dis
=
((
dis
&
0xffff
)
<<
16
)
|
((
dis
>>
16
)
&
0xffff
)
end
...
...
expansions/script/c53734006.lua
View file @
db8f233b
...
...
@@ -82,7 +82,7 @@ function cm.discon2(e,tp,eg,ep,ev,re,r,rp)
return
SNNM
.
DisMZone
(
tp
)
&
0x1f
>
0
end
function
cm
.
disfilter
(
c
)
return
aux
.
NegateAnyFilter
(
c
)
and
c
:
IsStatus
(
STATUS_EFFECT_ENABLED
)
return
aux
.
NegateAnyFilter
(
c
)
and
c
:
IsStatus
(
STATUS_EFFECT_ENABLED
)
and
not
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
end
function
cm
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
b1
=
SNNM
.
RinnaZone
(
tp
,
Duel
.
GetMatchingGroup
(
function
(
c
)
return
c
:
GetSequence
()
<
5
and
c
:
IsAbleToRemove
()
end
,
tp
,
LOCATION_MZONE
,
0
,
nil
))
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
disfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
...
...
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