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
f93acf45
Commit
f93acf45
authored
Sep 22, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
emergency
parent
fd8f58fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c50221310.lua
expansions/script/c50221310.lua
+1
-1
expansions/script/c50221315.lua
expansions/script/c50221315.lua
+2
-2
expansions/script/c50221320.lua
expansions/script/c50221320.lua
+2
-2
No files found.
expansions/script/c50221310.lua
View file @
f93acf45
...
...
@@ -18,7 +18,7 @@ function c50221310.mfilter(c)
return
c
:
IsSetCard
(
0xcb3
)
end
function
c50221310
.
thcfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
+
TYPE_RITUAL
)
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
IsAbleToGraveAsCost
()
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c50221310
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50221310
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
expansions/script/c50221315.lua
View file @
f93acf45
...
...
@@ -29,7 +29,7 @@ function c50221315.cost(e,tp,eg,ep,ev,re,r,rp,chk)
return
true
end
function
c50221315
.
costfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xcb3
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c50221315
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetAttribute
())
end
function
c50221315
.
spfilter
(
c
,
e
,
tp
,
attr
)
...
...
@@ -60,7 +60,7 @@ function c50221315.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c50221315
.
thcfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
+
TYPE_RITUAL
)
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
IsAbleToGraveAsCost
()
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c50221315
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50221315
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
expansions/script/c50221320.lua
View file @
f93acf45
...
...
@@ -28,7 +28,7 @@ function c50221320.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsChainNegatable
(
ev
)
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
end
function
c50221320
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0xcb3
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c50221320
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c50221320
.
cfilter
,
1
,
nil
)
end
...
...
@@ -48,7 +48,7 @@ function c50221320.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c50221320
.
thcfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
+
TYPE_RITUAL
)
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
IsAbleToGraveAsCost
()
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c50221320
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50221320
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
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