diff --git a/client/src/components/cryp.panel.jsx b/client/src/components/cryp.panel.jsx old mode 100755 new mode 100644 index 6de8e6af..35994db5 --- a/client/src/components/cryp.panel.jsx +++ b/client/src/components/cryp.panel.jsx @@ -2,7 +2,7 @@ const preact = require('preact'); function CrypPanel({ cryp, sendCombatPve }) { if (!cryp) return
not ready
; - + const xptolevel = Math.pow(2,(cryp.lvl + 1)); return (
@@ -43,17 +43,35 @@ function CrypPanel({ cryp, sendCombatPve }) {
-

Stat Area

-

{JSON.stringify(cryp.def)}

-

{JSON.stringify(cryp.dmg)}

-

{JSON.stringify(cryp.hp)}

-

{JSON.stringify(cryp.stam)}

+

Cryp Stats

+

Level - {cryp.lvl}

+
+
+
    Hit Points {cryp.hp}
+
    Attack Damage {cryp.dmg.value}
+
+
+
    Stamina {cryp.stam.value}
+
    Defense {cryp.def.value}
+
+
+
+ Progress to next level +
+
+ +
+
+ {cryp.xp} / {xptolevel} XP +
+
+