mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Update Invocation power/toughness import + margins
This commit is contained in:
@@ -3544,7 +3544,13 @@ function changeCardIndex() {
|
||||
card.text.rules.text += curlyQuotes(flavorText.replace('\n', '{lns}'));
|
||||
}
|
||||
}
|
||||
if (card.text.pt) {card.text.pt.text = cardToImport.power + '/' + cardToImport.toughness || '';}
|
||||
if (card.text.pt) {
|
||||
if (card.version == 'invocation') {
|
||||
card.text.pt.text = cardToImport.power + '\n' + cardToImport.toughness || '';
|
||||
} else {
|
||||
card.text.pt.text = cardToImport.power + '/' + cardToImport.toughness || '';
|
||||
}
|
||||
}
|
||||
if (card.text.pt && card.text.pt.text == undefined + '/' + undefined) {card.text.pt.text = '';}
|
||||
if (card.version.includes('planeswalker')) {
|
||||
card.text.loyalty.text = cardToImport.loyalty || '';
|
||||
|
Reference in New Issue
Block a user