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
b7f99548
Commit
b7f99548
authored
Oct 09, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
effect_set_v
parent
4309e375
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
effectset.h
effectset.h
+1
-0
processor.cpp
processor.cpp
+3
-3
No files found.
effectset.h
View file @
b7f99548
...
...
@@ -101,6 +101,7 @@ struct effect_set_v {
effect
*&
at
(
int
index
)
{
return
container
[
index
];
}
private:
std
::
vector
<
effect
*>
container
;
int
count
;
};
...
...
processor.cpp
View file @
b7f99548
...
...
@@ -4906,7 +4906,7 @@ int32 field::refresh_location_info(uint16 step) {
return FALSE;
}
case 1: {
if
(
core
.
disfield_effects
.
count
==
0
)
{
if(core.disfield_effects.
size()
== 0) {
core.units.begin()->step = 2;
return FALSE;
}
...
...
@@ -4940,7 +4940,7 @@ int32 field::refresh_location_info(uint16 step) {
}
case 3: {
// If the blocking number is not reached, we should block more slots.
if
(
core
.
extram_effects
.
count
==
0
)
{
if(core.extram_effects.
size()
== 0) {
core.units.begin()->step = 4;
return FALSE;
}
...
...
@@ -4980,7 +4980,7 @@ int32 field::refresh_location_info(uint16 step) {
}
case 5: {
// EFFECT_USE_EXTRA_SZONE version
if
(
core
.
extras_effects
.
count
==
0
)
{
if(core.extras_effects.
size()
== 0) {
core.units.begin()->step = 6;
return FALSE;
}
...
...
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