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
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
MyCard
ygopro-core
Commits
b8454686
Commit
b8454686
authored
Dec 24, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Fluorohydride/ygopro-core
parents
2348adfa
70d367f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
operations.cpp
operations.cpp
+4
-4
No files found.
operations.cpp
View file @
b8454686
...
...
@@ -4560,7 +4560,7 @@ int32 field::operation_replace(uint16 step, effect* replace_effect, group* targe
target
->
current
.
reason_player
=
target
->
temp
.
reason_player
;
if
(
is_destroy
)
core
.
destroy_canceled
.
insert
(
target
);
replace_effect->dec_count();
replace_effect
->
dec_count
(
replace_effect
->
get_handler_player
()
);
}
else
core
.
units
.
begin
()
->
step
=
2
;
return
FALSE
;
...
...
@@ -4627,7 +4627,7 @@ int32 field::operation_replace(uint16 step, effect* replace_effect, group* targe
targets
->
container
.
erase
(
rm
);
}
}
replace_effect->dec_count();
replace_effect
->
dec_count
(
replace_effect
->
get_handler_player
()
);
}
else
core
.
units
.
begin
()
->
step
=
7
;
return
FALSE
;
...
...
@@ -4689,7 +4689,7 @@ int32 field::operation_replace(uint16 step, effect* replace_effect, group* targe
target
->
current
.
reason_player
=
target
->
temp
.
reason_player
;
if
(
is_destroy
)
core
.
destroy_canceled
.
insert
(
target
);
replace_effect->dec_count();
replace_effect
->
dec_count
(
replace_effect
->
get_handler_player
()
);
core
.
desrep_chain
.
push_back
(
core
.
continuous_chain
.
front
());
}
core
.
continuous_chain
.
pop_front
();
...
...
@@ -4738,7 +4738,7 @@ int32 field::operation_replace(uint16 step, effect* replace_effect, group* targe
targets
->
container
.
erase
(
rm
);
}
}
replace_effect->dec_count();
replace_effect
->
dec_count
(
replace_effect
->
get_handler_player
()
);
core
.
desrep_chain
.
push_back
(
core
.
continuous_chain
.
front
());
}
core
.
continuous_chain
.
pop_front
();
...
...
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