Skip to content

Commit

Permalink
回数の最大値と最小値が逆だった問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
veigr committed May 4, 2016
1 parent 283bdee commit 12946aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion EventMapHpViewer/MapHpViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace EventMapHpViewer
public class MapHpViewer : IPlugin, ITool
{
internal const string title = "MapHPViewer";
internal const string version = "3.3.0";
internal const string version = "3.3.1";
private ToolViewModel vm;

public void Initialize()
Expand Down
8 changes: 4 additions & 4 deletions EventMapHpViewer/Models/MapData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ public async Task<RemainingCount> GetRemainingCount(bool useCache = false)
private RemainingCount CalculateRemainingCount(Raw.map_exboss[] data)
{
return new RemainingCount(
CalculateRemainingCount(
data.Where(x => !x.isLast).Min(x => x.ship.maxhp),
data.Where(x => x.isLast).Min(x => x.ship.maxhp)
),
CalculateRemainingCount(
data.Where(x => !x.isLast).Max(x => x.ship.maxhp),
data.Where(x => x.isLast).Max(x => x.ship.maxhp)
),
CalculateRemainingCount(
data.Where(x => !x.isLast).Min(x => x.ship.maxhp),
data.Where(x => x.isLast).Min(x => x.ship.maxhp)
));
}

Expand Down
2 changes: 1 addition & 1 deletion EventMapHpViewer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
// 既定値にすることができます:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3.0.0")]
[assembly: AssemblyVersion("3.3.1.0")]

0 comments on commit 12946aa

Please sign in to comment.