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
0e375040
Commit
0e375040
authored
Apr 29, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
d9610350
Pipeline
#12115
passed with stages
in 30 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c16172030.lua
expansions/script/c16172030.lua
+4
-4
No files found.
expansions/script/c16172030.lua
View file @
0e375040
...
...
@@ -12,12 +12,12 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
tp
or
ep
=
=
tp
return
ep
~
=
tp
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
Card
.
IsAbleToGrave
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
eg
,
eg
:
GetCount
(),
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
1
,
tp
,
eg
:
GetCount
()
*
3
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
eg
,
eg
:
GetCount
(),
1
-
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
1
,
1
-
tp
,
eg
:
GetCount
()
*
3
)
end
function
cm
.
docheck
(
c
)
return
c
:
IsAbleToGrave
()
and
c
:
IsLocation
(
LOCATION_HAND
)
...
...
@@ -28,7 +28,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
local
og
=
Duel
.
GetOperatedGroup
()
local
num
=
og
:
GetCount
()
Duel
.
Draw
(
tp
,
num
*
3
,
REASON_RULE
)
Duel
.
Draw
(
1
-
tp
,
num
*
3
,
REASON_RULE
)
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