Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
ab223c4e
Commit
ab223c4e
authored
May 05, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d74180b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
processor.cpp
processor.cpp
+6
-8
No files found.
processor.cpp
View file @
ab223c4e
...
@@ -4163,14 +4163,12 @@ int32 field::add_chain(uint16 step) {
...
@@ -4163,14 +4163,12 @@ int32 field::add_chain(uint16 step) {
pduel
->
lua
->
add_param
(
peffect
,
PARAM_TYPE_EFFECT
);
pduel
->
lua
->
add_param
(
peffect
,
PARAM_TYPE_EFFECT
);
pduel
->
lua
->
add_param
(
playerid
,
PARAM_TYPE_INT
);
pduel
->
lua
->
add_param
(
playerid
,
PARAM_TYPE_INT
);
auto
id
=
clit
.
required_handorset_effects
[
i
]
->
get_value
(
2
);
auto
id
=
clit
.
required_handorset_effects
[
i
]
->
get_value
(
2
);
if
(
id
)
{
if
(
!
id
||
ceffect_unique_id
!=
id
)
{
if
(
!
ceffect_unique_id
)
{
ceffect_unique_id
=
id
;
}
else
if
(
ceffect_unique_id
!=
id
)
{
// there are more than one types, so we can't skip
ceffect_unique_id
=
0
;
ceffect_unique_id
=
0
;
break
;
break
;
}
}
if
(
!
ceffect_unique_id
)
{
ceffect_unique_id
=
id
;
}
}
}
}
if
(
ceffect_unique_id
)
{
if
(
ceffect_unique_id
)
{
...
...
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