Merge pull request #2282 from MaaAssistantArknights/dev

Release v4.6.3
This commit is contained in:
MistEO
2022-10-11 20:40:55 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ bool asst::BattleDataConfiger::parse(const json::value& json)
}
static const std::unordered_map<std::string, BattleLocationType> PositionMap = {
{ "NONE", BattleLocationType::None },
{ "NONE", BattleLocationType::All }, // 这种很多都是道具之类的,一般哪都能放
{ "MELEE", BattleLocationType::Melee },
{ "RANGED", BattleLocationType::Ranged },
{ "ALL", BattleLocationType::All },

View File

@@ -230,9 +230,9 @@ asst::BattleLocationType asst::RoguelikeBattleTaskPlugin::get_role_location_type
case BattleRole::Warrior:
case BattleRole::Tank:
case BattleRole::Special:
case BattleRole::Drone:
return BattleLocationType::Melee;
break;
case BattleRole::Drone:
default:
return BattleLocationType::None;
break;