This commit is contained in:
ntr 2019-05-15 13:53:41 +10:00
parent 1995cd7547
commit c331c92711
3 changed files with 33 additions and 5 deletions

View File

@ -83,9 +83,15 @@
.game-cryp .skills { .game-cryp .skills {
grid-area: skills; grid-area: skills;
display: flex; display: flex;
flex-flow: row; flex-flow: column-reverse;
} }
/*@media (max-width: 1000px) {
.game-cryp .skills {
flex-flow: column;
}
}
*/
.game-cryp .effects { .game-cryp .effects {
font-size: 1.5em; font-size: 1.5em;
} }
@ -103,7 +109,7 @@
flex: 1 1 100%; flex: 1 1 100%;
font-size: 16pt; font-size: 16pt;
padding: 0; padding: 0;
margin: 0; margin: 0 0.5em;
border-width: 0px; border-width: 0px;
} }
@ -114,7 +120,7 @@
.game-cryp button[disabled], .game-cryp button[disabled]:hover { .game-cryp button[disabled], .game-cryp button[disabled]:hover {
color: #333333; color: #333333;
font-size: 14pt; font-size: 14pt;
text-decoration: line-through /*text-decoration: line-through*/
} }
.game-cryp button:hover { .game-cryp button:hover {
@ -233,4 +239,6 @@ CRYP DAMAGE
.img { .img {
position: relative; position: relative;
/* stops them being resized to zero because of redraws*/
height: 100%;
} }

View File

@ -51,8 +51,8 @@ document.fonts.load('16pt "Jura"').then(() => {
store.dispatch(actions.setWs(ws)); store.dispatch(actions.setWs(ws));
ws.connect(); ws.connect();
// events.setGame(testGame); events.setGame(testGame);
// ws.clearGameStateTimeout(); ws.clearGameStateTimeout();
const Cryps = () => ( const Cryps = () => (
<main className="cryps" > <main className="cryps" >

View File

@ -346,6 +346,16 @@ const game = {
"skill": "Attack", "skill": "Attack",
"self_targeting": false, "self_targeting": false,
"cd": null "cd": null
},
{
"skill": "Decay",
"self_targeting": false,
"cd": 2
},
{
"skill": "Sustain",
"self_targeting": false,
"cd": null
} }
], ],
"effects": [], "effects": [],
@ -413,6 +423,16 @@ const game = {
"skill": "Attack", "skill": "Attack",
"self_targeting": false, "self_targeting": false,
"cd": null "cd": null
},
{
"skill": "RAAAAAAAR",
"self_targeting": false,
"cd": null
},
{
"skill": "GAAAAAAAAAR",
"self_targeting": false,
"cd": null
} }
], ],
"effects": [], "effects": [],