mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Add Alchemy symbol and stamp
This commit is contained in:

committed by
Josh birnholz

parent
fee626bc19
commit
8df4ac2d61
@@ -259,10 +259,10 @@ const setSymbolAliases = new Map([
|
||||
["pmei", "sld"],
|
||||
]);
|
||||
//Mana Symbols
|
||||
const mana = new Map();
|
||||
const mana = new Map();""
|
||||
// var manaSymbols = [];
|
||||
loadManaSymbols(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20',
|
||||
'w', 'u', 'b', 'r', 'g', 'c', 'x', 'y', 'z', 't', 'untap', 'e', 's', 'oldtap', 'originaltap', 'purple', "a", "inf"]);
|
||||
'w', 'u', 'b', 'r', 'g', 'c', 'x', 'y', 'z', 't', 'untap', 'e', 's', 'oldtap', 'originaltap', 'purple', "a", "inf", "alchemy"]);
|
||||
loadManaSymbols(['wu', 'wb', 'ub', 'ur', 'br', 'bg', 'rg', 'rw', 'gw', 'gu', '2w', '2u', '2b', '2r', '2g', 'wp', 'up', 'bp', 'rp', 'gp', 'p',
|
||||
'wup', 'wbp', 'ubp', 'urp', 'brp', 'bgp', 'rgp', 'rwp', 'gwp', 'gup', 'purplew', 'purpleu', 'purpleb', 'purpler', 'purpleg',
|
||||
'2purple', 'purplep'], [1.2, 1.2]);
|
||||
@@ -3102,7 +3102,9 @@ function changeCardIndex() {
|
||||
//text
|
||||
var langFontCode = "";
|
||||
if (cardToImport.lang == "ph") {langFontCode = "{fontphyrexian}"}
|
||||
if (card.text.title) {card.text.title.text = langFontCode + curlyQuotes(cardToImport.name || '');}
|
||||
var name = cardToImport.name || '';
|
||||
if (name.startsWith('A-')) { name = name.replace('A-', '{alchemy}'); }
|
||||
if (card.text.title) {card.text.title.text = langFontCode + curlyQuotes(name);}
|
||||
if (card.text.nickname) {card.text.nickname.text = cardToImport.flavor_name || '';}
|
||||
if (card.text.mana) {card.text.mana.text = cardToImport.mana_cost || '';}
|
||||
if (card.text.type) {card.text.type.text = langFontCode + cardToImport.type_line || '';}
|
||||
|
@@ -14,7 +14,8 @@ availableFrames = [
|
||||
{name:'Artifact (3) Holo Stamp', src:'/img/frames/m15/holoStamps/m15HoloStampA3.png', bounds:bounds},
|
||||
{name:'Plain Holo Stamp', src:'/img/frames/m15/holoStamps/stamp.png', bounds:{x:0.4554, y:0.9172, width:0.0894, height:0.0320}},
|
||||
{name:'Gray Holo Stamp', src:'/img/frames/m15/holoStamps/gray.png', bounds:{x:0.4554, y:0.9172, width:0.0894, height:0.0320}},
|
||||
{name:'Acorn Holo Stamp', src:'/img/frames/m15/holoStamps/acorn.png', bounds:{x:0.4554, y:0.9129, width:0.0894, height:0.0381}}
|
||||
{name:'Acorn Holo Stamp', src:'/img/frames/m15/holoStamps/acorn.png', bounds:{x:0.4554, y:0.9129, width:0.0894, height:0.0381}},
|
||||
{name:'Alchemy Holo Stamp', src:'/img/frames/m15/holoStamps/alchemy.png', bounds:{x:0.4554, y:0.9172, width:0.0894, height:0.0320}},
|
||||
];
|
||||
//disables/enables the "Load Frame Version" button
|
||||
document.querySelector('#loadFrameVersion').disabled = true;
|
||||
|
Reference in New Issue
Block a user