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
BIN
img/frames/m15/holoStamps/alchemy.png
Normal file
BIN
img/frames/m15/holoStamps/alchemy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
BIN
img/frames/m15/holoStamps/alchemyThumb.png
Normal file
BIN
img/frames/m15/holoStamps/alchemyThumb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
1
img/manaSymbols/alchemy.svg
Normal file
1
img/manaSymbols/alchemy.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg width="637" height="637" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><radialGradient cx="44.766%" cy="12.596%" fx="44.766%" fy="12.596%" r="119.667%" id="a"><stop stop-color="#FDFFF7" offset="0%"/><stop stop-color="#DFA841" offset="100%"/></radialGradient><filter x="-1.1%" y="-1.1%" width="102.2%" height="102.2%" filterUnits="objectBoundingBox" id="c"><feMorphology radius="1" in="SourceAlpha" result="shadowSpreadInner1"/><feGaussianBlur stdDeviation="3" in="shadowSpreadInner1" result="shadowBlurInner1"/><feOffset dx="3" dy="4" in="shadowBlurInner1" result="shadowOffsetInner1"/><feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.697862318 0" in="shadowInnerInner1" result="shadowMatrixInner1"/><feGaussianBlur stdDeviation="4.5" in="SourceAlpha" result="shadowBlurInner2"/><feOffset dx="-4" dy="-4" in="shadowBlurInner2" result="shadowOffsetInner2"/><feComposite in="shadowOffsetInner2" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner2"/><feColorMatrix values="0 0 0 0 0.310880357 0 0 0 0 0.310880357 0 0 0 0 0.310880357 0 0 0 0.5 0" in="shadowInnerInner2" result="shadowMatrixInner2"/><feMerge><feMergeNode in="shadowMatrixInner1"/><feMergeNode in="shadowMatrixInner2"/></feMerge></filter><path d="M318.222 24c162.495 0 294.222 131.728 294.222 294.222 0 162.495-131.727 294.222-294.222 294.222C155.728 612.444 24 480.717 24 318.222 24 155.728 155.728 24 318.222 24Zm-11.5 156.722-65.5 144h77c-20.666 4-45.333 23.667-74 59-28.666 35.334-37.666 92.5-27 171.5 77.334 35.334 157.5 28.834 240.5-19.5l-151-355Zm-34-123c-71 10-125.833 44.667-164.5 104-61 91.334-63.833 190.667-8.5 298l160.5-350c9-17.333 13.167-34.666 12.5-52Zm104.5 3.5c-2 20.667 1.334 41.167 10 61.5l153.5 334c51.334-100.666 53.834-189.833 7.5-267.5-41-68.333-98-111-171-128Z" id="b"/></defs><g fill="none" fill-rule="evenodd"><circle fill="#000" cx="318.5" cy="318.5" r="318.5"/><use fill="url(#a)" xlink:href="#b"/><use fill="#000" filter="url(#c)" xlink:href="#b"/></g></svg>
|
After Width: | Height: | Size: 2.1 KiB |
@@ -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