Added Cryp XP bar
This commit is contained in:
parent
3f42fd24fe
commit
523840a101
4
client/src/components/cryp.list.jsx
Normal file → Executable file
4
client/src/components/cryp.list.jsx
Normal file → Executable 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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user