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
26edb3fe
Commit
26edb3fe
authored
Feb 17, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
761367ca
Pipeline
#2431
passed with stages
in 44 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
expansions/script/c12083003.lua
expansions/script/c12083003.lua
+8
-0
No files found.
expansions/script/c12083003.lua
View file @
26edb3fe
...
...
@@ -97,10 +97,18 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
th
=
tt
:
RandomSelect
(
tp
,
1
)
Duel
.
Destroy
(
th
,
REASON_EFFECT
)
Duel
.
RegisterFlagEffect
(
tp
,
m
+
100
,
0
,
0
,
1
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
>
0
then
local
g
=
Duel
.
GetFieldGroup
(
1
-
tp
,
LOCATION_HAND
,
0
)
local
sg
=
g
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
end
Duel
.
RaiseEvent
(
c
,
EVENT_CUSTOM
+
m
,
re
,
r
,
rp
,
ep
,
nil
)
end
function
cm
.
exfilter
(
c
)
return
c
:
IsCode
(
12083005
)
and
not
c
:
IsDisabled
()
end
function
cm
.
rtdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
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