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
79448f8f
Commit
79448f8f
authored
Jan 17, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no man
parent
233bce31
Pipeline
#32620
passed with stages
in 47 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c12866725.lua
expansions/script/c12866725.lua
+4
-4
No files found.
expansions/script/c12866725.lua
View file @
79448f8f
...
...
@@ -42,12 +42,12 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
local
tc
=
g
:
GetFirst
()
while
tc
do
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
0
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
tc
=
g
:
GetNext
()
end
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
id
)
>=
13
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
return
Duel
.
GetFlagEffect
(
0
,
id
)
>=
13
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
end
function
s
.
desfilter
(
c
,
tp
)
return
c
:
GetSequence
()
<=
4
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
)
>
0
...
...
@@ -83,9 +83,9 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_DESTROY
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
#
g
,
nil
)
local
lp
=
Duel
.
GetLP
(
e
:
GetHandlerPlayer
()
)
local
lp
=
Duel
.
GetLP
(
tp
)
local
ct
=
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
if
ct
>
0
then
Duel
.
SetLP
(
e
:
GetHandlerPlayer
()
,
lp
-
ct
*
500
)
Duel
.
SetLP
(
tp
,
lp
-
ct
*
500
)
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