drop armour with stats
This commit is contained in:
parent
57a44fde16
commit
6ef78b4ed6
@ -200,8 +200,9 @@ impl Armor {
|
||||
pub fn as_bytes(&self) -> [u8; 16] {
|
||||
let mut result = [0; 16];
|
||||
result[0..3].copy_from_slice(&self.armor.value());
|
||||
// TODO: other attrs
|
||||
|
||||
result[5] = self.slots;
|
||||
result[6] = self.dfp;
|
||||
result[8] = self.evp;
|
||||
result
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user