Add missing XP field (and note about Victory)
This commit is contained in:
parent
d1801add7a
commit
6c9bed5fe0
@ -115,12 +115,14 @@ var card_data = {
|
|||||||
sanity: parseInt(Component.settings.get('Sanity')) || null,
|
sanity: parseInt(Component.settings.get('Sanity')) || null,
|
||||||
slot: String(slot),
|
slot: String(slot),
|
||||||
strength: skills["Combat"],
|
strength: skills["Combat"],
|
||||||
|
// TODO: should also handle "Victory" field
|
||||||
text: substitute_tags(String(
|
text: substitute_tags(String(
|
||||||
Component.settings.get('Keywords') + '\n' + Component.settings.get('Rules'))),
|
Component.settings.get('Keywords') + '\n' + Component.settings.get('Rules'))),
|
||||||
traits: substitute_tags(String(Component.settings.get('Traits'))),
|
traits: substitute_tags(String(Component.settings.get('Traits'))),
|
||||||
type_code: card_types[Component.getFrontTemplateKey()],
|
type_code: card_types[Component.getFrontTemplateKey()],
|
||||||
wild: skills["Wild"],
|
wild: skills["Wild"],
|
||||||
will: skills["Willpower"],
|
will: skills["Willpower"],
|
||||||
|
xp: parseInt(Component.settings.get('Level')) || null,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (Component.settings.get('CardClass2') != 'None') {
|
if (Component.settings.get('CardClass2') != 'None') {
|
||||||
|
Loading…
Reference in New Issue
Block a user