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
xiaoye
ygopro-core
Commits
62a5cb65
Commit
62a5cb65
authored
Jul 09, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some handling of link spell
parent
4fce02f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
card.cpp
card.cpp
+3
-3
No files found.
card.cpp
View file @
62a5cb65
...
@@ -1259,7 +1259,8 @@ uint32 card::get_link_marker() {
...
@@ -1259,7 +1259,8 @@ uint32 card::get_link_marker() {
effect_set
effects
;
effect_set
effects
;
effect_set
effects2
;
effect_set
effects2
;
uint32
link_marker
=
data
.
link_marker
;
uint32
link_marker
=
data
.
link_marker
;
if
(
!
(
data
.
type
&
TYPE_LINK
))
{
if
(
!
(
data
.
type
&
TYPE_LINK
)
||
current
.
location
==
LOCATION_SZONE
)
{
link_marker
=
0
;
effect_set
effects3
;
effect_set
effects3
;
filter_effect
(
EFFECT_LINK_SPELL_KOISHI
,
&
effects3
);
filter_effect
(
EFFECT_LINK_SPELL_KOISHI
,
&
effects3
);
if
(
!
effects3
.
size
())
if
(
!
effects3
.
size
())
...
@@ -1269,8 +1270,7 @@ uint32 card::get_link_marker() {
...
@@ -1269,8 +1270,7 @@ uint32 card::get_link_marker() {
if
(
!
(
effects3
[
i
]
->
type
&
EFFECT_TYPE_FIELD
)
||
!
(
ocard
&&
ocard
->
get_status
(
STATUS_TO_LEAVE_FROMEX
)))
if
(
!
(
effects3
[
i
]
->
type
&
EFFECT_TYPE_FIELD
)
||
!
(
ocard
&&
ocard
->
get_status
(
STATUS_TO_LEAVE_FROMEX
)))
link_marker
=
effects3
[
i
]
->
get_value
(
this
);
link_marker
=
effects3
[
i
]
->
get_value
(
this
);
}
}
}
else
if
(
current
.
location
==
LOCATION_SZONE
)
}
return
0
;
filter_effect
(
EFFECT_ADD_LINK_MARKER_KOISHI
,
&
effects
,
FALSE
);
filter_effect
(
EFFECT_ADD_LINK_MARKER_KOISHI
,
&
effects
,
FALSE
);
filter_effect
(
EFFECT_REMOVE_LINK_MARKER_KOISHI
,
&
effects
);
filter_effect
(
EFFECT_REMOVE_LINK_MARKER_KOISHI
,
&
effects
);
filter_effect
(
EFFECT_CHANGE_LINK_MARKER_KOISHI
,
&
effects2
);
filter_effect
(
EFFECT_CHANGE_LINK_MARKER_KOISHI
,
&
effects2
);
...
...
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