mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 21:56:36 +00:00
[Feature] Implement "Big Bags"
This commit is contained in:
+4
-4
@@ -9124,7 +9124,7 @@ void Client::SetPrimaryWeaponOrnamentation(uint32 model_id)
|
||||
auto l = InventoryRepository::GetWhere(
|
||||
database,
|
||||
fmt::format(
|
||||
"`charid` = {} AND `slotid` = {}",
|
||||
"`character_id` = {} AND `slot_id` = {}",
|
||||
character_id,
|
||||
EQ::invslot::slotPrimary
|
||||
)
|
||||
@@ -9136,7 +9136,7 @@ void Client::SetPrimaryWeaponOrnamentation(uint32 model_id)
|
||||
|
||||
auto e = l.front();
|
||||
|
||||
e.ornamentidfile = model_id;
|
||||
e.ornament_idfile = model_id;
|
||||
|
||||
const int updated = InventoryRepository::UpdateOne(database, e);
|
||||
|
||||
@@ -9157,7 +9157,7 @@ void Client::SetSecondaryWeaponOrnamentation(uint32 model_id)
|
||||
auto l = InventoryRepository::GetWhere(
|
||||
database,
|
||||
fmt::format(
|
||||
"`charid` = {} AND `slotid` = {}",
|
||||
"`character_id` = {} AND `slot_id` = {}",
|
||||
character_id,
|
||||
EQ::invslot::slotSecondary
|
||||
)
|
||||
@@ -9169,7 +9169,7 @@ void Client::SetSecondaryWeaponOrnamentation(uint32 model_id)
|
||||
|
||||
auto e = l.front();
|
||||
|
||||
e.ornamentidfile = model_id;
|
||||
e.ornament_idfile = model_id;
|
||||
|
||||
const int updated = InventoryRepository::UpdateOne(database, e);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user