show skill delay on info

This commit is contained in:
Mashy
2019-09-20 13:03:13 +10:00
parent 3ad679cb02
commit 6fba9d9f4d
3 changed files with 11 additions and 5 deletions
+3 -1
View File
@@ -50,11 +50,13 @@ function InfoComponent(args) {
? (24 + (itemSpeed(itemSource[0].components[0]) + itemSpeed(itemSource[0].components[1])) * itemSpeed(itemSource[0].components[2])) * 4
: (24 + itemSpeed(info)) * 4;
const speed = <div> Speed {shapes.SpeedStat()} multiplier {calcSpeed}% </div>;
const cooldown = fullInfo.cooldown ? `${fullInfo.cooldown} Turn delay` : null;
return (
<div class="info-skill">
<h2>{fullInfo.item} - {fullInfo.cost}b</h2>
<h3>SKILL</h3>
<h3> SKILL </h3>
{itemSourceDescription}
<div> {cooldown} </div>
<div>{infoDescription}</div>
{speed}
</div>