|
@ -893,7 +893,7 @@ impl Weapon { |
|
|
let mut result = [0u8; 16];
|
|
|
let mut result = [0u8; 16];
|
|
|
result[0..3].copy_from_slice(&self.weapon.value());
|
|
|
result[0..3].copy_from_slice(&self.weapon.value());
|
|
|
result[3] = self.grind;
|
|
|
result[3] = self.grind;
|
|
|
result[4] = self.special.unwrap().value();
|
|
|
|
|
|
|
|
|
result[4] = self.special.unwrap_or(WeaponSpecial::None).value();
|
|
|
|
|
|
|
|
|
if self.tekked == false {
|
|
|
if self.tekked == false {
|
|
|
result[4] += 0x80
|
|
|
result[4] += 0x80
|
|
|