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
921c0565
Commit
921c0565
authored
Aug 31, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
dcc5ebdb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
ocgcore/card.cpp
ocgcore/card.cpp
+9
-1
No files found.
ocgcore/card.cpp
View file @
921c0565
...
@@ -1122,10 +1122,18 @@ uint32 card::get_rscale() {
...
@@ -1122,10 +1122,18 @@ uint32 card::get_rscale() {
temp.rscale = 0xffffffff;
temp.rscale = 0xffffffff;
return rscale;
return rscale;
}
}
//222DIY modded by Flandre
uint32 card::get_link_marker() {
uint32 card::get_link_marker() {
if(!(data.type & TYPE_LINK))
if(!(data.type & TYPE_LINK))
return 0;
return 0;
return
data
.
link_marker
;
effect_set effects;
uint32 link_marker = data.link_marker;
filter_effect(710253, &effects);
for (int32 i = 0; i < effects.size(); ++i) {
vlink = effects[i]->get_value(this);
link_marker = vlink;
}
return link_marker;
}
}
int32 card::is_link_marker(uint32 dir) {
int32 card::is_link_marker(uint32 dir) {
return (int32)(get_link_marker() & dir);
return (int32)(get_link_marker() & dir);
...
...
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