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
486e8e2c
Commit
486e8e2c
authored
Apr 21, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sign out
parent
3655990e
Pipeline
#2969
passed with stages
in 25 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c12045000.lua
expansions/script/c12045000.lua
+2
-2
expansions/script/c33701337.lua
expansions/script/c33701337.lua
+4
-4
No files found.
expansions/script/c12045000.lua
View file @
486e8e2c
...
...
@@ -22,7 +22,7 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_DISCARD_DECK
)
e2
:
SetRange
(
LOCATION_
M
ZONE
)
e2
:
SetRange
(
LOCATION_
F
ZONE
)
e2
:
SetTargetRange
(
1
,
1
)
c
:
RegisterEffect
(
e2
)
--CANNOT_REMOVE
...
...
@@ -30,7 +30,7 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e2
:
SetRange
(
LOCATION_
M
ZONE
)
e2
:
SetRange
(
LOCATION_
F
ZONE
)
e2
:
SetTargetRange
(
LOCATION_DECK
,
LOCATION_DECK
)
c
:
RegisterEffect
(
e2
)
--tohand
...
...
expansions/script/c33701337.lua
View file @
486e8e2c
...
...
@@ -103,8 +103,8 @@ end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
while
tc
do
if
tc
:
IsLocation
(
LOCATION_MZONE
)
then
cm
[
tc
:
Get
Controler
()]
=
cm
[
tc
:
Get
Controler
()]
+
1
if
tc
:
Is
Previous
Location
(
LOCATION_MZONE
)
then
cm
[
tc
:
Get
PreviousControler
()]
=
cm
[
tc
:
GetPrevious
Controler
()]
+
1
end
tc
=
eg
:
GetNext
()
end
...
...
@@ -112,8 +112,8 @@ end
function
cm
.
checkop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
while
tc
do
if
tc
:
IsLocation
(
LOCATION_ONFIELD
)
then
cm
[
tc
:
Get
Controler
()
+
2
]
=
cm
[
tc
:
Get
Controler
()
+
2
]
+
1
if
tc
:
Is
Previous
Location
(
LOCATION_ONFIELD
)
then
cm
[
tc
:
Get
PreviousControler
()
+
2
]
=
cm
[
tc
:
GetPrevious
Controler
()
+
2
]
+
1
end
tc
=
eg
:
GetNext
()
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