mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
No damage effects on hp_max change (#11846)
This commit is contained in:
parent
3eafcab64e
commit
f4a53f7ee6
9 changed files with 23 additions and 11 deletions
|
@ -353,7 +353,7 @@ public:
|
|||
void printToConsoleOnly(const std::string &text);
|
||||
|
||||
void HandlePlayerHPChange(PlayerSAO *sao, const PlayerHPChangeReason &reason);
|
||||
void SendPlayerHP(PlayerSAO *sao);
|
||||
void SendPlayerHP(PlayerSAO *sao, bool effect);
|
||||
void SendPlayerBreath(PlayerSAO *sao);
|
||||
void SendInventory(PlayerSAO *playerSAO, bool incremental);
|
||||
void SendMovePlayer(session_t peer_id);
|
||||
|
@ -439,7 +439,7 @@ private:
|
|||
void init();
|
||||
|
||||
void SendMovement(session_t peer_id);
|
||||
void SendHP(session_t peer_id, u16 hp);
|
||||
void SendHP(session_t peer_id, u16 hp, bool effect);
|
||||
void SendBreath(session_t peer_id, u16 breath);
|
||||
void SendAccessDenied(session_t peer_id, AccessDeniedCode reason,
|
||||
const std::string &custom_reason, bool reconnect = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue