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
ef704426
Commit
ef704426
authored
Jul 05, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
1325d5ee
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
68 deletions
+69
-68
expansions/script/c35100413.lua
expansions/script/c35100413.lua
+39
-39
expansions/script/c35100424.lua
expansions/script/c35100424.lua
+11
-10
expansions/script/c35100434.lua
expansions/script/c35100434.lua
+19
-19
No files found.
expansions/script/c35100413.lua
View file @
ef704426
...
...
@@ -128,7 +128,7 @@ function c35100413.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c35100413
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
IsCode
(
35100401
)
or
aux
.
IsCodeListed
(
re
,
35100401
)
return
re
:
GetHandler
():
IsCode
(
35100401
)
or
aux
.
IsCodeListed
(
re
:
GetHandler
()
,
35100401
)
end
function
c35100413
.
thtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToHand
()
end
...
...
expansions/script/c35100424.lua
View file @
ef704426
...
...
@@ -100,12 +100,13 @@ function c35100424.ovltgfilter(c)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsSetCard
(
0x1a94
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c35100424
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
(
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
or
Duel
.
IsExistingMatchingCard
(
c35100424
.
ovltgfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
2
,
nil
))
end
local
result
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
35100424
,
2
),
aux
.
Stringid
(
35100424
,
3
))
if
result
==
0
then
local
b1
=
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c35100424
.
ovltgfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
2
,
nil
))
if
chk
==
0
then
return
b1
or
b2
end
local
op
=
aux
.
SelectFromOptions
(
tp
,{
b1
,
aux
.
Stringid
(
35100424
,
2
)},{
b2
,
aux
.
Stringid
(
35100424
,
3
)})
if
op
==
1
then
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
else
elseif
op
==
2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c35100424
.
ovltgfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
2
,
2
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
...
...
expansions/script/c35100434.lua
View file @
ef704426
...
...
@@ -74,7 +74,7 @@ function c35100434.lpop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c35100434
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x1a94
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsControler
(
tp
)
return
c
:
IsSetCard
(
0x1a94
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c35100434
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c35100434
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
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