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
710b2578
Commit
710b2578
authored
Sep 28, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foo foo
parent
bd2d63ab
Pipeline
#829
failed with stages
in 23 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
expansions/script/c4212313.lua
expansions/script/c4212313.lua
+5
-5
No files found.
expansions/script/c4212313.lua
View file @
710b2578
...
...
@@ -44,8 +44,8 @@ function c4212313.tffilter(c)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0xa25
)
and
c
:
IsAbleToHand
()
end
function
c4212313
.
tfcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c42123
0
3
.
cdfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
DiscardHand
(
tp
,
c42123
0
3
.
cdfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c42123
1
3
.
cdfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
DiscardHand
(
tp
,
c42123
1
3
.
cdfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
c4212313
.
spcfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0xa25
)
...
...
@@ -75,7 +75,7 @@ function c4212313.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c4212313
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetReason
(),
0x41
)
==
0x41
return
bit
.
band
(
e
:
GetHandler
():
GetReason
(),
0x41
)
==
0x41
end
function
c4212313
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetDecktopGroup
(
tp
,
2
):
FilterCount
(
function
(
c
,
e
)
return
c
:
IsDestructable
(
e
)
end
,
nil
,
e
)
==
2
end
...
...
@@ -96,6 +96,6 @@ function c4212313.desop(e,tp,eg,ep,ev,re,r,rp)
else
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
2
,
REASON_EFFECT
)
end
end
end
end
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