Add code to patchers to put support for Expendable flag on breakable fishing

This commit is contained in:
Noudess
2020-05-11 14:50:17 -04:00
parent 94606504af
commit fb1228946a
6 changed files with 33 additions and 0 deletions
+6
View File
@@ -3966,6 +3966,12 @@ namespace UF
itbs.no_transfer = item->NoTransfer;
itbs.expendablearrow = item->ExpendableArrow;
// Done to hack older clients to label expendable fishing poles as such
// July 28th, 2018 patch
if (item->ItemType == EQEmu::item::ItemTypeFishingPole && item->SubType == 0) {
itbs.expendablearrow = 1;
}
ob.write((const char*)&itbs, sizeof(UF::structs::ItemTertiaryBodyStruct));
// Effect Structures Broken down to allow variable length strings for effect names