shield specs

This commit is contained in:
ntr
2019-03-14 19:29:31 +11:00
parent 788c68c015
commit e6986d57cd
4 changed files with 50 additions and 22 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class StatSheet extends Phaser.Scene {
this.add.text(X + WIDTH * 0.175, Y, 'Skills', TEXT.HEADER);
this.add.text(X + WIDTH * 0.175, Y + HEIGHT * 0.25, 'Specs', TEXT.HEADER);
const knownSpec = (spec, i) => {
const knownSpec = (spec, i) => {
const SKILL_X = X + WIDTH * 0.21 + WIDTH * 0.125 * i;
const SKILL_Y = Y + HEIGHT * 0.4;
const itemObj = new Item(this, spec, i, SKILL_X, SKILL_Y, SKILL_WIDTH, Math.floor(SKILL_WIDTH / 2));