From 59a1f808e9de1e68c5bde891c11d70de397daf56 Mon Sep 17 00:00:00 2001 From: ntr Date: Sun, 31 Mar 2019 18:00:10 +1100 Subject: [PATCH] self target --- html-client/src/components/game.component.jsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/html-client/src/components/game.component.jsx b/html-client/src/components/game.component.jsx index 97979a65..a553dfcc 100644 --- a/html-client/src/components/game.component.jsx +++ b/html-client/src/components/game.component.jsx @@ -1,19 +1,17 @@ const preact = require('preact'); -const key = require('keymaster'); const range = require('lodash/range'); + const molecule = require('./molecule'); const saw = require('./saw.component'); -const SKILL_HOT_KEYS = ['Q', 'W', 'E', 'R']; +// const SKILL_HOT_KEYS = ['Q', 'W', 'E', 'R']; function GamePanel(props) { const { game, activeSkill, - activeIncoming, setActiveSkill, selectSkillTarget, - selectIncomingTarget, account, quit, } = props; @@ -63,9 +61,10 @@ function GamePanel(props) {
selectIncomingTarget(cryp.id)} className="cryp-box" > -
+
selectSkillTarget(cryp.id)} > {molecule}
{cryp.name}