Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
b5f7e98f
Commit
b5f7e98f
authored
Jun 11, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
process_phase_event()
parent
cea6155d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ocgcore/processor.cpp
ocgcore/processor.cpp
+3
-3
No files found.
ocgcore/processor.cpp
View file @
b5f7e98f
...
...
@@ -1401,7 +1401,7 @@ int32 field::process_phase_event(int16 step, int32 phase) {
returns.ivalue[0] = -1;
core.units.begin()->step = 1;
return FALSE;
} else if(tf_count
+
cn_count == 1 && to_count == 0 && fc_count == 0) {
} else if(tf_count
== 0 &&
cn_count == 1 && to_count == 0 && fc_count == 0) {
returns.ivalue[0] = 0;
core.units.begin()->step = 1;
return FALSE;
...
...
@@ -1572,7 +1572,7 @@ int32 field::process_phase_event(int16 step, int32 phase) {
returns.ivalue[0] = -1;
core.units.begin()->step = 11;
return FALSE;
} else if(tf_count
+
cn_count == 1 && to_count == 0 && fc_count == 0) {
} else if(tf_count
== 0 &&
cn_count == 1 && to_count == 0 && fc_count == 0) {
returns.ivalue[0] = 0;
core.units.begin()->step = 11;
return FALSE;
...
...
@@ -2273,7 +2273,7 @@ int32 field::process_quick_effect(int16 step, int32 skip_freechain, uint8 priori
}
}
}
if(core.current_chain.size() || (core.hint_timing[0]
&TIMING_ATTACK) || (core.hint_timing[1]&
TIMING_ATTACK))
if(core.current_chain.size() || (core.hint_timing[0]
& TIMING_ATTACK) || (core.hint_timing[1] &
TIMING_ATTACK))
core.spe_effect[priority] = core.select_chains.size();
if(!(core.duel_options & DUEL_NO_CHAIN_HINT) || core.select_chains.size())
add_process(PROCESSOR_SELECT_CHAIN, 0, 0, 0, priority, core.spe_effect[priority]);
...
...
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