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
REIKAI
ygopro-222DIY-cards
Commits
004af1e8
Commit
004af1e8
authored
Jan 11, 2025
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c12400099.lua
parent
a3c3b4cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
expansions/script/c12400099.lua
expansions/script/c12400099.lua
+7
-5
No files found.
expansions/script/c12400099.lua
View file @
004af1e8
...
...
@@ -72,10 +72,11 @@ function s.neop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
end
if
(
re
:
GetHandler
():
IsType
(
TYPE_SPELL
)
or
re
:
GetHandler
():
IsType
(
TYPE_TRAP
)
)
and
tc
:
IsCanTurnSet
()
then
if
Duel
.
SSet
(
tp
,
tc
)
~=
0
then
return
end
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEDOWN
,
true
)
if
(
re
:
GetHandler
():
IsType
(
TYPE_SPELL
)
or
re
:
GetHandler
():
IsType
(
TYPE_TRAP
)
)
then
if
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
then
local
fid
=
e
:
GetHandler
():
GetFieldID
()
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -88,6 +89,7 @@ function s.neop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
s
.
rmop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
end
...
...
@@ -102,10 +104,10 @@ end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
return
rp
==
1
-
tp
and
Duel
.
IsExistingMatchingCard
(
s
.
disfilter
,
tp
,
LOCATION_
MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
re
)
return
rp
==
1
-
tp
and
Duel
.
IsExistingMatchingCard
(
s
.
disfilter
,
tp
,
LOCATION_
ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
re
)
end
function
s
.
disfilter
(
c
,
re
)
return
c
:
GetCode
()
==
re
:
GetHandler
():
GetCode
()
and
re
:
GetHandler
():
IsFaceup
()
and
c
:
IsFaceup
()
return
c
:
GetCode
()
==
re
:
GetHandler
():
GetCode
()
and
c
:
IsFaceup
()
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateEffect
(
ev
)
...
...
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