effects on enemies
This commit is contained in:
parent
0a96adac4e
commit
e40291cdaa
@ -634,6 +634,11 @@ table td svg {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cryp-box .effects {
|
||||||
|
height: 100%;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.cryp-skill-btn {
|
.cryp-skill-btn {
|
||||||
flex: 1 1 100%;
|
flex: 1 1 100%;
|
||||||
font-size: 16pt;
|
font-size: 16pt;
|
||||||
@ -708,14 +713,8 @@ table td svg {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-opponent .cryp-box-top {
|
.team-opponent .cryp-box .img {
|
||||||
flex-flow: column;
|
order: 5;
|
||||||
justify-content: center;
|
|
||||||
align-items: stretch;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team-opponent .cryp-box-top figure {
|
|
||||||
flex: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*.logs {
|
/*.logs {
|
||||||
|
|||||||
@ -153,11 +153,18 @@ function GamePanel(props) {
|
|||||||
className={`cryp-box ${ko} ${classes}`}
|
className={`cryp-box ${ko} ${classes}`}
|
||||||
style={ activeSkill ? { cursor: 'pointer' } : {}}
|
style={ activeSkill ? { cursor: 'pointer' } : {}}
|
||||||
onClick={() => selectSkillTarget(cryp.id)} >
|
onClick={() => selectSkillTarget(cryp.id)} >
|
||||||
<figure className="img">
|
<div className="cryp-box-top">
|
||||||
|
<figure
|
||||||
|
className="img"
|
||||||
|
onClick={() => selectSkillTarget(cryp.id)} >
|
||||||
{crypAvatar(cryp.name)}
|
{crypAvatar(cryp.name)}
|
||||||
{combatTextEl}
|
{combatTextEl}
|
||||||
<div>{cryp.name}</div>
|
<div>{cryp.name}</div>
|
||||||
</figure>
|
</figure>
|
||||||
|
<div className="effects">
|
||||||
|
{cryp.effects.map(c => <span key={c.effect}>{c.effect} - {c.duration}T</span>)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div className="stats">
|
<div className="stats">
|
||||||
{stats}
|
{stats}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user