Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
876b26e3
Commit
876b26e3
authored
Nov 02, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 大逆転クイズ, SR吹持童子
■自分のデッキの枚数が0枚の場合、このカードを発動する事はできません。
parent
056a1c27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
c50482813.lua
c50482813.lua
+1
-0
c5990062.lua
c5990062.lua
+4
-0
No files found.
c50482813.lua
View file @
876b26e3
...
...
@@ -37,6 +37,7 @@ function c50482813.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c50482813
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c50482813
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
aux
.
ExceptThisCard
(
e
))
Duel
.
ConfirmDecktop
(
tp
,
ct
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
)
if
#
g
>
0
then
Duel
.
DisableShuffleCheck
()
...
...
c5990062.lua
View file @
876b26e3
...
...
@@ -5,6 +5,7 @@ function c5990062.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
c5990062
.
cost
)
e1
:
SetTarget
(
c5990062
.
target
)
e1
:
SetOperation
(
c5990062
.
activate
)
c
:
RegisterEffect
(
e1
)
end
...
...
@@ -17,6 +18,9 @@ function c5990062.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
and
not
g
:
IsExists
(
c5990062
.
cfilter
,
1
,
nil
)
end
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
c5990062
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
end
function
c5990062
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
local
tc
=
g
:
GetFirst
()
...
...
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