Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-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
苍蓝
rd-ygopro
Commits
249f3eb1
Commit
249f3eb1
authored
Jul 24, 2015
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2396aef3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
ocgcore/processor.cpp
ocgcore/processor.cpp
+1
-3
script/c89397517.lua
script/c89397517.lua
+1
-1
No files found.
ocgcore/processor.cpp
View file @
249f3eb1
...
...
@@ -5229,16 +5229,14 @@ int32 field::adjust_step(uint16 step) {
res
=
eset
.
size
()
?
TRUE
:
FALSE
;
if
(
res
)
{
card
*
pcard
;
effect_set ctrleff;
for
(
uint8
p
=
0
;
p
<
2
;
++
p
)
{
for
(
uint8
i
=
0
;
i
<
5
;
++
i
)
{
pcard
=
player
[
p
].
list_mzone
[
i
];
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
);
}
}
}
}
core
.
remove_brainwashing
=
res
;
}
return
FALSE
;
...
...
script/c89397517.lua
View file @
249f3eb1
...
...
@@ -47,7 +47,7 @@ function c89397517.activate(e,tp,eg,ep,ev,re,r,rp)
rmg
:
Remove
(
Card
.
IsCode
,
nil
,
tc
:
GetCode
())
g
:
AddCard
(
tc
)
ct
=
ct
-
1
until
ct
<
1
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
89397517
,
1
))
until
ct
<
1
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
89397517
,
0
))
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
ct
=
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
while
ct
>
0
do
...
...
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