planeswalkers

This commit is contained in:
Kyle
2018-11-17 14:37:47 -08:00
parent 2ad4429516
commit ad268b7a1b
52 changed files with 177 additions and 18 deletions

View File

@@ -9,7 +9,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png">
<link rel="manifest" href="favicons/site.webmanifest">
<link rel="mask-icon" href="favicons/safari-pinned-tab.svg" color="#64ca2f">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="favicons/favicon.ico">
<meta name="msapplication-TileColor" content="#00a300">
<meta name="msapplication-config" content="favicons/browserconfig.xml">
<meta name="theme-color" content="#64ca2f">
@@ -40,6 +40,7 @@
<div onclick="toggleView('art', 'cmm')">Art</div>
<div onclick="toggleView('watermark', 'cmm')">Watermark</div>
<div onclick="toggleView('set', 'cmm')">Set</div>
<div onclick="toggleView('planeswalker', 'cmm')" style="font-size: 85%; display: none;" id="cmmPlaneswalker">Planeswalker</div>
<div onclick="toggleView('download', 'cmm')">Download</div>
</div>
<div class="cardManipulationMenu">
@@ -48,6 +49,7 @@
<span class="dropdown">
<select id="borderSelection" onchange="changeTemplate()">
<option value="m15/">M15</option>
<option value="planeswalker/">Planeswalker (M15)</option>
<option value="map/">Map (Ixalan)</option>
<option value="plane/">Plane</option>
<option value="8th/">8th</option>
@@ -168,7 +170,7 @@
<label for="checkboxCreature" />
<div>Power/Toughness</div>
</div>
<input id="inputPowerToughness" class="input" value="" type="text"></input>
<input id="inputPowerToughness" class="input" type="text"></input>
</div>
<div class="cmm" id="cmm-text">
Rules Text
@@ -234,10 +236,10 @@
<div>Set Symbol</div>
</div>
Set Code
<input type="text" onchange="loadSetSymbol()" value="hm" id="setSymbolCode" class="input"></input>
<input type="text" onchange="loadSetSymbol()" value="m19" id="setSymbolCode" class="input"></input>
<br>
Set Symbol Rarity
<input type="text" onchange="loadSetSymbol()" value="C" id="setSymbolRarity" class="input"></input>
<input type="text" onchange="loadSetSymbol()" value="m" id="setSymbolRarity" class="input"></input>
<br>
Custom Set Symbol
<input type="file" class="input" accept="image/*" onchange="loadImage(event, imgSetSymbol, true)" id="inputSetSymbol"></input>
@@ -297,6 +299,19 @@
Watermark Opacity
<input type="number" id="inputWatermarkOpacity" class="input" value="0.4" max="1" min="0" step="0.01"></input>
</div>
<div class="cmm" id="cmm-planeswalker">
Planeswalker Ability Line Height
<input type="number" id="abilityLine1" value="102" onchange="planeswalkerAbilityLines()">
<input type="number" id="abilityLine2" value="102" onchange="planeswalkerAbilityLines()">
<input type="number" id="abilityLine3" value="102" onchange="planeswalkerAbilityLines()">
<input type="number" id="abilityLine4" value="0" onchange="planeswalkerAbilityLines()">
These values set the height of each ability box of the planeswalker. For evenly spaced boxes use (145, 145) or (90, 90, 90)<br>
Planeswalker Ability Values
<input type="text" id="abilityValue0" value="+1">
<input type="text" id="abilityValue1" value="0">
<input type="text" id="abilityValue2" value="-1">
<input type="text" id="abilityValue3" value="">
</div>
</div>
</div>
</div>
@@ -310,13 +325,13 @@
</div>
<div class="extrasMenu">
<div class="extras shown" id="extras-symbolList">
Each of the following codes must include '<' before each code and '>' after. These codes aren't caps sensative.
Each of the following codes must include '<' before each code and '>' after. These codes aren't caps sensitive.
<div class="symbolGrid grid" id="symbolList">
</div>
</div>
<div class="extras" id="extras-codes">
Like the mana symbols, each of the following codes must include '<' before each code and '>' after. These codes are also caps sensative.<br/>
Like the mana symbols, each of the following codes must include '<' before each code and '>' after. These codes are caps sensitive.<br/>
&#8226 line &#8594 Skips to the next line<br/>
&#8226 bar &#8594 Just like line, except adds the bar that usually seperates flavor text<br/>
&#8226 lineNoSpace &#8594 Just like line, except stays closer to the previous line<br/>
@@ -328,7 +343,7 @@
&#8226 plane &#8594 Creates a large <img src="data/manaSymbols/56.png" style="height: 1em;"></img> and shifts the following text to the right. This is designed for planar cards.
</div>
<div class="extras" id="extras-set">
Every set in Magic: The Gathering has an associated 2-3 letter code. For example, Homelands is HM and Innistrad is ISD. This program uses the codes from <a href="http://gatherer.wizards.com" target="_blank">The Gatherer</a>, the official Magic card database. A handy list of all sets and their codes can be found on <a href="https://en.wikipedia.org/wiki/List_of_Magic:_The_Gathering_sets" target="_blank">Wikipedia</a>
Every set in Magic: The Gathering has an associated 2-3 letter code. For example, Homelands is HM and Innistrad is ISD. This program uses the codes from <a href="http://gatherer.wizards.com" target="_blank">The Gatherer</a>, the official Magic card database. A handy list of all sets and their codes can be found on <a href="https://en.wikipedia.org/wiki/List_of_Magic:_The_Gathering_sets" target="_blank">Wikipedia</a>. These codes aren't caps sensitive.
</div>
<div class="extras" id="extras-border">
Under the 'Card Border' tab use the following guidelines:<br/>