forked from liza/Questionable
master #4
@ -99,7 +99,7 @@ internal sealed class ContextMenuController : IDisposable
|
|||||||
if (agentSatisfactionSupply->IsAgentActive())
|
if (agentSatisfactionSupply->IsAgentActive())
|
||||||
{
|
{
|
||||||
int maxTurnIns = agentSatisfactionSupply->NpcInfo.SatisfactionRank == 1 ? 3 : 6;
|
int maxTurnIns = agentSatisfactionSupply->NpcInfo.SatisfactionRank == 1 ? 3 : 6;
|
||||||
quantityToGather = Math.Min(agentSatisfactionSupply->RemainingAllowances,
|
quantityToGather = Math.Min(agentSatisfactionSupply->NpcData.RemainingAllowances,
|
||||||
((AgentSatisfactionSupply2*)agentSatisfactionSupply)->CalculateTurnInsToNextRank(maxTurnIns));
|
((AgentSatisfactionSupply2*)agentSatisfactionSupply)->CalculateTurnInsToNextRank(maxTurnIns));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ internal static class TurnInDelivery
|
|||||||
if (addon == null || !LAddon.IsAddonReady(addon))
|
if (addon == null || !LAddon.IsAddonReady(addon))
|
||||||
return ETaskResult.StillRunning;
|
return ETaskResult.StillRunning;
|
||||||
|
|
||||||
ushort remainingAllowances = agentSatisfactionSupply->RemainingAllowances;
|
ushort remainingAllowances = agentSatisfactionSupply->NpcData.RemainingAllowances;
|
||||||
if (remainingAllowances == 0)
|
if (remainingAllowances == 0)
|
||||||
{
|
{
|
||||||
logger.LogInformation("No remaining weekly allowances");
|
logger.LogInformation("No remaining weekly allowances");
|
||||||
|
Loading…
Reference in New Issue
Block a user