summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index ba06321..3bea29b 100644
--- a/ui.js
+++ b/ui.js
@@ -79,6 +79,9 @@ const STEPS = [ 0, "I", "II", "III", "IIII" ];
function block_description(b) {
let s = ui.map_steps[b] || ui.battle_steps[b];
let c = BLOCKS[b].initiative + BLOCKS[b].firepower;
+ let levy = BLOCKS[b].levy;
+ if (levy)
+ return BLOCKS[b].name + " (" + levy + ") " + STEPS[s] + "-" + c;
return BLOCKS[b].name + " " + STEPS[s] + "-" + c;
}