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
60d7c775
Commit
60d7c775
authored
Jan 08, 2025
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c18700432.lua
parent
828d19fe
Pipeline
#32416
passed with stages
in 54 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
10 deletions
+28
-10
expansions/script/c18700432.lua
expansions/script/c18700432.lua
+28
-10
No files found.
expansions/script/c18700432.lua
View file @
60d7c775
...
...
@@ -41,15 +41,33 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
2
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
cm
.
disval
(
e
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
occupy
=
0
if
#
mg
<
1
then
return
0x1f1f0000
end
local
sc
=
mg
:
GetFirst
()
while
sc
do
occupy
=
occupy
|
aux
.
SequenceToGlobal
(
1
-
tp
,
sc
:
GetLocation
()
&
0x0c
,
sc
:
GetSequence
())
sc
=
mg
:
GetNext
()
function
cm
.
filter
(
c
)
return
c
:
GetSequence
()
<
5
end
function
cm
.
disval
(
e
)
if
(
Duel
.
GetTurnCount
()
%
2
)
==
1
then
local
tp
=
e
:
GetOwnerPlayer
()
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
occupy
=
0
if
#
mg
<
1
then
return
0x1f1f0000
end
local
sc
=
mg
:
GetFirst
()
while
sc
do
occupy
=
occupy
|
aux
.
SequenceToGlobal
(
sc
:
GetControler
(),
sc
:
GetLocation
()
&
0x0c
,
sc
:
GetSequence
())
sc
=
mg
:
GetNext
()
end
local
lock
=
(
0x1f1f0000
)
&
(
bit
.
bnot
(
occupy
))
return
lock
elseif
(
Duel
.
GetTurnCount
()
%
2
)
==
0
then
local
tp
=
e
:
GetOwnerPlayer
()
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
occupy
=
0
if
#
mg
<
1
then
return
0x00001f1f
end
local
sc
=
mg
:
GetFirst
()
while
sc
do
occupy
=
occupy
|
aux
.
SequenceToGlobal
(
sc
:
GetControler
(),
sc
:
GetLocation
()
&
0x0c
,
sc
:
GetSequence
())
sc
=
mg
:
GetNext
()
end
local
lock
=
(
0x00001f1f
)
&
(
bit
.
bnot
(
occupy
))
return
lock
end
local
lock
=
(
0x1f1f0000
)
&
(
bit
.
bnot
(
occupy
))
return
lock
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