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
ea2bbe55
Commit
ea2bbe55
authored
May 02, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b558d83f
Pipeline
#35819
passed with stages
in 44 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
expansions/script/c31750117.lua
expansions/script/c31750117.lua
+1
-4
No files found.
expansions/script/c31750117.lua
View file @
ea2bbe55
...
@@ -48,7 +48,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -48,7 +48,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local
max
=
c
:
GetOverlayCount
()
local
max
=
c
:
GetOverlayCount
()
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
)
if
max
>
ct
then
max
=
ct
end
if
max
>
ct
then
max
=
ct
end
local
num
=
Duel
.
Announce
Number
(
tp
,
1
,
max
)
local
num
=
Duel
.
Announce
Level
(
tp
,
1
,
max
)
c
:
RemoveOverlayCard
(
tp
,
num
,
num
,
REASON_COST
)
c
:
RemoveOverlayCard
(
tp
,
num
,
num
,
REASON_COST
)
e
:
SetLabel
(
num
)
e
:
SetLabel
(
num
)
end
end
...
@@ -89,9 +89,6 @@ function s.imcon(e)
...
@@ -89,9 +89,6 @@ function s.imcon(e)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsDefensePos
()
and
c
:
GetTurnID
()
==
Duel
.
GetTurnCount
()
return
c
:
IsDefensePos
()
and
c
:
GetTurnID
()
==
Duel
.
GetTurnCount
()
end
end
function
s
.
efilter
(
c
,
pos
,
tg
)
return
tg
:
IsContains
(
c
)
and
c
:
IsPosition
(
pos
)
end
function
s
.
efilter
(
e
,
te
)
function
s
.
efilter
(
e
,
te
)
return
te
:
GetOwnerPlayer
()
~=
e
:
GetOwnerPlayer
()
and
re
:
IsActivated
()
return
te
:
GetOwnerPlayer
()
~=
e
:
GetOwnerPlayer
()
and
re
:
IsActivated
()
end
end
\ No newline at end of file
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