diff --git a/img/frames/modal/crownNickname.svg b/img/frames/modal/crownNickname.svg new file mode 100644 index 00000000..7dd1e8d1 --- /dev/null +++ b/img/frames/modal/crownNickname.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/img/frames/modal/crownNicknameThumb.png b/img/frames/modal/crownNicknameThumb.png new file mode 100644 index 00000000..cf16a5a6 Binary files /dev/null and b/img/frames/modal/crownNicknameThumb.png differ diff --git a/img/frames/modal/crownRegular.svg b/img/frames/modal/crownRegular.svg new file mode 100644 index 00000000..59bb7548 --- /dev/null +++ b/img/frames/modal/crownRegular.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/img/frames/modal/crownRegularThumb.png b/img/frames/modal/crownRegularThumb.png new file mode 100644 index 00000000..850e80ad Binary files /dev/null and b/img/frames/modal/crownRegularThumb.png differ diff --git a/img/frames/modal/crownTitle.svg b/img/frames/modal/crownTitle.svg new file mode 100644 index 00000000..00b3dc34 --- /dev/null +++ b/img/frames/modal/crownTitle.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/img/frames/modal/crownTitleThumb.png b/img/frames/modal/crownTitleThumb.png new file mode 100644 index 00000000..1db81fd6 Binary files /dev/null and b/img/frames/modal/crownTitleThumb.png differ diff --git a/img/frames/modal/crowns/cutout.svg b/img/frames/modal/crowns/cutout.svg new file mode 100644 index 00000000..db171430 --- /dev/null +++ b/img/frames/modal/crowns/cutout.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/img/frames/modal/crowns/cutoutThumb.png b/img/frames/modal/crowns/cutoutThumb.png new file mode 100644 index 00000000..5f4d0c15 Binary files /dev/null and b/img/frames/modal/crowns/cutoutThumb.png differ diff --git a/img/frames/modal/crowns/floating/a.png b/img/frames/modal/crowns/floating/a.png new file mode 100644 index 00000000..6d1b4fd7 Binary files /dev/null and b/img/frames/modal/crowns/floating/a.png differ diff --git a/img/frames/modal/crowns/floating/aThumb.png b/img/frames/modal/crowns/floating/aThumb.png new file mode 100644 index 00000000..277f4bc9 Binary files /dev/null and b/img/frames/modal/crowns/floating/aThumb.png differ diff --git a/img/frames/modal/crowns/floating/b.png b/img/frames/modal/crowns/floating/b.png new file mode 100644 index 00000000..6de55c85 Binary files /dev/null and b/img/frames/modal/crowns/floating/b.png differ diff --git a/img/frames/modal/crowns/floating/bThumb.png b/img/frames/modal/crowns/floating/bThumb.png new file mode 100644 index 00000000..d64af492 Binary files /dev/null and b/img/frames/modal/crowns/floating/bThumb.png differ diff --git a/img/frames/modal/crowns/floating/g.png b/img/frames/modal/crowns/floating/g.png new file mode 100644 index 00000000..0bbfc144 Binary files /dev/null and b/img/frames/modal/crowns/floating/g.png differ diff --git a/img/frames/modal/crowns/floating/gThumb.png b/img/frames/modal/crowns/floating/gThumb.png new file mode 100644 index 00000000..169e1352 Binary files /dev/null and b/img/frames/modal/crowns/floating/gThumb.png differ diff --git a/img/frames/modal/crowns/floating/l.png b/img/frames/modal/crowns/floating/l.png new file mode 100644 index 00000000..d8c945f2 Binary files /dev/null and b/img/frames/modal/crowns/floating/l.png differ diff --git a/img/frames/modal/crowns/floating/lThumb.png b/img/frames/modal/crowns/floating/lThumb.png new file mode 100644 index 00000000..8e221b3e Binary files /dev/null and b/img/frames/modal/crowns/floating/lThumb.png differ diff --git a/img/frames/modal/crowns/floating/m.png b/img/frames/modal/crowns/floating/m.png new file mode 100644 index 00000000..3b627454 Binary files /dev/null and b/img/frames/modal/crowns/floating/m.png differ diff --git a/img/frames/modal/crowns/floating/mThumb.png b/img/frames/modal/crowns/floating/mThumb.png new file mode 100644 index 00000000..b0b5d66e Binary files /dev/null and b/img/frames/modal/crowns/floating/mThumb.png differ diff --git a/img/frames/modal/crowns/floating/r.png b/img/frames/modal/crowns/floating/r.png new file mode 100644 index 00000000..18c45983 Binary files /dev/null and b/img/frames/modal/crowns/floating/r.png differ diff --git a/img/frames/modal/crowns/floating/rThumb.png b/img/frames/modal/crowns/floating/rThumb.png new file mode 100644 index 00000000..876539c1 Binary files /dev/null and b/img/frames/modal/crowns/floating/rThumb.png differ diff --git a/img/frames/modal/crowns/floating/u.png b/img/frames/modal/crowns/floating/u.png new file mode 100644 index 00000000..9bb7671a Binary files /dev/null and b/img/frames/modal/crowns/floating/u.png differ diff --git a/img/frames/modal/crowns/floating/uThumb.png b/img/frames/modal/crowns/floating/uThumb.png new file mode 100644 index 00000000..f00234a5 Binary files /dev/null and b/img/frames/modal/crowns/floating/uThumb.png differ diff --git a/img/frames/modal/crowns/floating/w.png b/img/frames/modal/crowns/floating/w.png new file mode 100644 index 00000000..b16d585b Binary files /dev/null and b/img/frames/modal/crowns/floating/w.png differ diff --git a/img/frames/modal/crowns/floating/wThumb.png b/img/frames/modal/crowns/floating/wThumb.png new file mode 100644 index 00000000..9b5aef79 Binary files /dev/null and b/img/frames/modal/crowns/floating/wThumb.png differ diff --git a/img/frames/modal/crowns/regular/w.png b/img/frames/modal/crowns/regular/w.png new file mode 100644 index 00000000..39a60d83 Binary files /dev/null and b/img/frames/modal/crowns/regular/w.png differ diff --git a/js/frames/groupModal-1.js b/js/frames/groupModal-1.js index c0e54bd9..c426f606 100644 --- a/js/frames/groupModal-1.js +++ b/js/frames/groupModal-1.js @@ -3,7 +3,7 @@ loadFramePacks([ {name:'Nickname', value:'ModalShortNickname'}, {name:'Addons', value:'disabled'}, {name:'Legend Crowns', value:'M15LegendCrowns'}, - {name:'Floating Legend Crowns', value:'M15LegendCrownsFloating'}, + {name:'Floating Legend Crowns', value:'ModalLegendCrownsFloating'}, {name:'Inner Crowns', value:'M15InnerCrowns'}, {name:'Holo Stamps', value:'M15HoloStamps'}, {name:'Dark Power/Toughness', value:'M15DarkPT'}, diff --git a/js/frames/packModalLegendCrownsFloating.js b/js/frames/packModalLegendCrownsFloating.js new file mode 100644 index 00000000..0fb69c1e --- /dev/null +++ b/js/frames/packModalLegendCrownsFloating.js @@ -0,0 +1,22 @@ +//Create objects for common properties across available frames +var bounds = {x:0.0307, y:0.0191, width:0.9387, height:0.1024}; +//defines available frames +availableFrames = [ + {name:'White Legend Crown', src:'/img/frames/modal/crowns/floating/w.png', bounds:bounds}, + {name:'Blue Legend Crown', src:'/img/frames/modal/crowns/floating/u.png', bounds:bounds}, + {name:'Black Legend Crown', src:'/img/frames/modal/crowns/floating/b.png', bounds:bounds}, + {name:'Red Legend Crown', src:'/img/frames/modal/crowns/floating/r.png', bounds:bounds}, + {name:'Green Legend Crown', src:'/img/frames/modal/crowns/floating/g.png', bounds:bounds}, + {name:'Multicolored Legend Crown', src:'/img/frames/modal/crowns/floating/m.png', bounds:bounds}, + {name:'Artifact Legend Crown', src:'/img/frames/modal/crowns/floating/a.png', bounds:bounds}, + {name:'Land Legend Crown', src:'/img/frames/modal/crowns/floating/l.png', bounds:bounds}, + {name:'Legend Crown Border Cover', src:'/img/black.png', bounds:{x:0.0394, y:0.0277, width:0.9214, height:0.0177}}, + {name:'Legend Crown Cutout', src:'/img/frames/modal/crowns/cutout.svg', erase:true}, + {name:'Legend Crown Outline', src:'/img/frames/m15/crowns/m15CrownFloatingOutline.png', bounds:{x:0.028, y:0.0172, width:0.944, height:0.1062}} +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = true; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = null; +//loads available frames +loadFramePack(); \ No newline at end of file