mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
fix.修复设置不使用无人机时,也会被巫恋组使用掉的问题
https://github.com/MistEO/MeoAssistantArknights/issues/220
This commit is contained in:
@@ -11,7 +11,8 @@ bool asst::DronesForShamareTaskPlugin::verify(AsstMsg msg, const json::value& de
|
||||
}
|
||||
|
||||
if (details.at("what").as_string() == "ProductOfFacility"
|
||||
&& details.at("details").at("product").as_string() == "Money") {
|
||||
&& details.at("details").at("product").as_string() == "Money"
|
||||
&& m_cast_ptr->get_uses_of_drone() == "Money") {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user