Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
2f943b70
Commit
2f943b70
authored
Sep 20, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Fabled monsters
parent
391ef4f8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
9 deletions
+15
-9
c24040093.lua
c24040093.lua
+1
-1
c26704411.lua
c26704411.lua
+1
-1
c29905795.lua
c29905795.lua
+5
-2
c46833854.lua
c46833854.lua
+1
-1
c55277252.lua
c55277252.lua
+5
-2
c94845226.lua
c94845226.lua
+1
-1
c97439806.lua
c97439806.lua
+1
-1
No files found.
c24040093.lua
View file @
2f943b70
...
...
@@ -23,7 +23,7 @@ function c24040093.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c24040093
.
filter
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
GetCode
()
~=
24040093
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetCode
()
~=
24040093
and
c
:
IsAbleToHand
()
end
function
c24040093
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c24040093
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c26704411.lua
View file @
2f943b70
...
...
@@ -14,7 +14,7 @@ function c26704411.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c26704411
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x35
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
Discardable
()
end
function
c26704411
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c26704411
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
c29905795.lua
View file @
2f943b70
...
...
@@ -10,15 +10,18 @@ function c29905795.initial_effect(c)
e1
:
SetOperation
(
c29905795
.
op
)
c
:
RegisterEffect
(
e1
)
end
function
c29905795
.
filter
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c29905795
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
(),
0x35
)
and
Duel
.
IsExistingMatchingCard
(
c29905795
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c29905795
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSetCard
,
tp
,
LOCATION_HAND
,
0
,
nil
,
0x35
)
local
g
=
Duel
.
GetMatchingGroup
(
c29905795
.
filter
,
tp
,
LOCATION_HAND
,
0
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
1
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
...
...
c46833854.lua
View file @
2f943b70
...
...
@@ -17,7 +17,7 @@ function c46833854.con(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
-
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>=
2
end
function
c46833854
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
not
c
:
IsPublic
()
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsPublic
()
end
function
c46833854
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
...
...
c55277252.lua
View file @
2f943b70
...
...
@@ -20,15 +20,18 @@ function c55277252.initial_effect(c)
e2
:
SetOperation
(
c55277252
.
op2
)
c
:
RegisterEffect
(
e2
)
end
function
c55277252
.
filter
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c55277252
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
(),
0x35
)
and
Duel
.
IsExistingMatchingCard
(
c55277252
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c55277252
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSetCard
,
tp
,
LOCATION_HAND
,
0
,
nil
,
0x35
)
local
g
=
Duel
.
GetMatchingGroup
(
c55277252
.
filter
,
tp
,
LOCATION_HAND
,
0
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
1
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
...
...
c94845226.lua
View file @
2f943b70
...
...
@@ -10,7 +10,7 @@ function c94845226.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c94845226
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x35
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
Discardable
()
end
function
c94845226
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c94845226
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
c97439806.lua
View file @
2f943b70
...
...
@@ -12,7 +12,7 @@ function c97439806.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c97439806
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
GetCode
()
~=
97439806
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetCode
()
~=
97439806
and
c
:
IsDiscardable
()
end
function
c97439806
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97439806
.
costfilter
,
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