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
Soulgamer
ygopro-222DIY-cards
Commits
7eacc811
Commit
7eacc811
authored
May 10, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
str
parent
1e9566eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
18 deletions
+17
-18
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33501033.lua
expansions/script/c33501033.lua
+17
-18
No files found.
expansions/222DIY.cdb
View file @
7eacc811
No preview for this file type
expansions/script/c33501033.lua
View file @
7eacc811
...
@@ -23,7 +23,7 @@ function cm.initial_effect(c)
...
@@ -23,7 +23,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
re
:
GetHandler
()
local
tc
=
re
:
GetHandler
()
if
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
~=
e
:
GetHandler
(
)
then
Sre_setbackt
[
1
]
=
tc
Sre_setbackt
[
1
]
=
tc
end
end
end
end
...
@@ -32,30 +32,29 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -32,30 +32,29 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
Sre_setbackt
[
1
]
~=
0
then
if
Sre_setbackt
[
1
]
~=
0
then
res
=
Sre_setbackt
[
1
]
res
=
Sre_setbackt
[
1
]
end
end
if
chk
==
0
then
return
res
and
res
:
IsControler
(
1
-
tp
)
and
res
:
IsLocation
(
LOCATION_ONFIELD
)
and
res
:
IsControlerCanBeChanged
()
end
if
chk
==
0
then
return
res
and
res
:
IsControler
(
1
-
tp
)
and
res
:
IsLocation
(
LOCATION_ONFIELD
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
Sre_setbackt
[
1
],
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
Sre_setbackt
[
1
],
1
,
0
,
0
)
end
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Sre_setbackt
[
1
]
local
tc
=
Sre_setbackt
[
1
]
if
tc
:
IsRelateToEffect
(
e
)
then
if
not
c
:
IsLocation
(
LOCATION_ONFIELD
)
then
return
end
if
tc
:
IsLocation
(
LOCATION_MZONE
)
then
if
tc
:
IsLocation
(
LOCATION_MZONE
)
then
Duel
.
GetControl
(
tc
,
tp
)
Duel
.
GetControl
(
tc
,
tp
)
elseif
tc
:
IsLocation
(
LOCATION_FZONE
)
then
elseif
tc
:
IsLocation
(
LOCATION_FZONE
)
then
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_FZONE
,
0
)
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_FZONE
,
0
)
if
fc
then
if
fc
then
Duel
.
SendtoGrave
(
fc
,
REASON_RULE
)
Duel
.
SendtoGrave
(
fc
,
REASON_RULE
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
end
end
local
pos
=
tc
:
GetPosition
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_FZONE
,
pos
,
true
)
else
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
local
pos
=
tc
:
GetPosition
()
local
pos
=
tc
:
GetPosition
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
F
ZONE
,
pos
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
S
ZONE
,
pos
,
true
)
else
else
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
local
pos
=
tc
:
GetPosition
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
pos
,
true
)
else
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
end
end
end
end
end
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsCanTurnSet
()
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsCanTurnSet
()
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
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