mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Rework say links
We now consume 1 item ID for say links, this means you will be able to create more items! We used ID 0xFFFFF for this, which is the max ID an item can be in the item links. You have the rest to play with! Normal say links pass the ID in the first aug slot and silent say links in the second aug slot. This means we can have MANY more say links as well!
This commit is contained in:
+2
-3
@@ -13774,11 +13774,10 @@ std::string Bot::CreateSayLink(Client* c, const char* message, const char* name)
|
||||
}
|
||||
safe_delete_array(escaped_string);
|
||||
|
||||
sayid += 500000;
|
||||
|
||||
Client::TextLink linker;
|
||||
linker.SetLinkType(linker.linkItemData);
|
||||
linker.SetProxyItemID(sayid);
|
||||
linker.SetProxyItemID(SAYLINK_ITEM_ID);
|
||||
linker.SetProxyAugment1ID(sayid);
|
||||
linker.SetProxyText(name);
|
||||
|
||||
auto say_link = linker.GenerateLink();
|
||||
|
||||
Reference in New Issue
Block a user