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
7c15e343
Commit
7c15e343
authored
Sep 19, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
6f0b9839
Pipeline
#29865
passed with stages
in 24 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
expansions/script/c12835103.lua
expansions/script/c12835103.lua
+2
-2
No files found.
expansions/script/c12835103.lua
View file @
7c15e343
...
...
@@ -60,7 +60,7 @@ function s.pcon(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
cfilter
(
c
,
ce
)
local
ec
=
ce
:
GetHandler
()
return
c
:
GetOriginalType
()
&
(
TYPE_SPELL
+
TYPE_TRAP
)
>
0
and
(
c
:
IsSetCard
(
0x3a70
)
or
ec
:
IsLocation
(
LOCATION_HAND
)
and
ec
:
IsPublic
()
and
ce
:
GetType
()
&
EFFECT_TYPE_ACTIVATE
==
0
)
and
c
:
IsAbleToGraveAsCost
()
return
(
c
:
GetOriginalType
()
&
(
TYPE_SPELL
+
TYPE_TRAP
)
>
0
and
c
:
IsSetCard
(
0x3a70
)
or
not
c
:
IsSetCard
(
0x3a70
)
and
c
:
IsOnField
()
and
ec
:
IsLocation
(
LOCATION_HAND
)
and
ec
:
IsPublic
()
and
ce
:
GetType
()
&
EFFECT_TYPE_ACTIVATE
==
0
)
and
c
:
IsAbleToGraveAsCost
()
end
function
s
.
sscost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -119,5 +119,5 @@ function s.disfilter(c)
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
e
:
GetOwnerPlayer
(),
LOCATION_HAND
,
0
):
Filter
(
s
.
disfilter
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
\ No newline at end of file
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