mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-04 10:24:11 +08:00
Improved satiation (#2055)
* Natural satiation decreasing Graphic showing satiation when eating (usually) * Reworking values to match original * Little fixes * Satiation bar matches real values Revival correctly updates bar * Greatly simplify handling Some fixes * Inline variables Add TODO for bug * Satiation works correctly Finally it all works as intended * Remove unnecessary packets * Improve satiation reduction handling
This commit is contained in:
committed by
GitHub
Unverified
parent
b4b8f1ec38
commit
1b2210f5a7
@@ -28,7 +28,13 @@ public class PacketOpcodesUtils {
|
||||
PacketOpcodes.WorldPlayerRTTNotify,
|
||||
PacketOpcodes.UnionCmdNotify,
|
||||
PacketOpcodes.QueryPathReq,
|
||||
PacketOpcodes.QueryPathRsp
|
||||
PacketOpcodes.QueryPathRsp,
|
||||
|
||||
// Satiation sends these every tick
|
||||
PacketOpcodes.PlayerTimeNotify,
|
||||
PacketOpcodes.PlayerGameTimeNotify,
|
||||
PacketOpcodes.AvatarPropNotify,
|
||||
PacketOpcodes.AvatarSatiationDataNotify
|
||||
);
|
||||
|
||||
static {
|
||||
|
||||
Reference in New Issue
Block a user