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