use correct stats
This commit is contained in:
parent
601e617bfc
commit
784905cf24
@ -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();
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user