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
MyCard
pre-release-database-cdb
Commits
5e6bbc2b
Commit
5e6bbc2b
authored
Jan 28, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix エンシェント・フェアリー・ライフ・ドラゴン
parent
d405c62f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
ALIN.cdb
ALIN.cdb
+0
-0
script/c101208039.lua
script/c101208039.lua
+6
-7
No files found.
ALIN.cdb
View file @
5e6bbc2b
No preview for this file type
script/c101208039.lua
View file @
5e6bbc2b
...
@@ -34,17 +34,16 @@ function s.thfilter(c)
...
@@ -34,17 +34,16 @@ function s.thfilter(c)
return
(
c
:
IsCode
(
101208071
)
or
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_BEAST
+
RACE_FAIRY
+
RACE_PLANT
))
and
c
:
IsAbleToHand
()
return
(
c
:
IsCode
(
101208071
)
or
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_BEAST
+
RACE_FAIRY
+
RACE_PLANT
))
and
c
:
IsAbleToHand
()
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
flag
=
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceupEx
,
Card
.
IsCode
),
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
101208055
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceupEx
,
Card
.
IsCode
),
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
101208055
)
if
chk
==
0
then
return
flag
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
or
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
or
not
flag
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
th
=
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceupEx
,
Card
.
IsCode
),
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
101208055
)
local
flag
=
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceupEx
,
Card
.
IsCode
),
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
101208055
)
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
if
not
flag
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
if
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
(
not
th
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
)))
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
elseif
th
then
elseif
flag
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
#
g
>
0
then
if
#
g
>
0
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