fix attack and ball?

This commit is contained in:
Yuuki 2024-07-08 19:33:48 +08:00
parent 41553488a1
commit cec9bd105a
7 changed files with 29 additions and 17 deletions

View File

@ -19,4 +19,12 @@ message AttackResult {
uint32 defense_id = 6; uint32 defense_id = 6;
uint32 element_type = 11; uint32 element_type = 11;
float damage = 8; float damage = 8;
uint32 KLIGFACEFPN = 23;
float NMBBCBBEPDA = 54;
float DJAEOHKJLIM = 114;
uint32 OAPLECACBOM = 337;
uint32 FCKAKKLDCJL = 507;
uint32 HMKBBEKDPCG = 916;
float PHOMPNBJFAN = 1582;
uint32 NJAMJODILKJ = 2032;
} }

View File

@ -1,9 +1,10 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.6.0 // 4.7.0
// CmdId: 27660 // CmdId: 29050
// PCBLKNOGPEC
message AvatarChangeAnimHashReq { message AvatarChangeAnimHashReq {
uint64 avatar_guid = 10; uint64 avatar_guid = 6;
uint32 anim_hash = 14; uint32 anim_hash = 7;
} }

View File

@ -1,10 +1,11 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.6.0 // 4.7.0
// CmdId: 416 // CmdId: 29112
// GJKDEOLOKPE
message AvatarChangeAnimHashRsp { message AvatarChangeAnimHashRsp {
uint32 anim_hash = 5; uint32 anim_hash = 10;
uint64 avatar_guid = 11; uint64 avatar_guid = 6;
int32 retcode = 15; int32 retcode = 11;
} }

View File

@ -2,8 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.7.0 // 4.7.0
// CmdId: 25612 // CmdId: 7895 ?
message AvatarFightPropNotify { message AvatarFightPropNotify {
map<uint32, float> fight_prop_map = 4; map<uint32, float> fight_prop_map = 10;
uint64 avatar_guid = 5; uint64 avatar_guid = 9;
} }

View File

@ -2,8 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.7.0 // 4.7.0
// CmdId: 7895 // CmdId: 25612 ?
message AvatarFightPropUpdateNotify { message AvatarFightPropUpdateNotify {
uint64 avatar_guid = 9; uint64 avatar_guid = 5;
map<uint32, float> fight_prop_map = 10; map<uint32, float> fight_prop_map = 4;
} }

View File

@ -8,7 +8,7 @@ import "ChangeEnergyReason.proto";
import "PropChangeReason.proto"; import "PropChangeReason.proto";
// 4.7.0 // 4.7.0
// CmdId: 26911 // CmdId: 26911 ?
message EntityFightPropChangeReasonNotify { message EntityFightPropChangeReasonNotify {
float HFDLKKBJNMI = 1; float HFDLKKBJNMI = 1;
uint32 entity_id = 3; uint32 entity_id = 3;

View File

@ -2,6 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 4.7.0 // 4.7.0
// cmdid: 24691(ok) or 20736(x)
// JCEKOEKBLGJ or OKKBKHIGKAF?
message EntityFightPropUpdateNotify { message EntityFightPropUpdateNotify {
uint32 entity_id = 2; uint32 entity_id = 2;
map<uint32, float> fight_prop_map = 12; map<uint32, float> fight_prop_map = 12;