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
Ruby
pre-release-database-cdb
Commits
5ade4f70
Commit
5ade4f70
authored
Jul 29, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 原石竜インペリアル・ドラゴン
parent
26895e0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
script/c101206013.lua
script/c101206013.lua
+5
-4
No files found.
script/c101206013.lua
View file @
5ade4f70
...
...
@@ -35,16 +35,16 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
drop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
tbfilter
(
c
)
return
c
:
IsType
(
TYPE_NORMAL
)
function
s
.
tbfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
s
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tbfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tbfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
c
:
GetControler
()
)
return
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
g
,
c
:
GetControler
())
end
function
s
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tbfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tbfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
tg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
g
)
c
:
SetMaterial
(
tg
)
Duel
.
Release
(
tg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
@@ -109,6 +109,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e2
)
tc
=
g
:
GetNext
()
end
Duel
.
AdjustInstantly
()
Duel
.
BreakEffect
()
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
rmfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
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