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
93839bed
Commit
93839bed
authored
Oct 21, 2022
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update lua
parent
a436c8ee
Pipeline
#17350
passed with stages
in 23 minutes and 18 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
13 deletions
+8
-13
expansions/script/c35801153.lua
expansions/script/c35801153.lua
+1
-1
expansions/script/c53705024.lua
expansions/script/c53705024.lua
+1
-1
expansions/script/c67200353.lua
expansions/script/c67200353.lua
+1
-0
expansions/script/c71400001.lua
expansions/script/c71400001.lua
+1
-1
expansions/script/c71400062.lua
expansions/script/c71400062.lua
+3
-3
expansions/script/c71400069.lua
expansions/script/c71400069.lua
+1
-7
No files found.
expansions/script/c35801153.lua
View file @
93839bed
...
...
@@ -23,7 +23,7 @@ function cm.disfilter(c,e)
if
e
:
GetLabel
()
==
1
then
return
c
:
IsOnField
()
and
c
:
IsAbleToDeck
()
and
c
:
IsSetCard
(
0xb81
)
else
return
c
:
IsOnField
()
and
c
:
IsAbleToDeck
()
and
c
:
IsSetCard
(
0x3
a04
)
return
c
:
IsOnField
()
and
c
:
IsAbleToDeck
()
and
c
:
IsSetCard
(
0x3
421
)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c53705024.lua
View file @
93839bed
...
...
@@ -38,7 +38,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
g
:
ForEach
(
Card
.
ResetEffect
,
EFFECT_PUBLIC
,
RESET_CODE
)
local
ct
=
g
:
FilterCount
(
cm
.
filter
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISABLE
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
disfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
disfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
if
#
sg
==
0
then
return
end
Duel
.
HintSelection
(
sg
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c67200353.lua
View file @
93839bed
...
...
@@ -61,6 +61,7 @@ function c67200353.cfilter(c,sp)
return
c
:
IsSummonPlayer
(
sp
)
end
function
c67200353
.
exctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
#
eg
~=
1
then
return
false
end
return
eg
:
IsExists
(
c67200353
.
cfilter
,
1
,
nil
,
1
-
tp
)
end
function
c67200353
.
ctfilter
(
c
,
tp
)
...
...
expansions/script/c71400001.lua
View file @
93839bed
...
...
@@ -26,7 +26,7 @@ function c71400001.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
local
op
=
0
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
a
a
ux
.
Stringid
(
71400001
,
2
),
aux
.
Stringid
(
71400001
,
0
))
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
71400001
,
2
),
aux
.
Stringid
(
71400001
,
0
))
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
71400001
,
2
))
else
...
...
expansions/script/c71400062.lua
View file @
93839bed
...
...
@@ -7,7 +7,7 @@ function c71400062.initial_effect(c)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetCondition
(
yume
.
YumeCon
)
c
:
RegisterEffect
(
e0
)
--
direct
attack
--
extra
attack
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
...
...
@@ -18,7 +18,7 @@ function c71400062.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--sp summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
71400062
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
71400062
,
0
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
@@ -33,7 +33,7 @@ function c71400062.tg1(e,c)
return
c
:
IsSetCard
(
0x714
)
and
cg
:
IsContains
(
c
)
end
function
c71400062
.
filter2
(
c
,
e
,
tp
,
zone
)
return
c
:
IsSetCard
(
0x714
)
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
zone
)
return
c
:
IsSetCard
(
0x714
)
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
tp
,
zone
)
end
function
c71400062
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
zone
=
Duel
.
GetLinkedZone
(
tp
)
...
...
expansions/script/c71400069.lua
View file @
93839bed
...
...
@@ -13,6 +13,7 @@ function c71400069.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--to grave
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
71400069
,
1
))
e2
:
SetCategory
(
CATEGORY_TOGRAVE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -32,13 +33,6 @@ function c71400069.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c71400069
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
while
tc
do
Duel
.
RegisterFlagEffect
(
tc
:
GetSummonPlayer
(),
71400069
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
tc
=
eg
:
GetNext
()
end
end
function
c71400069
.
filtercon1
(
c
)
return
c
:
IsSetCard
(
0x714
)
and
c
:
IsType
(
TYPE_LINK
)
end
...
...
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