fix server

This commit is contained in:
ntr 2019-01-19 20:28:11 +11:00
parent d102348d91
commit 0da395d3d6

View File

@ -30,7 +30,6 @@ pub enum ItemAction {
SpecArmour5,
SpecSpellShield5,
SpecSpellEvasion5,
SpecSpellDmg5,
}
#[derive(Debug,Clone,Copy,PartialEq,Serialize,Deserialize)]
@ -63,6 +62,7 @@ impl Item {
ItemAction::SpecPhysDmg5 => spec_add(self, tx, target, SpecType::PhysDamage5),
ItemAction::SpecSpellDmg5 => spec_add(self, tx, target, SpecType::SpellDamage5),
_ => unimplemented!(),
}
}
}