コミットメタ情報

リビジョンce60e627b9706022ee621518d87c12318b4325e8 (tree)
日時2018-06-18 23:15:58
作者Kazuhiro Fujieda <fujieda@user...>
コミッターKazuhiro Fujieda

ログメッセージ

軽巡2水母1より多いと前線の航空偵察のカウンタが進まないのを直す

変更サマリ

差分

--- a/KancolleSniffer.Test/QuestInfoTest.cs
+++ b/KancolleSniffer.Test/QuestInfoTest.cs
@@ -756,9 +756,10 @@ namespace KancolleSniffer.Test
756756 PAssert.That(() => questInfo.Quests[0].Count.Now == 1, "轟沈あり");
757757 battleInfo.Result.Friend.Main[1].NowHp = 1;
758758
759+ battleInfo.Result.Friend.Main[3].Spec.ShipType = 3;
759760 battleInfo.Result.Friend.Main[4].Spec.ShipType = 16;
760761 questInfo.InspectBattleResult(Js(new {api_win_rank = "A"}));
761- PAssert.That(() => questInfo.Quests[0].Count.Now == 1, "水母2隻");
762+ PAssert.That(() => questInfo.Quests[0].Count.Now == 2, "軽巡3隻水母2隻");
762763 }
763764
764765 /// <summary>
--- a/KancolleSniffer/QuestInfo.cs
+++ b/KancolleSniffer/QuestInfo.cs
@@ -672,7 +672,7 @@ namespace KancolleSniffer
672672 if (_map == 63 && _boss && QuestSortie.CompareRank(rank, "A") <= 0)
673673 {
674674 var fleet = _battleInfo.Result.Friend.Main.Where(s => s.NowHp > 0).Select(s => s.Spec.ShipType).ToArray();
675- if (fleet.Count(s => s == 3) == 2 && fleet.Count(s => s == 16) == 1)
675+ if (fleet.Count(s => s == 3) >= 2 && fleet.Count(s => s == 16) >= 1)
676676 IncrementCount(q862.Count);
677677 }
678678 }
旧リポジトリブラウザで表示