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
20033d78
Commit
20033d78
authored
Sep 30, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
1375906a
Pipeline
#5944
passed with stages
in 38 minutes and 59 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
expansions/script/c34501310.lua
expansions/script/c34501310.lua
+2
-1
expansions/script/c34501311.lua
expansions/script/c34501311.lua
+1
-1
No files found.
expansions/script/c34501310.lua
View file @
20033d78
...
...
@@ -56,6 +56,7 @@ function cm.initial_effect(c)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetCode
(
PHASE_END
+
EVENT_PHASE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCountLimit
(
1
)
e6
:
SetTarget
(
cm
.
tatg
)
e6
:
SetOperation
(
cm
.
tatp
)
c
:
RegisterEffect
(
e6
)
...
...
@@ -85,7 +86,7 @@ function cm.ddop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
g
:
GetCount
()
>
0
and
tc
:
GetPosition
()
==
POS_FACEDOWN_DEFENSE
then
Duel
.
HintSelection
(
g
)
Duel
.
ChangePosition
(
g
,
POS_FACEUP
_ATTACK
+
POS_FACEUP_DEFENSE
)
Duel
.
ChangePosition
(
g
,
POS_FACEUP
)
elseif
g
:
GetCount
()
>
0
and
tc
:
GetPosition
()
==
POS_FACEUP
then
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
end
...
...
expansions/script/c34501311.lua
View file @
20033d78
...
...
@@ -26,7 +26,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
g
:
GetCount
()
>
0
and
tc
:
GetPosition
()
==
POS_FACEDOWN_DEFENSE
then
Duel
.
HintSelection
(
g
)
Duel
.
ChangePosition
(
g
,
POS_FACEUP
_ATTACK
+
POS_FACEUP_DEFENSE
)
Duel
.
ChangePosition
(
g
,
POS_FACEUP
)
elseif
g
:
GetCount
()
>
0
and
tc
:
GetPosition
()
==
POS_FACEUP
then
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
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