This commit is contained in:
ntr
2019-05-15 15:02:38 +10:00
parent 5e48a58c02
commit 92703882ce
6 changed files with 30 additions and 19 deletions
+12 -7
View File
@@ -54,7 +54,7 @@ function GamePanel(props) {
const header = (
<div className="top">
<button
className="game-btn instance-btn instance-ui-btn right"
className="instance-btn instance-ui-btn right"
onClick={() => sendGameReady()}>
Ready
</button>
@@ -137,12 +137,17 @@ function GamePanel(props) {
<div className="effects">
{effects}
</div>
<figure
className="img"
onClick={() => selectSkillTarget(cryp.id)} >
{crypAvatar(cryp.name)}
{combatTextEl}
</figure>
<div className="avatar">
<div className="targeting">
<div>></div>
</div>
<figure
className="img"
onClick={() => selectSkillTarget(cryp.id)} >
{crypAvatar(cryp.name)}
{combatTextEl}
</figure>
</div>
</div>
);
}
+11 -6
View File
@@ -78,12 +78,17 @@ function GameCryp(props) {
<div className="skills">
{skills}
</div>
<figure
className="img"
onClick={() => selectSkillTarget(cryp.id)} >
{crypAvatar(cryp.name)}
{combatTextEl}
</figure>
<div className="avatar">
<div className="targeting">
<div>></div>
</div>
<figure
className="img"
onClick={() => selectSkillTarget(cryp.id)} >
{crypAvatar(cryp.name)}
{combatTextEl}
</figure>
</div>
<div className="effects">
{effects}
</div>
-1
View File
@@ -147,7 +147,6 @@ function Menu(args) {
return (
<section className="menu">
{instanceList()}
{crypList()}
</section>
);
}
+1 -1
View File
@@ -312,7 +312,7 @@ function createSocket(events) {
sendAccountCryps();
}
// sendPing();
sendPing();
return true;
});