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
0cb4fd5a
Commit
0cb4fd5a
authored
Oct 15, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
43e065af
Pipeline
#6249
passed with stages
in 36 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
expansions/script/c9399300.lua
expansions/script/c9399300.lua
+5
-9
No files found.
expansions/script/c9399300.lua
View file @
0cb4fd5a
...
...
@@ -42,18 +42,14 @@ function c9399300.operation(e,tp,eg,ep,ev,re,r,rp)
local
c1
,
c2
=
Duel
.
TossCoin
(
tp
,
2
)
if
c1
+
c2
==
2
then
Duel
.
GetControl
(
tc
,
tp
)
local
e1
=
Effect
.
CreateEffect
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
9399300
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_
DUAL_STATUS
)
e1
:
SetCode
(
EFFECT_
ADD_SETCODE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
0x3f99
)
tc
:
RegisterEffect
(
e1
)
local
e3
=
Effect
.
CreateEffect
(
tc
)
e3
:
SetDescription
(
aux
.
Stringid
(
9399300
,
1
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_ADD_SETCODE
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetValue
(
0x3f99
)
tc
:
RegisterEffect
(
e3
)
if
tc
:
IsType
(
TYPE_DUAL
)
then
tc
:
EnableDualState
()
end
else
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
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