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
825b66cf
Commit
825b66cf
authored
Jun 26, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Card.IsReleasableByEffect, close #169
parent
5ae805f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
card.cpp
card.cpp
+0
-11
No files found.
card.cpp
View file @
825b66cf
...
@@ -3361,17 +3361,6 @@ int32 card::is_releasable_by_nonsummon(uint8 playerid) {
...
@@ -3361,17 +3361,6 @@ int32 card::is_releasable_by_nonsummon(uint8 playerid) {
int32
card
::
is_releasable_by_effect
(
uint8
playerid
,
effect
*
peffect
)
{
int32
card
::
is_releasable_by_effect
(
uint8
playerid
,
effect
*
peffect
)
{
if
(
!
peffect
)
if
(
!
peffect
)
return
TRUE
;
return
TRUE
;
if
(
current
.
controler
!=
playerid
&&
!
is_affected_by_effect
(
EFFECT_EXTRA_RELEASE
))
{
effect_set
eset
;
filter_effect
(
EFFECT_EXTRA_RELEASE_NONSUM
,
&
eset
);
for
(
int32
i
=
0
;
i
<
eset
.
size
();
++
i
)
{
pduel
->
lua
->
add_param
(
peffect
,
PARAM_TYPE_EFFECT
);
pduel
->
lua
->
add_param
(
REASON_EFFECT
,
PARAM_TYPE_INT
);
pduel
->
lua
->
add_param
(
playerid
,
PARAM_TYPE_INT
);
if
(
!
eset
[
i
]
->
check_value_condition
(
3
))
return
FALSE
;
}
}
effect_set
eset
;
effect_set
eset
;
filter_effect
(
EFFECT_UNRELEASABLE_EFFECT
,
&
eset
);
filter_effect
(
EFFECT_UNRELEASABLE_EFFECT
,
&
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