Added Cryp XP bar

This commit is contained in:
root
2018-10-17 12:18:40 +10:00
parent 3f42fd24fe
commit 523840a101
+4
View File
@@ -24,6 +24,10 @@ function CrypList({ cryps, activeItem, sendCombatPve, sendItemUse }) {
</div>
<div className="has-text-centered">{cryp.hp.value} / {cryp.stam.value} HP </div>
<progress className="progress is-dark" value={cryp.hp.value} max={cryp.stam.value}></progress>
<div className="has-text-centered">{cryp.xp} / {Math.pow(2,cryp.lvl+1)} XP </div>
<progress className="progress is-dark" value={cryp.xp} max={Math.pow(2,cryp.lvl+1)}></progress>
</div>
<button
className="button is-dark"