simplify spec and skill var checks

This commit is contained in:
ntr
2019-03-14 18:03:21 +11:00
parent cf3dbaa6e9
commit 9d02499c5a
2 changed files with 56 additions and 82 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ class StatSheet extends Phaser.Scene {
const crypStat = (stat, i) => {
const STAT_X = X;
const STAT_Y = Y + (i + 2) * TEXT_MARGIN;
this.add.text(STAT_X, STAT_Y, `${stat.stat}: ${stat.value}`, TEXT.NORMAL);
this.add.text(STAT_X, STAT_Y, `${stat.stat}: ${stat.base} -> ${stat.value}`, TEXT.NORMAL);
};
const CRYP_STATS = [