diff --git a/html-client/cryps.css b/html-client/cryps.css index 61b6d22f..f7ee492e 100755 --- a/html-client/cryps.css +++ b/html-client/cryps.css @@ -309,6 +309,11 @@ button:hover { animation-iteration-count: 1; } +.cryp-skill-btn[disabled] { + animation: none; + color: #333333; +} + .stack { display: flex; flex-flow: column; diff --git a/html-client/src/components/game.component.jsx b/html-client/src/components/game.component.jsx index e0993850..96afed24 100644 --- a/html-client/src/components/game.component.jsx +++ b/html-client/src/components/game.component.jsx @@ -49,9 +49,21 @@ function GamePanel(props) { function Cryp(cryp) { const skills = range(0, 4).map(i => { - const s = cryp.skills[i] - ? cryp.skills[i].skill - : ( ); + const s = cryp.skills[i]; + if (!s) { + return ( + + ); + } + + const cdText = cryp.skills[i].cd > 0 + ? `- ${s.cd}` + : ''; const highlight = activeSkill ? activeSkill.crypId === cryp.id && activeSkill.skill === s @@ -60,9 +72,11 @@ function GamePanel(props) { return ( ); }); diff --git a/server/WORKLOG.md b/server/WORKLOG.md index 20afb1d7..2f7f6fc5 100644 --- a/server/WORKLOG.md +++ b/server/WORKLOG.md @@ -26,8 +26,6 @@ put ticks on stack at start of phase cryp vbox update defensives in skill.rs - Skill::Slay -> red attack with bonus somethingorother for blue / maim no healing - consolidate buffs debuffs and disables no more red/blue