diff --git a/client/src/scenes/cryp.page.js b/client/src/scenes/cryp.page.js index b71bb0f2..38b016d3 100644 --- a/client/src/scenes/cryp.page.js +++ b/client/src/scenes/cryp.page.js @@ -21,8 +21,7 @@ class CrypPage extends Phaser.GameObjects.Group { this.ws.sendCrypForget(cryp.id, skill.skill); }); this.add(text); - - } + }; const knownSkill = (skill, i) => { const SKILL_X = STATS.knownX(); diff --git a/server/src/cryp.rs b/server/src/cryp.rs index f14860e0..7a0316ab 100755 --- a/server/src/cryp.rs +++ b/server/src/cryp.rs @@ -44,7 +44,7 @@ pub enum Stat { PhysDmg, SpellDmg, Hp, - Stam, + Stamina, } #[derive(Debug,Clone,Copy,PartialEq,Serialize,Deserialize)] @@ -97,9 +97,9 @@ impl Cryp { return Cryp { id, account: id, - phys_dmg: CrypStat { base: 0, stat: Stat::Str }, - spell_dmg: CrypStat { base: 0, stat: Stat::Int }, - stamina: CrypStat { base: 0, stat: Stat::Stam }, + phys_dmg: CrypStat { base: 0, stat: Stat::PhysDmg }, + spell_dmg: CrypStat { base: 0, stat: Stat::SpellDmg }, + stamina: CrypStat { base: 0, stat: Stat::Stamina }, hp: CrypStat { base: 0, stat: Stat::Hp }, lvl: 0, xp: 0,