Skip to content

Commit

Permalink
Add Paranormal (DSK) frame
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbirnholz committed Sep 8, 2024
1 parent f648dc0 commit 2312727
Show file tree
Hide file tree
Showing 59 changed files with 76 additions and 0 deletions.
Binary file added img/frames/m15/paranormal/a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/aThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/bThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/aThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/bThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/g.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/gThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/mThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/r.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/rThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/u.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/uThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/w.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/crown/wThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/g.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/gThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/mThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/pt/a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/pt/aThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/pt/b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/frames/m15/paranormal/pt/bThumb.png
Binary file added img/frames/m15/paranormal/pt/g.png
Binary file added img/frames/m15/paranormal/pt/gThumb.png
Binary file added img/frames/m15/paranormal/pt/m.png
Binary file added img/frames/m15/paranormal/pt/mThumb.png
Binary file added img/frames/m15/paranormal/pt/r.png
Binary file added img/frames/m15/paranormal/pt/rThumb.png
Binary file added img/frames/m15/paranormal/pt/u.png
Binary file added img/frames/m15/paranormal/pt/uThumb.png
Binary file added img/frames/m15/paranormal/pt/w.png
Binary file added img/frames/m15/paranormal/pt/wThumb.png
Binary file added img/frames/m15/paranormal/r.png
Binary file added img/frames/m15/paranormal/rThumb.png
Binary file added img/frames/m15/paranormal/stamp/a.png
Binary file added img/frames/m15/paranormal/stamp/aThumb.png
Binary file added img/frames/m15/paranormal/stamp/b.png
Binary file added img/frames/m15/paranormal/stamp/bThumb.png
Binary file added img/frames/m15/paranormal/stamp/g.png
Binary file added img/frames/m15/paranormal/stamp/gThumb.png
Binary file added img/frames/m15/paranormal/stamp/m.png
Binary file added img/frames/m15/paranormal/stamp/mThumb.png
Binary file added img/frames/m15/paranormal/stamp/r.png
Binary file added img/frames/m15/paranormal/stamp/rThumb.png
Binary file added img/frames/m15/paranormal/stamp/u.png
Binary file added img/frames/m15/paranormal/stamp/uThumb.png
Binary file added img/frames/m15/paranormal/stamp/w.png
Binary file added img/frames/m15/paranormal/stamp/wThumb.png
Binary file added img/frames/m15/paranormal/u.png
Binary file added img/frames/m15/paranormal/uThumb.png
Binary file added img/frames/m15/paranormal/w.png
Binary file added img/frames/m15/paranormal/wThumb.png
1 change: 1 addition & 0 deletions js/frameSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const frameNames = new Map ([
['Colorshifted (Planar Chaos)', 'Colorshifted'],
['Brawl Legend Crowns', 'Brawl'],
//showcase
['Paranormal (DSK)', 'Paranormal'],
['Bloomburrow Borderless (BLB)', 'BloomburrowBorderless'],
['Woodland (BLB)', 'Woodland'],
['Memory Corridor (ACR) (Assassin\'s Creed)', 'MemoryCorridor'],
Expand Down
1 change: 1 addition & 0 deletions js/frames/groupShowcase-5.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
loadFramePacks([
{name:'Set Showcase Frames (Chronological)', value:'disabled'},
{name:'Paranormal (DSK)', value:'Paranormal'},
{name:'Bloomburrow Borderless (BLB)', value:'BloomburrowBorderless'},
{name:'Woodland (BLB)', value:'Woodland'},
{name:'Memory Corridor (ACR)', value:'MemoryCorridor'},
Expand Down
74 changes: 74 additions & 0 deletions js/frames/packParanormal.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
//Create objects for common properties across available frames
var ptBounds = {x:1552/2010, y:2461/2814, width:406/2010, height:211/2814};
var crownBounds = {x:161/2010, y:39/2814, width:1656/2010, height:43/2814};
var stampBounds = {x:858/2010, y:2532/2814, width:284/2010, height:131/2814};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/m15/paranormal/w.png'},
{name:'Blue Frame', src:'/img/frames/m15/paranormal/u.png'},
{name:'Black Frame', src:'/img/frames/m15/paranormal/b.png'},
{name:'Red Frame', src:'/img/frames/m15/paranormal/r.png'},
{name:'Green Frame', src:'/img/frames/m15/paranormal/g.png'},
{name:'Multicolored Frame', src:'/img/frames/m15/paranormal/m.png'},
{name:'Artifact Frame', src:'/img/frames/m15/paranormal/a.png'},
{name:'Land Frame', src:'/img/frames/m15/paranormal/l.png'},

{name:'White Power/Toughness', src:'/img/frames/m15/paranormal/pt/w.png', bounds:ptBounds},
{name:'Blue Power/Toughness', src:'/img/frames/m15/paranormal/pt/u.png', bounds:ptBounds},
{name:'Black Power/Toughness', src:'/img/frames/m15/paranormal/pt/b.png', bounds:ptBounds},
{name:'Red Power/Toughness', src:'/img/frames/m15/paranormal/pt/r.png', bounds:ptBounds},
{name:'Green Power/Toughness', src:'/img/frames/m15/paranormal/pt/g.png', bounds:ptBounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/paranormal/pt/m.png', bounds:ptBounds},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/paranormal/pt/a.png', bounds:ptBounds},
{name:'Land Power/Toughness', src:'/img/frames/m15/paranormal/pt/l.png', bounds:ptBounds},

{name:'White Legend Crown', src:'/img/frames/m15/paranormal/crown/w.png', bounds:crownBounds},
{name:'Blue Legend Crown', src:'/img/frames/m15/paranormal/crown/u.png', bounds:crownBounds},
{name:'Black Legend Crown', src:'/img/frames/m15/paranormal/crown/b.png', bounds:crownBounds},
{name:'Red Legend Crown', src:'/img/frames/m15/paranormal/crown/r.png', bounds:crownBounds},
{name:'Green Legend Crown', src:'/img/frames/m15/paranormal/crown/g.png', bounds:crownBounds},
{name:'Multicolored Legend Crown', src:'/img/frames/m15/paranormal/crown/m.png', bounds:crownBounds},
{name:'Artifact Legend Crown', src:'/img/frames/m15/paranormal/crown/a.png', bounds:crownBounds},
{name:'Land Legend Crown', src:'/img/frames/m15/paranormal/crown/l.png', bounds:crownBounds},

{name:'White Holo Stamp', src:'/img/frames/m15/paranormal/stamp/w.png', bounds:stampBounds},
{name:'Blue Holo Stamp', src:'/img/frames/m15/paranormal/stamp/u.png', bounds:stampBounds},
{name:'Black Holo Stamp', src:'/img/frames/m15/paranormal/stamp/b.png', bounds:stampBounds},
{name:'Red Holo Stamp', src:'/img/frames/m15/paranormal/stamp/r.png', bounds:stampBounds},
{name:'Green Holo Stamp', src:'/img/frames/m15/paranormal/stamp/g.png', bounds:stampBounds},
{name:'Multicolored Holo Stamp', src:'/img/frames/m15/paranormal/stamp/m.png', bounds:stampBounds},
{name:'Artifact Holo Stamp', src:'/img/frames/m15/paranormal/stamp/a.png', bounds:stampBounds},
{name:'Land Holo Stamp', src:'/img/frames/m15/paranormal/stamp/l.png', bounds:stampBounds},
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = async function() {
//resets things so that every frame doesn't have to
await resetCardIrregularities();
//sets card version
card.version = 'paranormal';
//art bounds
card.artBounds = {x:157/2010, y:327/2814, width:1577/2010, height:1203/2814};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9213, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305};
resetWatermark();
//text
loadTextOptions({
mana: {name:'Mana Cost', text:'', y:141/2814, width:0.9292, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0},
title: {name:'Title', text:'', x:0.0854, y:110/2814, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, color:'white'},
type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, color:'white'},
rules: {name:'Rules Text', text:'', x:172/2010, y:1789/2814, width:1664/2010, height:792/2814, size:0.0362, color:'white'},
pt: {name:'Power/Toughness', text:'', x:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'}
});
}
//loads available frames
loadFramePack();
//Only for the main version as the webpage loads:
if (!card.text) {
document.querySelector('#loadFrameVersion').click();
}

0 comments on commit 2312727

Please sign in to comment.