This commit is contained in:
Liza 2024-11-19 18:12:17 +01:00
parent ec3111f14c
commit 9293da29e8
Signed by: liza
GPG Key ID: 7199F8D727D55F67
5 changed files with 8 additions and 5 deletions

@ -1 +1 @@
Subproject commit a63c8e7154e272374ffa03d5c801736d4229e38a Subproject commit 069cf988b5da8657bc13ade73bfcbc2675601023

@ -1 +1 @@
Subproject commit 38080f2a3733aa19b6928f4d2984fac7b9a7fab7 Subproject commit 974a0ef35536b7f0a10a278539f7136d6966baa3

3
Mariner.sln.DotSettings Normal file
View File

@ -0,0 +1,3 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=AutoRetainerAPI/@EntryIndexedValue">ExplicitlyExcluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=ECommons/@EntryIndexedValue">ExplicitlyExcluded</s:String></wpf:ResourceDictionary>

View File

@ -1,6 +1,6 @@
<Project Sdk="Dalamud.NET.Sdk/9.0.2"> <Project Sdk="Dalamud.NET.Sdk/9.0.2">
<PropertyGroup> <PropertyGroup>
<Version>0.2</Version> <Version>0.3</Version>
<OutputPath>dist</OutputPath> <OutputPath>dist</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -7,7 +7,7 @@ using Dalamud.Game.Command;
using Dalamud.Plugin; using Dalamud.Plugin;
using Dalamud.Plugin.Services; using Dalamud.Plugin.Services;
using ECommons; using ECommons;
using Lumina.Excel.GeneratedSheets; using Lumina.Excel.Sheets;
namespace Mariner; namespace Mariner;
@ -32,7 +32,7 @@ public sealed class MarinerPlugin : IDalamudPlugin
_commandManager = commandManager; _commandManager = commandManager;
_pluginLog = pluginLog; _pluginLog = pluginLog;
_maxRank = dataManager.GetExcelSheet<SubmarineRank>()! _maxRank = dataManager.GetExcelSheet<SubmarineRank>()
.Where(x => x.RowId > 0 && x.Capacity > 0) .Where(x => x.RowId > 0 && x.Capacity > 0)
.Select(x => (int)x.RowId) .Select(x => (int)x.RowId)
.Max(); .Max();