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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
6d05e605
Commit
6d05e605
authored
Jul 12, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
c10a24b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
expansions/script/c5012609.lua
expansions/script/c5012609.lua
+2
-2
expansions/script/c50224540.lua
expansions/script/c50224540.lua
+3
-2
No files found.
expansions/script/c5012609.lua
View file @
6d05e605
...
...
@@ -69,7 +69,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
c
.
MoJin
==
true
end
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
...
...
@@ -109,7 +109,7 @@ function s.gsptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
LOCATION_EXTRA
+
LOCATION_REMOVED
)
end
function
s
.
eqfilter
(
c
)
return
c
:
IsFaceupEx
()
and
c
.
MoJin
==
true
and
not
c
:
IsForbidden
()
return
c
:
IsFaceupEx
()
and
c
.
MoJin
==
true
and
not
c
:
IsForbidden
()
and
not
c
:
IsCode
(
5012632
)
end
function
s
.
gspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c50224540.lua
View file @
6d05e605
...
...
@@ -51,8 +51,9 @@ function c50224540.damfilter(c,e,tp)
if
not
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
or
not
c
:
IsPreviousControler
(
1
-
tp
)
then
return
false
end
local
seq
=
c
:
GetPreviousSequence
()
if
seq
==
5
then
seq
=
1
elseif
seq
==
6
then
seq
=
3
end
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousControler
(
1
-
tp
)
and
e
:
GetHandler
():
GetSequence
()
==
(
4
-
seq
)
local
cseq
=
e
:
GetHandler
():
GetSequence
()
if
cseq
==
5
then
cseq
=
1
elseif
cseq
==
6
then
cseq
=
3
end
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousControler
(
1
-
tp
)
and
cseq
==
(
4
-
seq
)
end
function
c50224540
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c50224540
.
damfilter
,
1
,
nil
,
e
,
tp
)
...
...
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