Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-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
八宫一月
ygopro-THC-cards
Commits
71cf2514
Commit
71cf2514
authored
Jan 12, 2022
by
oilloillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update:只有对方怪兽可以作为素材时无需询问是否需要选择对方怪兽作为素材
parent
fbf0f1a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
script/c999013.lua
script/c999013.lua
+2
-1
No files found.
script/c999013.lua
View file @
71cf2514
...
@@ -236,7 +236,8 @@ function M.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -236,7 +236,8 @@ function M.spop(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
if
sg1
:
IsContains
(
tc
)
and
(
sg3
==
nil
or
not
sg3
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
sg1
:
IsContains
(
tc
)
and
(
sg3
==
nil
or
not
sg3
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
tc
:
IsRace
(
RACE_PLANT
)
and
sg2
:
IsContains
(
tc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
Mid
,
3
))
then
local
noNeedAsk
=
not
tc
:
CheckFusionMaterial
(
mg1
)
if
tc
:
IsRace
(
RACE_PLANT
)
and
sg2
:
IsContains
(
tc
)
and
(
noNeedAsk
or
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
Mid
,
3
)))
then
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg2
,
c
,
chkf
)
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg2
,
c
,
chkf
)
tc
:
SetMaterial
(
mat1
)
tc
:
SetMaterial
(
mat1
)
Duel
.
ConfirmCards
(
1
-
tp
,
mat1
)
Duel
.
ConfirmCards
(
1
-
tp
,
mat1
)
...
...
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