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
15fe600c
Commit
15fe600c
authored
Nov 11, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hop
parent
9ec26065
Pipeline
#31097
passed with stages
in 49 minutes and 54 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
19 deletions
+11
-19
expansions/script/c60002010.lua
expansions/script/c60002010.lua
+11
-19
No files found.
expansions/script/c60002010.lua
View file @
15fe600c
...
@@ -83,7 +83,7 @@ function cm.cvop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,7 +83,7 @@ function cm.cvop2(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
cm
.
filter
(
c
,
e
,
re
)
function
cm
.
efilter
(
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
and
re
:
IsActivated
()
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
and
re
:
IsActivated
()
end
end
function
cm
.
ofilter
(
c
)
function
cm
.
ofilter
(
c
)
...
@@ -91,29 +91,21 @@ function cm.ofilter(c)
...
@@ -91,29 +91,21 @@ function cm.ofilter(c)
end
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
t
=
Duel
.
GetFlagEffect
(
tp
,
60002009
)
local
t
=
Duel
.
GetFlagEffect
(
tp
,
60002009
)
if
Duel
.
GetTurnCount
()
+
t
>=
2
then
if
Duel
.
GetTurnCount
()
+
t
>=
2
and
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
then
if
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xa620
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsLevelAbove
,
9
))
e1
:
SetValue
(
cm
.
filter
)
e1
:
SetValue
(
cm
.
efilter
)
if
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
then
e1
:
SetReset
(
RESET_PHASE
+
PHASE_MAIN1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_MAIN1
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_MAIN1
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_MAIN1
,
0
,
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
else
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xa620
))
e1
:
SetValue
(
cm
.
filter
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_MAIN2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_MAIN2
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_MAIN2
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_MAIN2
,
0
,
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
Duel
.
RegisterFlagEffect
(
tp
,
60002009
,
RESET_PHASE
+
PHASE_END
,
0
,
1000
)
Duel
.
RegisterFlagEffect
(
tp
,
60002009
,
RESET_PHASE
+
PHASE_END
,
0
,
1000
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
ofilter
,
tp
,
LOCATION_FZONE
,
0
,
1
,
c
)
then
if
Duel
.
IsExistingMatchingCard
(
cm
.
ofilter
,
tp
,
LOCATION_FZONE
,
0
,
1
,
c
)
then
...
...
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