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
f9e9eca2
Commit
f9e9eca2
authored
Oct 16, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fe020efd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
processor.cpp
processor.cpp
+9
-2
No files found.
processor.cpp
View file @
f9e9eca2
...
@@ -5083,6 +5083,7 @@ int32 field::adjust_step(uint16 step) {
...
@@ -5083,6 +5083,7 @@ int32 field::adjust_step(uint16 step) {
}
}
case
5
:
{
case
5
:
{
//remove brainwashing
//remove brainwashing
bool
re_adjust
=
false
;
if
(
core
.
global_flag
&
GLOBALFLAG_BRAINWASHING_CHECK
)
{
if
(
core
.
global_flag
&
GLOBALFLAG_BRAINWASHING_CHECK
)
{
effect_set
eset
;
effect_set
eset
;
uint32
res
=
0
;
uint32
res
=
0
;
...
@@ -5093,14 +5094,20 @@ int32 field::adjust_step(uint16 step) {
...
@@ -5093,14 +5094,20 @@ int32 field::adjust_step(uint16 step) {
for
(
uint8
i
=
0
;
i
<
5
;
++
i
)
{
for
(
uint8
i
=
0
;
i
<
5
;
++
i
)
{
card
*
pcard
=
player
[
p
].
list_mzone
[
i
];
card
*
pcard
=
player
[
p
].
list_mzone
[
i
];
// remove EFFECT_SET_CONTROL
// remove EFFECT_SET_CONTROL
if
(
pcard
&&
pcard
->
is_affected_by_effect
(
EFFECT_REMOVE_BRAINWASHING
))
if
(
pcard
&&
pcard
->
is_affected_by_effect
(
EFFECT_REMOVE_BRAINWASHING
))
{
pcard
->
reset
(
EFFECT_SET_CONTROL
,
RESET_CODE
);
pcard
->
reset
(
EFFECT_SET_CONTROL
,
RESET_CODE
);
if
(
p
!=
pcard
->
owner
)
re_adjust
=
true
;
}
}
}
}
}
}
}
core
.
remove_brainwashing
=
res
;
core
.
remove_brainwashing
=
res
;
}
}
core
.
units
.
begin
()
->
step
=
7
;
if
(
re_adjust
)
core
.
units
.
begin
()
->
step
=
3
;
else
core
.
units
.
begin
()
->
step
=
7
;
return
FALSE
;
return
FALSE
;
}
}
case
6
:
{
case
6
:
{
...
...
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