|
|
|
@ -922,7 +922,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_full_rejuv_p
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// gems extraction functions
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_amethyst(bool value) {}
|
|
|
|
@ -945,12 +944,9 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_topaz(bool v
|
|
|
|
|
// Implementation goes here
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// stones
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_rough(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -991,7 +987,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_rough(bool v
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1036,10 +1031,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_rough(bool v
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_faded(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1080,8 +1072,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_faded(bool v
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1126,10 +1116,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_faded(bool v
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_blemished(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1170,9 +1157,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_blemished(bo
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1217,10 +1201,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_blemished(bo
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_cleaned(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1261,8 +1242,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_cleaned(bool
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1307,10 +1286,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_cleaned(bool
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_triangle(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1351,8 +1327,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_triangle(boo
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1397,10 +1371,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_triangle(boo
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_trangle_cut(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1441,8 +1412,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_trangle_cut(
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1487,10 +1456,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_trangle_cut(
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_square(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1531,7 +1497,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_square(bool
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1576,10 +1541,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_square(bool
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_square_cut(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1620,8 +1582,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_square_cut(b
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1666,10 +1626,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_square_cut(b
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_regular(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1710,8 +1667,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_regular(bool
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1756,10 +1711,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_regular(bool
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_regular_cut(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1800,7 +1752,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_regular_cut(
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1845,10 +1796,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_regular_cut(
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_star(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1889,8 +1837,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_star(bool va
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -1935,10 +1881,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_star(bool va
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_star_cut(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -1979,8 +1922,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_star_cut(boo
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -2025,10 +1966,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_star_cut(boo
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_imperial(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -2069,8 +2007,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_imperial(boo
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -2115,10 +2051,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_imperial(boo
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_imperial_cut(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -2159,8 +2092,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_imperial_cut
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -2205,10 +2136,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_imperial_cut
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_royal(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -2249,8 +2177,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_royal(bool v
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -2295,10 +2221,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_royal(bool v
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_royal_cut(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -2339,8 +2262,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_royal_cut(bo
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -2385,10 +2306,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_royal_cut(bo
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_spectacular(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -2429,8 +2347,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_spectacular(
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -2475,10 +2391,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_spectacular(
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_legendary(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -2519,8 +2432,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_legendary(bo
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -2565,10 +2476,7 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_legendary(bo
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_legendary_cut(bool value) {
|
|
|
|
|
|
|
|
|
|
uint32_t gemCode = 0;
|
|
|
|
|
int gemPropRowID = 0;
|
|
|
|
|
diablo2::unit_stats_t stat;
|
|
|
|
@ -2609,8 +2517,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_legendary_cu
|
|
|
|
|
stat = diablo2::UNIT_STAT_gembag_Stones_TigerEye;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loot_filter_settings::get().m_show_rough = value;
|
|
|
|
|
auto player = diablo2::d2_client::get_local_player();
|
|
|
|
|
auto inventory = player->inventory;
|
|
|
|
@ -2655,8 +2561,6 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_legendary_cu
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// qualities extraction functions
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::extract_chipped(bool value) {
|
|
|
|
@ -4312,11 +4216,8 @@ void d2_tweaks::client::modules::loot_filter_settings_menu::extract_r33(bool val
|
|
|
|
|
|
|
|
|
|
// End Rune Extraction Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Rejuv Potions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void d2_tweaks::client::modules::loot_filter_settings_menu::update_show_gold(bool value) {
|
|
|
|
|
loot_filter_settings::get().show_gold = value;
|
|
|
|
|
loot_filter_settings::get().save(diablo2::d2_client::get_local_player_name());
|
|
|
|
|