mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 03:27:32 +00:00
[Feature] Intoxication setter/getter for source, getter for Perl/Lua (#3330)
* Add setter and getter methods for intoxication Add GetIntoxication functions for perl and Lua * Remove trailing tab * Use clamp instead of min/max
This commit is contained in:
1 parent
c64a2aec94
commit
9f4d60ec36
10 files changed
+36
-18
No files matched your search
@@ -395,6 +395,7 @@ public:
|
||||
void QueuePacket(Lua_Packet app, bool ack_req, int client_connection_status, int filter);
|
||||
int GetHunger();
|
||||
int GetThirst();
|
||||
int GetIntoxication();
|
||||
void SetHunger(int in_hunger);
|
||||
void SetThirst(int in_thirst);
|
||||
void SetConsumption(int in_hunger, int in_thirst);
|
||||
|
||||
Reference in new issue
Block a user