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
74e7ec53
Commit
74e7ec53
authored
Mar 15, 2020
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix free chain continuous effect
close #293
parent
f58bba9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
processor.cpp
processor.cpp
+14
-2
No files found.
processor.cpp
View file @
74e7ec53
...
...
@@ -2169,7 +2169,7 @@ int32 field::process_idle_command(uint16 step) {
if
(
peffect
->
type
&
EFFECT_TYPE_CONTINUOUS
)
{
core
.
select_chains
.
clear
();
solve_continuous
(
peffect
->
get_handler_player
(),
peffect
,
nil_event
);
core
.
units
.
begin
()
->
step
=
-
1
;
core
.
units
.
begin
()
->
step
=
2
;
return
FALSE
;
}
card
*
phandler
=
peffect
->
get_handler
();
...
...
@@ -2240,6 +2240,12 @@ int32 field::process_idle_command(uint16 step) {
core
.
units
.
begin
()
->
step
=
-
1
;
return
FALSE
;
}
case
3
:
{
adjust_instant
();
add_process
(
PROCESSOR_POINT_EVENT
,
0
,
0
,
0
,
0
,
0
);
core
.
units
.
begin
()
->
step
=
-
1
;
return
FALSE
;
}
case
5
:
{
card
*
target
=
core
.
summonable_cards
[
returns
.
ivalue
[
0
]
>>
16
];
core
.
summon_cancelable
=
TRUE
;
...
...
@@ -2445,7 +2451,7 @@ int32 field::process_battle_command(uint16 step) {
if
(
peffect
->
type
&
EFFECT_TYPE_CONTINUOUS
)
{
core
.
select_chains
.
clear
();
solve_continuous
(
peffect
->
get_handler_player
(),
peffect
,
nil_event
);
core
.
units
.
begin
()
->
step
=
-
1
;
core
.
units
.
begin
()
->
step
=
13
;
return
FALSE
;
}
card
*
phandler
=
peffect
->
get_handler
();
...
...
@@ -2734,6 +2740,12 @@ int32 field::process_battle_command(uint16 step) {
adjust_all
();
return
FALSE
;
}
case
14
:
{
adjust_instant
();
add_process
(
PROCESSOR_POINT_EVENT
,
0
,
0
,
0
,
0
,
0
);
core
.
units
.
begin
()
->
step
=
-
1
;
return
FALSE
;
}
case
19
:
{
infos
.
phase
=
PHASE_DAMAGE
;
core
.
chain_attack
=
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