mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2024-11-30 04:35:58 +00:00
extract item stat fix
This commit is contained in:
parent
551f3e44f2
commit
e431b3f7d4
@ -933,10 +933,13 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_item(bool va
|
||||
if (strncmp(normCode1, "ib1", 3) == 0) {
|
||||
bag = item;
|
||||
bagGuid = item->guid;
|
||||
statValue = diablo2::d2_common::get_stat(item, diablo2::UNIT_STAT_runebag_RunesA, NULL);
|
||||
statValue = diablo2::d2_common::get_stat(item, stat, NULL);
|
||||
}
|
||||
}
|
||||
if (statValue >= 1) {
|
||||
|
||||
//MessageBoxA(0, std::to_string(statValue).c_str(), "statValue", 0);
|
||||
|
||||
if (statValue >= val) {
|
||||
static d2_tweaks::common::item_move_cs packet;
|
||||
packet.item_guid = bagGuid;
|
||||
packet.bag_guid = bagGuid;
|
||||
|
Loading…
Reference in New Issue
Block a user