use correct stats

This commit is contained in:
ntr
2018-11-22 14:00:01 +11:00
parent 601e617bfc
commit 784905cf24
2 changed files with 5 additions and 6 deletions
+4 -4
View File
@@ -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,