1
0
Fork 0

Add delay to TargetPersonnelOfficer

master v4.3
Liza 2024-04-14 12:20:46 +02:00
parent 69a23ef2b6
commit 33ad4617c9
Signed by: liza
GPG Key ID: 7199F8D727D55F67
3 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<Version>4.2</Version> <Version>4.3</Version>
<LangVersion>12</LangVersion> <LangVersion>12</LangVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

View File

@ -200,7 +200,10 @@ partial class DeliverooPlugin
CurrentStage = Stage.RequestStop; CurrentStage = Stage.RequestStop;
} }
else else
{
_continueAt = DateTime.Now.AddSeconds(1);
CurrentStage = Stage.TargetPersonnelOfficer; CurrentStage = Stage.TargetPersonnelOfficer;
}
} }
} }
} }

View File

@ -187,7 +187,7 @@ partial class DeliverooPlugin
{ {
_chatGui.Print(new SeStringBuilder().Append("Won't turn in ") _chatGui.Print(new SeStringBuilder().Append("Won't turn in ")
.AddItemLink(_itemCache.GetItemIdFromItemName(itemName).First()) .AddItemLink(_itemCache.GetItemIdFromItemName(itemName).First())
.Append(", as can be exclusively obtained exclusively through Quick Ventures.") .Append(", as it can only be obtained through Quick Ventures.")
.Build()); .Build());
addonSupplyReward->AtkUnitBase.FireCallbackInt(1); addonSupplyReward->AtkUnitBase.FireCallbackInt(1);