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
103fceb4
Commit
103fceb4
authored
May 28, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update attack/defence calculation
parent
989261c2
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
316 additions
and
99 deletions
+316
-99
card.cpp
card.cpp
+314
-96
card.h
card.h
+2
-3
No files found.
card.cpp
View file @
103fceb4
This diff is collapsed.
Click to expand it.
card.h
View file @
103fceb4
...
...
@@ -162,11 +162,10 @@ public:
int32
is_pre_set_card
(
uint32
set_code
);
int32
is_fusion_set_card
(
uint32
set_code
);
uint32
get_type
();
int32
get_base_attack
(
uint8
swap
=
FALSE
);
int32
get_base_attack
();
int32
get_attack
();
int32
get_base_defence
(
uint8
swap
=
FALSE
);
int32
get_base_defence
();
int32
get_defence
();
void
calc_attack_defence
(
int32
*
pbatk
,
int32
*
pbdef
,
int32
*
patk
,
int32
*
pdef
);
uint32
get_level
();
uint32
get_rank
();
uint32
get_synchro_level
(
card
*
pcard
);
...
...
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