mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
@@ -69,8 +69,7 @@ bool asst::MedicineCounterPlugin::_run()
|
||||
}
|
||||
else if (m_using_count >= m_max_count && m_use_expiring) {
|
||||
bool changed = false;
|
||||
for (const auto& [use, inventory, rect, is_expiring] :
|
||||
using_medicine->medicines | asst::ranges::views::reverse) {
|
||||
for (const auto& [use, inventory, rect, is_expiring] : using_medicine->medicines | views::reverse) {
|
||||
if (use > 0 && is_expiring != ExpiringStatus::Expiring) {
|
||||
ctrler()->click(rect);
|
||||
sleep(Config.get_options().task_delay);
|
||||
|
||||
Reference in New Issue
Block a user