add patch to show EXP gains from the server
This commit is contained in:
+11
-7
@@ -6172,12 +6172,23 @@ struct G_ChangeLobbyMusic_Ep3_6xBF {
|
||||
} __packed_ws__(G_ChangeLobbyMusic_Ep3_6xBF, 8);
|
||||
|
||||
// 6xBF: Give EXP (BB) (server->client only)
|
||||
// newserv implements an extension that causes this command to show the purple
|
||||
// EXP numbers which are normally generated by the client instead. This
|
||||
// requires the server to also send the enemy ID that generated the EXP, hence
|
||||
// the extension struct here. See ServerEXPDisplay.59NL.patch.s for details.
|
||||
|
||||
struct G_GiveExperience_BB_6xBF {
|
||||
G_ClientIDHeader header;
|
||||
le_uint32_t amount = 0;
|
||||
} __packed_ws__(G_GiveExperience_BB_6xBF, 8);
|
||||
|
||||
struct G_GiveExperience_Extension_BB_6xBF {
|
||||
G_ClientIDHeader header;
|
||||
le_uint32_t amount = 0;
|
||||
le_uint16_t from_enemy_id = 0;
|
||||
le_uint16_t unused = 0;
|
||||
} __packed_ws__(G_GiveExperience_Extension_BB_6xBF, 0x0C);
|
||||
|
||||
// 6xC0: Sell item at shop (BB) (protected on V3/V4)
|
||||
|
||||
struct G_SellItemAtShop_BB_6xC0 {
|
||||
@@ -6433,18 +6444,11 @@ struct G_Episode4BossActions_BB_6xDC {
|
||||
// means all EXP is doubled, for example. This only affects what the client
|
||||
// shows when an enemy is killed; actual EXP gains are controlled by the server
|
||||
// in response to the 6xC8 command.
|
||||
// newserv supports an extension to this command that supports fractional
|
||||
// multipliers. This is implemented in FractionalEXPMultiplier.59NL.patch.s.
|
||||
|
||||
struct G_SetEXPMultiplier_BB_6xDD {
|
||||
G_ParameterHeader header;
|
||||
} __packed_ws__(G_SetEXPMultiplier_BB_6xDD, 4);
|
||||
|
||||
struct G_SetFractionalEXPMultiplier_Extension_BB_6xDD {
|
||||
G_ParameterHeader header;
|
||||
le_float multiplier;
|
||||
} __packed_ws__(G_SetFractionalEXPMultiplier_Extension_BB_6xDD, 8);
|
||||
|
||||
// 6xDE: Exchange Secret Lottery Ticket (BB; handled by server)
|
||||
// The client sends this when it executes an F95C quest opcode.
|
||||
// There appears to be a bug in the client here: it sets the subcommand size to
|
||||
|
||||
Reference in New Issue
Block a user