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
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
nanahira
ygopro-core
Commits
0eec9ae4
Commit
0eec9ae4
authored
Sep 27, 2022
by
Aephiex
Committed by
GitHub
Sep 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Card.IsSpecialSummonableCard (#474)
parent
11772de2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
card.cpp
card.cpp
+6
-3
No files found.
card.cpp
View file @
0eec9ae4
...
@@ -3000,9 +3000,12 @@ int32 card::is_summonable_card() {
...
@@ -3000,9 +3000,12 @@ int32 card::is_summonable_card() {
int32
card
::
is_spsummonable_card
()
{
int32
card
::
is_spsummonable_card
()
{
if
(
!
(
data
.
type
&
TYPE_MONSTER
))
if
(
!
(
data
.
type
&
TYPE_MONSTER
))
return
FALSE
;
return
FALSE
;
if
(
is_affected_by_effect
(
EFFECT_REVIVE_LIMIT
)
&&
!
is_status
(
STATUS_PROC_COMPLETE
)
if
(
is_affected_by_effect
(
EFFECT_REVIVE_LIMIT
)
&&
!
is_status
(
STATUS_PROC_COMPLETE
))
{
&&
(
current
.
location
&
(
LOCATION_GRAVE
|
LOCATION_REMOVED
|
LOCATION_SZONE
)))
if
(
current
.
location
&
(
LOCATION_GRAVE
|
LOCATION_REMOVED
|
LOCATION_SZONE
))
return
FALSE
;
if
((
data
.
type
&
TYPE_PENDULUM
)
&&
current
.
location
==
LOCATION_EXTRA
&&
(
current
.
position
&
POS_FACEUP
))
return
FALSE
;
return
FALSE
;
}
effect_set
eset
;
effect_set
eset
;
filter_effect
(
EFFECT_SPSUMMON_CONDITION
,
&
eset
);
filter_effect
(
EFFECT_SPSUMMON_CONDITION
,
&
eset
);
for
(
int32
i
=
0
;
i
<
eset
.
size
();
++
i
)
{
for
(
int32
i
=
0
;
i
<
eset
.
size
();
++
i
)
{
...
...
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