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
c08a8bd3
Commit
c08a8bd3
authored
Jul 01, 2012
by
Fluorohydride
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #129 from VanillaSalt/patch02
fix Gemini
parents
ea5e9392
56d0c140
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ocgcore/operations.cpp
ocgcore/operations.cpp
+3
-2
No files found.
ocgcore/operations.cpp
View file @
c08a8bd3
...
@@ -1243,10 +1243,10 @@ int32 field::summon(uint16 step, uint8 sumplayer, card * target, effect * proc,
...
@@ -1243,10 +1243,10 @@ int32 field::summon(uint16 step, uint8 sumplayer, card * target, effect * proc,
core
.
temp_var
[
0
]
=
0
;
core
.
temp_var
[
0
]
=
0
;
if
(
!
ignore_count
)
{
if
(
!
ignore_count
)
{
returns
.
ivalue
[
0
]
=
FALSE
;
returns
.
ivalue
[
0
]
=
FALSE
;
effect
*
pextra
=
target
->
is_affected_by_effect
(
EFFECT_EXTRA_SUMMON_COUNT
);
effect
*
pextra
=
core
.
extra_summon
[
sumplayer
]
?
0
:
target
->
is_affected_by_effect
(
EFFECT_EXTRA_SUMMON_COUNT
);
if
(
pextra
)
{
if
(
pextra
)
{
core
.
temp_var
[
0
]
=
(
ptr
)
pextra
;
core
.
temp_var
[
0
]
=
(
ptr
)
pextra
;
if
(
core
.
summon_count
[
sumplayer
]
<
get_summon_count_limit
(
sumplayer
))
if
(
pextra
->
value
&&
(
core
.
summon_count
[
sumplayer
]
<
get_summon_count_limit
(
sumplayer
)
))
add_process
(
PROCESSOR_SELECT_YESNO
,
0
,
0
,
0
,
sumplayer
,
91
);
add_process
(
PROCESSOR_SELECT_YESNO
,
0
,
0
,
0
,
sumplayer
,
91
);
else
else
returns
.
ivalue
[
0
]
=
TRUE
;
returns
.
ivalue
[
0
]
=
TRUE
;
...
@@ -1259,6 +1259,7 @@ int32 field::summon(uint16 step, uint8 sumplayer, card * target, effect * proc,
...
@@ -1259,6 +1259,7 @@ int32 field::summon(uint16 step, uint8 sumplayer, card * target, effect * proc,
if
(
!
returns
.
ivalue
[
0
])
if
(
!
returns
.
ivalue
[
0
])
core
.
summon_count
[
sumplayer
]
++
;
core
.
summon_count
[
sumplayer
]
++
;
else
if
(
core
.
temp_var
[
0
])
{
else
if
(
core
.
temp_var
[
0
])
{
core
.
extra_summon
[
sumplayer
]
=
TRUE
;
effect
*
pextra
=
(
effect
*
)
core
.
temp_var
[
0
];
effect
*
pextra
=
(
effect
*
)
core
.
temp_var
[
0
];
pextra
->
get_value
(
target
);
pextra
->
get_value
(
target
);
}
}
...
...
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