Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
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
magicseteditor
Commits
28e42ea3
Commit
28e42ea3
authored
Mar 02, 2011
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
underscores in field names
parent
ab481ba7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/data/format/apprentice.cpp
src/data/format/apprentice.cpp
+5
-5
No files found.
src/data/format/apprentice.cpp
View file @
28e42ea3
...
@@ -423,12 +423,12 @@ class ApprCardRecord : public IntrusivePtrBase<ApprCardRecord> {
...
@@ -423,12 +423,12 @@ class ApprCardRecord : public IntrusivePtrBase<ApprCardRecord> {
ApprCardRecord
::
ApprCardRecord
(
const
Card
&
card
,
const
String
&
sets_
)
{
ApprCardRecord
::
ApprCardRecord
(
const
Card
&
card
,
const
String
&
sets_
)
{
name
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"name"
)).
value
);
name
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"name"
)).
value
);
sets
=
sets_
+
_
(
"-"
)
+
card_rarity_code
(
card
.
value
<
ChoiceValue
>
(
_
(
"rarity"
)).
value
);
sets
=
sets_
+
_
(
"-"
)
+
card_rarity_code
(
card
.
value
<
ChoiceValue
>
(
_
(
"rarity"
)).
value
);
cc
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"casting
cost"
)).
value
);
cc
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"casting
_
cost"
)).
value
);
type
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"super
type"
)).
value
);
type
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"super
_
type"
)).
value
);
String
subType
=
untag
(
card
.
value
<
TextValue
>
(
_
(
"sub
type"
)).
value
);
String
subType
=
untag
(
card
.
value
<
TextValue
>
(
_
(
"sub
_
type"
)).
value
);
if
(
!
subType
.
empty
())
type
+=
_
(
" - "
)
+
subType
;
if
(
!
subType
.
empty
())
type
+=
_
(
" - "
)
+
subType
;
text
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"rule
text"
)).
value
);
text
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"rule
_
text"
)).
value
);
flavor
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"flavor
text"
)).
value
);
flavor
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"flavor
_
text"
)).
value
);
pt
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"pt"
)).
value
);
pt
=
untag_appr
(
card
.
value
<
TextValue
>
(
_
(
"pt"
)).
value
);
}
}
...
...
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