summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-08 00:53:40 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-08 11:42:33 +0200
commit8677280df35ec553da2583162a3ddf3a6da0bdf5 (patch)
treea1cf781a5e8aca8c17d73eb8b831f71dbc778f23
parent0d0cf16d1273a3906b5d6a415d026fcb95d9bfff (diff)
downloadtime-of-crisis-8677280df35ec553da2583162a3ddf3a6da0bdf5.tar.gz
Borders.
-rw-r--r--play.css3
-rw-r--r--play.js4
-rw-r--r--rules.js2
3 files changed, 7 insertions, 2 deletions
diff --git a/play.css b/play.css
index 7e4b52f..eb0d5f7 100644
--- a/play.css
+++ b/play.css
@@ -634,6 +634,8 @@ body.shift .zenobia { background-image: url(images/rival_back.png) }
background-color: #444;
max-width: min(calc(100% - 30px), 1636px);
margin: 12px auto 36px auto;
+ box-shadow: 1px 2px 6px #0004;
+ border: 1px solid #0008;
}
.panel_header {
@@ -642,6 +644,7 @@ body.shift .zenobia { background-image: url(images/rival_back.png) }
font-weight: bold;
text-align: center;
padding: 3px 1em;
+ border-bottom: 1px solid #0008;
}
.panel_body {
diff --git a/play.js b/play.js
index 1c3e18a..9814cba 100644
--- a/play.js
+++ b/play.js
@@ -100,7 +100,7 @@ const CARD_MAP = [
"P3(Mobile Vulgus)",
"M4(Praetorian Guard)",
"S4(Damnatio Memoriae)",
- "S4(Damnatio Memoriae)",
+ "S4(Damnatio Memoriae*)",
"P4(Pretender)",
"M4(Spiculum)",
"S4(Triumph)",
@@ -1560,6 +1560,8 @@ function sub_card_1(match) {
function sub_card_x(match, p1, p2) {
let x = CARD_MAP.indexOf(match)
+ if (p2 === "Damnatio Memoriae*")
+ p2 = "Damnatio Memoriae"
return `<span class="tip ${match[0]}" onmouseenter="on_focus_influence_tip(${x})" onmouseleave="on_blur_tip()">${p1} ${p2}</span>`
}
diff --git a/rules.js b/rules.js
index 3b06b4f..c96a839 100644
--- a/rules.js
+++ b/rules.js
@@ -362,7 +362,7 @@ const CARD_INFO = [
{ name: "P3(Mobile Vulgus)", type: 2, value: 3, event: "Mobile Vulgus" },
{ name: "M4(Praetorian Guard)", type: 0, value: 4, event: "Praetorian Guard" },
{ name: "S4(Damnatio Memoriae)", type: 1, value: 4, event: "Damnatio Memoriae" },
- { name: "S4(Damnatio Memoriae)", type: 1, value: 4, event: "Damnatio Memoriae (exp)" },
+ { name: "S4(Damnatio Memoriae*)", type: 1, value: 4, event: "Damnatio Memoriae (exp)" },
{ name: "P4(Pretender)", type: 2, value: 4, event: "Pretender" },
{ name: "M4(Spiculum)", type: 0, value: 4, event: "Spiculum" },
{ name: "S4(Triumph)", type: 1, value: 4, event: "Triumph" },