fix tech packet lengths. now everyone can get s/d yay
This commit is contained in:
parent
2c00b5999a
commit
cb219d807d
@ -333,7 +333,10 @@ pub struct ComboStep3 {
|
|||||||
|
|
||||||
#[pso_message(0x46)]
|
#[pso_message(0x46)]
|
||||||
pub struct TargetsHit {
|
pub struct TargetsHit {
|
||||||
targets: u32, // thats a lot of targets!
|
num_of_targets: [u8; 4], // thats a lot of targets?
|
||||||
|
client2: u8,
|
||||||
|
target2: u8,
|
||||||
|
unknown2: [u8; 2],
|
||||||
}
|
}
|
||||||
|
|
||||||
#[pso_message(0x47)]
|
#[pso_message(0x47)]
|
||||||
@ -341,14 +344,17 @@ pub struct PlayerTechCast { // this packet and packet 0x8D (PlayerTechStart) are
|
|||||||
technique: u8,
|
technique: u8,
|
||||||
unknown1: u8,
|
unknown1: u8,
|
||||||
tech_level: u8,
|
tech_level: u8,
|
||||||
|
#[length_of(targets)]
|
||||||
num_of_targets: u8,
|
num_of_targets: u8,
|
||||||
|
#[length_is(num_of_targets)]
|
||||||
|
targets: Vec<u32>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[pso_message(0x48)]
|
#[pso_message(0x48)]
|
||||||
pub struct PlayerTechDone { // this packet gets sent once the tech is actually casted (ie: barta actually shoots out from your feet)
|
pub struct PlayerTechDone { // this packet gets sent once the tech is actually casted (ie: barta actually shoots out from your feet)
|
||||||
technique: u8,
|
technique: u8,
|
||||||
unknown1: u8,
|
unknown1: u8,
|
||||||
tech_level: u8, // tech level in packets is 0-based
|
tech_level: u8, // level - 1
|
||||||
unknown2: u8,
|
unknown2: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user