diff --git a/data/borders/m15/artifact/darkTitle.png b/data/borders/m15/artifact/darkTitle.png
new file mode 100644
index 00000000..dfefd34a
Binary files /dev/null and b/data/borders/m15/artifact/darkTitle.png differ
diff --git a/data/borders/m15/artifact/darkframe.png b/data/borders/m15/artifact/darkframe.png
new file mode 100644
index 00000000..c365f84c
Binary files /dev/null and b/data/borders/m15/artifact/darkframe.png differ
diff --git a/data/borders/m15/artifact/darkmiracle.png b/data/borders/m15/artifact/darkmiracle.png
new file mode 100644
index 00000000..ff7e1cee
Binary files /dev/null and b/data/borders/m15/artifact/darkmiracle.png differ
diff --git a/data/borders/m15/artifact/darkpt.png b/data/borders/m15/artifact/darkpt.png
new file mode 100644
index 00000000..1ed50325
Binary files /dev/null and b/data/borders/m15/artifact/darkpt.png differ
diff --git a/data/borders/m15/black/darkTitle.png b/data/borders/m15/black/darkTitle.png
new file mode 100644
index 00000000..0648b53c
Binary files /dev/null and b/data/borders/m15/black/darkTitle.png differ
diff --git a/data/borders/m15/black/darkframe.png b/data/borders/m15/black/darkframe.png
new file mode 100644
index 00000000..6c3728d1
Binary files /dev/null and b/data/borders/m15/black/darkframe.png differ
diff --git a/data/borders/m15/black/darkmiracle.png b/data/borders/m15/black/darkmiracle.png
new file mode 100644
index 00000000..b1ac5c60
Binary files /dev/null and b/data/borders/m15/black/darkmiracle.png differ
diff --git a/data/borders/m15/black/darkpt.png b/data/borders/m15/black/darkpt.png
new file mode 100644
index 00000000..273ecca8
Binary files /dev/null and b/data/borders/m15/black/darkpt.png differ
diff --git a/data/borders/m15/blackLand/darkTitle.png b/data/borders/m15/blackLand/darkTitle.png
new file mode 100644
index 00000000..0648b53c
Binary files /dev/null and b/data/borders/m15/blackLand/darkTitle.png differ
diff --git a/data/borders/m15/blackLand/darkframe.png b/data/borders/m15/blackLand/darkframe.png
new file mode 100644
index 00000000..6a3c961a
Binary files /dev/null and b/data/borders/m15/blackLand/darkframe.png differ
diff --git a/data/borders/m15/blackLand/darkmiracle.png b/data/borders/m15/blackLand/darkmiracle.png
new file mode 100644
index 00000000..b1ac5c60
Binary files /dev/null and b/data/borders/m15/blackLand/darkmiracle.png differ
diff --git a/data/borders/m15/blackLand/darkpt.png b/data/borders/m15/blackLand/darkpt.png
new file mode 100644
index 00000000..273ecca8
Binary files /dev/null and b/data/borders/m15/blackLand/darkpt.png differ
diff --git a/data/borders/m15/blue/darkTitle.png b/data/borders/m15/blue/darkTitle.png
new file mode 100644
index 00000000..60d4ee05
Binary files /dev/null and b/data/borders/m15/blue/darkTitle.png differ
diff --git a/data/borders/m15/blue/darkframe.png b/data/borders/m15/blue/darkframe.png
new file mode 100644
index 00000000..5af4ec60
Binary files /dev/null and b/data/borders/m15/blue/darkframe.png differ
diff --git a/data/borders/m15/blue/darkmiracle.png b/data/borders/m15/blue/darkmiracle.png
new file mode 100644
index 00000000..034a6d9c
Binary files /dev/null and b/data/borders/m15/blue/darkmiracle.png differ
diff --git a/data/borders/m15/blue/darkpt.png b/data/borders/m15/blue/darkpt.png
new file mode 100644
index 00000000..e7f6da44
Binary files /dev/null and b/data/borders/m15/blue/darkpt.png differ
diff --git a/data/borders/m15/blueLand/darkTitle.png b/data/borders/m15/blueLand/darkTitle.png
new file mode 100644
index 00000000..60d4ee05
Binary files /dev/null and b/data/borders/m15/blueLand/darkTitle.png differ
diff --git a/data/borders/m15/blueLand/darkframe.png b/data/borders/m15/blueLand/darkframe.png
new file mode 100644
index 00000000..c6d9a896
Binary files /dev/null and b/data/borders/m15/blueLand/darkframe.png differ
diff --git a/data/borders/m15/blueLand/darkmiracle.png b/data/borders/m15/blueLand/darkmiracle.png
new file mode 100644
index 00000000..034a6d9c
Binary files /dev/null and b/data/borders/m15/blueLand/darkmiracle.png differ
diff --git a/data/borders/m15/blueLand/darkpt.png b/data/borders/m15/blueLand/darkpt.png
new file mode 100644
index 00000000..e7f6da44
Binary files /dev/null and b/data/borders/m15/blueLand/darkpt.png differ
diff --git a/data/borders/m15/colorless/darkTitle.png b/data/borders/m15/colorless/darkTitle.png
new file mode 100644
index 00000000..c41c850e
Binary files /dev/null and b/data/borders/m15/colorless/darkTitle.png differ
diff --git a/data/borders/m15/colorless/darkframe.png b/data/borders/m15/colorless/darkframe.png
new file mode 100644
index 00000000..96e7d443
Binary files /dev/null and b/data/borders/m15/colorless/darkframe.png differ
diff --git a/data/borders/m15/colorless/darkmiracle.png b/data/borders/m15/colorless/darkmiracle.png
new file mode 100644
index 00000000..9a67907d
Binary files /dev/null and b/data/borders/m15/colorless/darkmiracle.png differ
diff --git a/data/borders/m15/colorless/darkpt.png b/data/borders/m15/colorless/darkpt.png
new file mode 100644
index 00000000..7d779e01
Binary files /dev/null and b/data/borders/m15/colorless/darkpt.png differ
diff --git a/data/borders/m15/colorlessLand/darkTitle.png b/data/borders/m15/colorlessLand/darkTitle.png
new file mode 100644
index 00000000..c41c850e
Binary files /dev/null and b/data/borders/m15/colorlessLand/darkTitle.png differ
diff --git a/data/borders/m15/colorlessLand/darkframe.png b/data/borders/m15/colorlessLand/darkframe.png
new file mode 100644
index 00000000..aa5846ad
Binary files /dev/null and b/data/borders/m15/colorlessLand/darkframe.png differ
diff --git a/data/borders/m15/colorlessLand/darkmiracle.png b/data/borders/m15/colorlessLand/darkmiracle.png
new file mode 100644
index 00000000..9a67907d
Binary files /dev/null and b/data/borders/m15/colorlessLand/darkmiracle.png differ
diff --git a/data/borders/m15/colorlessLand/darkpt.png b/data/borders/m15/colorlessLand/darkpt.png
new file mode 100644
index 00000000..7d779e01
Binary files /dev/null and b/data/borders/m15/colorlessLand/darkpt.png differ
diff --git a/data/borders/m15/gold/darkTitle.png b/data/borders/m15/gold/darkTitle.png
new file mode 100644
index 00000000..752d0439
Binary files /dev/null and b/data/borders/m15/gold/darkTitle.png differ
diff --git a/data/borders/m15/gold/darkframe.png b/data/borders/m15/gold/darkframe.png
new file mode 100644
index 00000000..f3976ca6
Binary files /dev/null and b/data/borders/m15/gold/darkframe.png differ
diff --git a/data/borders/m15/gold/darkmiracle.png b/data/borders/m15/gold/darkmiracle.png
new file mode 100644
index 00000000..0c841017
Binary files /dev/null and b/data/borders/m15/gold/darkmiracle.png differ
diff --git a/data/borders/m15/gold/darkpt.png b/data/borders/m15/gold/darkpt.png
new file mode 100644
index 00000000..34779881
Binary files /dev/null and b/data/borders/m15/gold/darkpt.png differ
diff --git a/data/borders/m15/goldLand/darkTitle.png b/data/borders/m15/goldLand/darkTitle.png
new file mode 100644
index 00000000..752d0439
Binary files /dev/null and b/data/borders/m15/goldLand/darkTitle.png differ
diff --git a/data/borders/m15/goldLand/darkframe.png b/data/borders/m15/goldLand/darkframe.png
new file mode 100644
index 00000000..d29ed84c
Binary files /dev/null and b/data/borders/m15/goldLand/darkframe.png differ
diff --git a/data/borders/m15/goldLand/darkmiracle.png b/data/borders/m15/goldLand/darkmiracle.png
new file mode 100644
index 00000000..0c841017
Binary files /dev/null and b/data/borders/m15/goldLand/darkmiracle.png differ
diff --git a/data/borders/m15/goldLand/darkpt.png b/data/borders/m15/goldLand/darkpt.png
new file mode 100644
index 00000000..34779881
Binary files /dev/null and b/data/borders/m15/goldLand/darkpt.png differ
diff --git a/data/borders/m15/green/darkTitle.png b/data/borders/m15/green/darkTitle.png
new file mode 100644
index 00000000..419b8b8e
Binary files /dev/null and b/data/borders/m15/green/darkTitle.png differ
diff --git a/data/borders/m15/green/darkframe.png b/data/borders/m15/green/darkframe.png
new file mode 100644
index 00000000..8419db43
Binary files /dev/null and b/data/borders/m15/green/darkframe.png differ
diff --git a/data/borders/m15/green/darkmiracle.png b/data/borders/m15/green/darkmiracle.png
new file mode 100644
index 00000000..d04dae99
Binary files /dev/null and b/data/borders/m15/green/darkmiracle.png differ
diff --git a/data/borders/m15/green/darkpt.png b/data/borders/m15/green/darkpt.png
new file mode 100644
index 00000000..aa712323
Binary files /dev/null and b/data/borders/m15/green/darkpt.png differ
diff --git a/data/borders/m15/greenLand/darkTitle.png b/data/borders/m15/greenLand/darkTitle.png
new file mode 100644
index 00000000..419b8b8e
Binary files /dev/null and b/data/borders/m15/greenLand/darkTitle.png differ
diff --git a/data/borders/m15/greenLand/darkframe.png b/data/borders/m15/greenLand/darkframe.png
new file mode 100644
index 00000000..e54275af
Binary files /dev/null and b/data/borders/m15/greenLand/darkframe.png differ
diff --git a/data/borders/m15/greenLand/darkmiracle.png b/data/borders/m15/greenLand/darkmiracle.png
new file mode 100644
index 00000000..d04dae99
Binary files /dev/null and b/data/borders/m15/greenLand/darkmiracle.png differ
diff --git a/data/borders/m15/greenLand/darkpt.png b/data/borders/m15/greenLand/darkpt.png
new file mode 100644
index 00000000..aa712323
Binary files /dev/null and b/data/borders/m15/greenLand/darkpt.png differ
diff --git a/data/borders/m15/red/darkTitle.png b/data/borders/m15/red/darkTitle.png
new file mode 100644
index 00000000..62c0fee7
Binary files /dev/null and b/data/borders/m15/red/darkTitle.png differ
diff --git a/data/borders/m15/red/darkframe.png b/data/borders/m15/red/darkframe.png
new file mode 100644
index 00000000..bc326cde
Binary files /dev/null and b/data/borders/m15/red/darkframe.png differ
diff --git a/data/borders/m15/red/darkmiracle.png b/data/borders/m15/red/darkmiracle.png
new file mode 100644
index 00000000..7d557454
Binary files /dev/null and b/data/borders/m15/red/darkmiracle.png differ
diff --git a/data/borders/m15/red/darkpt.png b/data/borders/m15/red/darkpt.png
new file mode 100644
index 00000000..46495d99
Binary files /dev/null and b/data/borders/m15/red/darkpt.png differ
diff --git a/data/borders/m15/redLand/darkTitle.png b/data/borders/m15/redLand/darkTitle.png
new file mode 100644
index 00000000..62c0fee7
Binary files /dev/null and b/data/borders/m15/redLand/darkTitle.png differ
diff --git a/data/borders/m15/redLand/darkframe.png b/data/borders/m15/redLand/darkframe.png
new file mode 100644
index 00000000..23262d18
Binary files /dev/null and b/data/borders/m15/redLand/darkframe.png differ
diff --git a/data/borders/m15/redLand/darkmiracle.png b/data/borders/m15/redLand/darkmiracle.png
new file mode 100644
index 00000000..7d557454
Binary files /dev/null and b/data/borders/m15/redLand/darkmiracle.png differ
diff --git a/data/borders/m15/redLand/darkpt.png b/data/borders/m15/redLand/darkpt.png
new file mode 100644
index 00000000..46495d99
Binary files /dev/null and b/data/borders/m15/redLand/darkpt.png differ
diff --git a/data/borders/m15/vehicle/darkTitle.png b/data/borders/m15/vehicle/darkTitle.png
new file mode 100644
index 00000000..dfefd34a
Binary files /dev/null and b/data/borders/m15/vehicle/darkTitle.png differ
diff --git a/data/borders/m15/vehicle/darkframe.png b/data/borders/m15/vehicle/darkframe.png
new file mode 100644
index 00000000..c365f84c
Binary files /dev/null and b/data/borders/m15/vehicle/darkframe.png differ
diff --git a/data/borders/m15/vehicle/darkmiracle.png b/data/borders/m15/vehicle/darkmiracle.png
new file mode 100644
index 00000000..ff7e1cee
Binary files /dev/null and b/data/borders/m15/vehicle/darkmiracle.png differ
diff --git a/data/borders/m15/vehicle/darkpt.png b/data/borders/m15/vehicle/darkpt.png
new file mode 100644
index 00000000..1ed50325
Binary files /dev/null and b/data/borders/m15/vehicle/darkpt.png differ
diff --git a/data/borders/m15/white/darkTitle.png b/data/borders/m15/white/darkTitle.png
new file mode 100644
index 00000000..1890671a
Binary files /dev/null and b/data/borders/m15/white/darkTitle.png differ
diff --git a/data/borders/m15/white/darkframe.png b/data/borders/m15/white/darkframe.png
new file mode 100644
index 00000000..56fff2f6
Binary files /dev/null and b/data/borders/m15/white/darkframe.png differ
diff --git a/data/borders/m15/white/darkmiracle.png b/data/borders/m15/white/darkmiracle.png
new file mode 100644
index 00000000..ee063c17
Binary files /dev/null and b/data/borders/m15/white/darkmiracle.png differ
diff --git a/data/borders/m15/white/darkpt.png b/data/borders/m15/white/darkpt.png
new file mode 100644
index 00000000..74820584
Binary files /dev/null and b/data/borders/m15/white/darkpt.png differ
diff --git a/data/borders/m15/whiteLand/darkTitle.png b/data/borders/m15/whiteLand/darkTitle.png
new file mode 100644
index 00000000..1890671a
Binary files /dev/null and b/data/borders/m15/whiteLand/darkTitle.png differ
diff --git a/data/borders/m15/whiteLand/darkframe.png b/data/borders/m15/whiteLand/darkframe.png
new file mode 100644
index 00000000..4f27156e
Binary files /dev/null and b/data/borders/m15/whiteLand/darkframe.png differ
diff --git a/data/borders/m15/whiteLand/darkmiracle.png b/data/borders/m15/whiteLand/darkmiracle.png
new file mode 100644
index 00000000..ee063c17
Binary files /dev/null and b/data/borders/m15/whiteLand/darkmiracle.png differ
diff --git a/data/borders/m15/whiteLand/darkpt.png b/data/borders/m15/whiteLand/darkpt.png
new file mode 100644
index 00000000..74820584
Binary files /dev/null and b/data/borders/m15/whiteLand/darkpt.png differ
diff --git a/index.html b/index.html
index c5b7846e..39379b54 100644
--- a/index.html
+++ b/index.html
@@ -58,6 +58,8 @@
Flip Tip
+ Flipped (Darker)
+
Silver Border
Border Color
@@ -415,7 +417,7 @@ var titleRightShift = 0
var canvas = document.getElementById("canvas")
var card = canvas.getContext("2d")
//Load dynamic images
-var dynamicImageList = ["borderColor", "secondBorderColor", "thirdBorderColor", "borderCreature", "borderLegendary", "secondBorderLegendary", "borderRareStamp", "secondBorderRareStamp", "art", "setSymbol", "watermark", "multiMask", "rareStampMask", "frameMask", "legendFrameMask", "borderMask", "borderNyx", "secondBorderNyx", "borderMiracle", "secondBorderMiracle", "borderFlipIcon", "borderFlipCircle", "borderFlipTip"]
+var dynamicImageList = ["borderColor", "secondBorderColor", "thirdBorderColor", "borderCreature", "borderLegendary", "secondBorderLegendary", "borderRareStamp", "secondBorderRareStamp", "art", "setSymbol", "watermark", "multiMask", "rareStampMask", "frameMask", "legendFrameMask", "borderMask", "borderNyx", "secondBorderNyx", "borderMiracle", "secondBorderMiracle", "borderFlipIcon", "borderFlipCircle", "borderFlipTip", "borderDarkTitle", "secondBorderDarkTitle"]
for (i = 0; i < dynamicImageList.length; i ++) {
var imgName = "img" + dynamicImageList[i].charAt(0).toUpperCase() + dynamicImageList[i].slice(1)
window[imgName] = new Image()
@@ -512,15 +514,21 @@ function updateColor() {
var firstColorPath = borderPath + document.getElementById("colorSelection").value
var secondColorPath = borderPath + document.getElementById("secondColorSelection").value
var thirdColorPath = borderPath + document.getElementById("thirdColorSelection").value
- imgBorderColor.src = firstColorPath + "/frame.png"
- imgSecondBorderColor.src = secondColorPath + "/frame.png"
- imgThirdBorderColor.src = thirdColorPath + "/frame.png"
- if (thirdColor == true) {
- imgBorderCreature.src = thirdColorPath + "/pt.png"
- } else if (secondColor == true) {
- imgBorderCreature.src = secondColorPath + "/pt.png"
+ var altframe = ""
+ if (document.getElementById("checkboxFlippedDark").checked == true && flipBorder == true) {
+ altframe = "dark"
} else {
- imgBorderCreature.src = firstColorPath + "/pt.png"
+ altframe = ""
+ }
+ imgBorderColor.src = firstColorPath + "/" + altframe + "frame.png"
+ imgSecondBorderColor.src = secondColorPath + "/" + altframe + "frame.png"
+ imgThirdBorderColor.src = thirdColorPath + "/" + altframe + "frame.png"
+ if (thirdColor == true) {
+ imgBorderCreature.src = thirdColorPath + "/" + altframe + "pt.png"
+ } else if (secondColor == true) {
+ imgBorderCreature.src = secondColorPath + "/" + altframe + "pt.png"
+ } else {
+ imgBorderCreature.src = firstColorPath + "/" + altframe + "pt.png"
}
if (legendaryBorder == true) {
imgBorderLegendary.src = firstColorPath + "/legendary.png"
@@ -540,13 +548,21 @@ function updateColor() {
}
if (miracleBorder == true) {
if (thirdColor == true) {
- imgBorderMiracle.src = thirdColorPath + "/miracle.png"
+ imgBorderMiracle.src = thirdColorPath + "/" + altframe + "miracle.png"
} else {
- imgBorderMiracle.src = firstColorPath + "/miracle.png"
- imgSecondBorderMiracle.src = secondColorPath + "/miracle.png"
+ imgBorderMiracle.src = firstColorPath + "/" + altframe + "miracle.png"
+ imgSecondBorderMiracle.src = secondColorPath + "/" + altframe + "miracle.png"
}
}
if (flipBorder == true) {
+ if (thirdColor == true) {
+ imgBorderDarkTitle.src = thirdColorPath + "/darkTitle.png"
+ } else {
+ imgBorderDarkTitle.src = firstColorPath + "/darkTitle.png"
+ if (secondColor == true) {
+ imgSecondBorderDarkTitle.src = secondColorPath + "/darkTitle.png"
+ }
+ }
if (secondColor == true) {
imgBorderFlipTip.src = secondColorPath + "/flipTip.png"
} else {
@@ -644,6 +660,16 @@ function drawBorder() {
card.font = "28px belerenb"
card.fillText(document.getElementById("inputFlipTip").value, 688 - card.measureText(document.getElementById("inputFlipTip").value).width, 880)
}
+ // if (document.getElementById("checkboxFlippedDark").checked == true && flipBorder == true) {
+ // if (thirdColor == true) {
+ // drawMask(imgBorderDarkTitle, 0, 0, canvas.width, canvas.height, imgFrameMask, false, false)
+ // } else {
+ // drawMask(imgBorderDarkTitle, 0, 0, canvas.width, canvas.height, imgFrameMask, false, false)
+ // if (secondColor == true) {
+ // drawMask(imgSecondBorderDarkTitle, 0, 0, canvas.width, canvas.height, imgFrameMask, imgMultiGradient, "reverseSecond")
+ // }
+ // }
+ // }
}
//Draw Set Symbol
function drawSetSymbol() {