Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
c8cc0f34
Commit
c8cc0f34
authored
May 05, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8f172f57
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
ocgcore/processor.cpp
ocgcore/processor.cpp
+1
-0
script/c17955766.lua
script/c17955766.lua
+1
-1
script/c78734254.lua
script/c78734254.lua
+1
-1
No files found.
ocgcore/processor.cpp
View file @
c8cc0f34
...
@@ -4595,6 +4595,7 @@ int32 field::adjust_step(uint16 step) {
...
@@ -4595,6 +4595,7 @@ int32 field::adjust_step(uint16 step) {
}
}
}
}
core
.
deck_reversed
=
res
;
core
.
deck_reversed
=
res
;
eset
.
clear
();
filter_field_effect
(
EFFECT_REMOVE_BRAINWASHING
,
&
eset
,
FALSE
);
filter_field_effect
(
EFFECT_REMOVE_BRAINWASHING
,
&
eset
,
FALSE
);
res
=
eset
.
count
?
TRUE
:
FALSE
;
res
=
eset
.
count
?
TRUE
:
FALSE
;
if
(
res
&&
!
core
.
remove_brainwashing
)
{
if
(
res
&&
!
core
.
remove_brainwashing
)
{
...
...
script/c17955766.lua
View file @
c8cc0f34
...
@@ -30,7 +30,7 @@ function c17955766.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c17955766.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
if
tc
then
if
tc
then
local
atk
=
tc
:
GetAttack
()
local
atk
=
tc
:
GetAttack
()
if
atk
>
0
and
Duel
.
IsExistingMatchingCard
(
c17955766
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
atk
)
then
if
atk
>
=
0
and
Duel
.
IsExistingMatchingCard
(
c17955766
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
atk
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
else
else
...
...
script/c78734254.lua
View file @
c8cc0f34
...
@@ -37,7 +37,7 @@ function c78734254.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,7 +37,7 @@ function c78734254.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
if
tc
then
if
tc
then
local
atk
=
tc
:
GetAttack
()
local
atk
=
tc
:
GetAttack
()
if
atk
>
0
and
Duel
.
IsExistingMatchingCard
(
c78734254
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
atk
)
then
if
atk
>
=
0
and
Duel
.
IsExistingMatchingCard
(
c78734254
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
atk
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
end
end
...
...
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