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
548013d9
Commit
548013d9
authored
Nov 04, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c50224085.lua
parent
630a3f94
Pipeline
#30945
failed with stages
in 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
expansions/script/c50224085.lua
expansions/script/c50224085.lua
+19
-2
No files found.
expansions/script/c50224085.lua
View file @
548013d9
...
@@ -23,7 +23,11 @@ function c50224085.initial_effect(c)
...
@@ -23,7 +23,11 @@ function c50224085.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c50224085
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50224085
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
1
-
tp
and
Duel
.
GetCurrentChain
()
==
1
local
ct1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct2
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
local
ct3
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
local
ct4
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
return
ep
==
1
-
tp
and
Duel
.
GetCurrentChain
()
==
1
and
math.max
(
ct1
,
ct2
,
ct3
,
ct4
)
>
0
end
end
function
c50224085
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c50224085
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -42,8 +46,21 @@ function c50224085.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +46,21 @@ function c50224085.op(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESET_CHAIN
)
e1
:
SetReset
(
RESET_EVENT
+
RESET_CHAIN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c50224085
.
filter
(
c
)
return
c
:
GetSequence
()
<
5
end
function
c50224085
.
disval
(
e
)
function
c50224085
.
disval
(
e
)
return
0x1f1f1f1f
local
tp
=
e
:
GetOwnerPlayer
()
local
mg
=
Duel
.
GetMatchingGroup
(
c50224085
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
occupy
=
0
if
#
mg
<
1
then
return
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
=
(
0x1f1f1f1f
)
&
(
bit
.
bnot
(
occupy
))
return
lock
end
end
function
c50224085
.
indtg
(
e
,
c
)
function
c50224085
.
indtg
(
e
,
c
)
local
tc
=
e
:
GetHandler
()
local
tc
=
e
:
GetHandler
()
...
...
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