mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 01:06:36 +00:00
[Bug Fix] AutoSplit unknown bug and cleanup. (#4401)
Code Credit TAKP: Bug Post: https://discord.com/channels/212663220849213441/1258430167764832319 Resolved issue with split message being sent to group members when no split is present which creates an "Unknown Split". Also added the random remainder split portion unless using a manual /split Converted manual messages to Strings
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ public:
|
||||
void GroupMessage(Mob* sender,uint8 language,uint8 lang_skill,const char* message);
|
||||
void GroupMessageString(Mob* sender, uint32 type, uint32 string_id, const char* message,const char* message2=0,const char* message3=0,const char* message4=0,const char* message5=0,const char* message6=0,const char* message7=0,const char* message8=0,const char* message9=0, uint32 distance = 0);
|
||||
uint32 GetTotalGroupDamage(Mob* other);
|
||||
void SplitMoney(uint32 copper, uint32 silver, uint32 gold, uint32 platinum, Client *splitter = nullptr);
|
||||
void SplitMoney(uint32 copper, uint32 silver, uint32 gold, uint32 platinum, Client *splitter = nullptr, bool share = false);
|
||||
inline void SetLeader(Mob* c){ leader = c; };
|
||||
inline Mob* GetLeader() { return leader; };
|
||||
std::string GetLeaderName();
|
||||
|
||||
Reference in New Issue
Block a user