implement mob "panic" behavior

This commit is contained in:
p2r3
2025-09-14 15:37:05 +03:00
parent e7e9d307e6
commit a34134918a
2 changed files with 23 additions and 3 deletions

View File

@@ -238,7 +238,8 @@ typedef struct {
uint8_t y;
short z;
// Lower 5 bits: health
// Upper 3 bits: reserved (?)
// Middle 1 bit: reserved for future use
// Upper 2 bits: panic timer
uint8_t data;
} MobData;