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
8aa79c28
Commit
8aa79c28
authored
May 18, 2023
by
mercury233
Committed by
GitHub
May 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Duel.SwapDeckAndGrave (#497)
parent
61bf5a9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
field.cpp
field.cpp
+2
-0
No files found.
field.cpp
View file @
8aa79c28
...
...
@@ -1075,6 +1075,7 @@ void field::swap_deck_and_grave(uint8 playerid) {
pcard
->
apply_field_effect
();
pcard
->
enable_field_effect
(
true
);
pcard
->
reset
(
RESET_TODECK
,
RESET_EVENT
);
pcard
->
set_status
(
STATUS_PROC_COMPLETE
,
FALSE
);
}
for
(
auto
&
pcard
:
ex
)
{
pcard
->
current
.
position
=
POS_FACEDOWN_DEFENSE
;
...
...
@@ -1085,6 +1086,7 @@ void field::swap_deck_and_grave(uint8 playerid) {
pcard
->
apply_field_effect
();
pcard
->
enable_field_effect
(
true
);
pcard
->
reset
(
RESET_TODECK
,
RESET_EVENT
);
pcard
->
set_status
(
STATUS_PROC_COMPLETE
,
FALSE
);
}
player
[
playerid
].
list_extra
.
insert
(
player
[
playerid
].
list_extra
.
end
()
-
player
[
playerid
].
extra_p_count
,
ex
.
begin
(),
ex
.
end
());
reset_sequence
(
playerid
,
LOCATION_GRAVE
);
...
...
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