Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
yks
pre-release-database-cdb
Commits
2c5c1d62
Commit
2c5c1d62
authored
Mar 12, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刻魔修复
parent
c3c8c2c0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
script/c101205046.lua
script/c101205046.lua
+5
-1
script/c101205047.lua
script/c101205047.lua
+5
-1
No files found.
script/c101205046.lua
View file @
2c5c1d62
...
...
@@ -68,7 +68,11 @@ end
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
tp
)
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
or
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsControler
(
1
-
tp
)
or
not
tc
:
IsLocation
(
LOCATION_MZONE
)
then
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
)
return
end
if
not
Duel
.
Equip
(
tp
,
c
,
tc
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c101205047.lua
View file @
2c5c1d62
...
...
@@ -114,7 +114,11 @@ end
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
tp
)
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
or
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsControler
(
1
-
tp
)
or
not
tc
:
IsLocation
(
LOCATION_MZONE
)
then
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
)
return
end
if
not
Duel
.
Equip
(
tp
,
c
,
tc
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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