if (agentSatisfactionSupply->IsAgentActive())
{
int maxTurnIns = agentSatisfactionSupply->NpcInfo.SatisfactionRank == 1 ? 3 : 6;
- quantityToGather = Math.Min(agentSatisfactionSupply->RemainingAllowances,
+ quantityToGather = Math.Min(agentSatisfactionSupply->NpcData.RemainingAllowances,
((AgentSatisfactionSupply2*)agentSatisfactionSupply)->CalculateTurnInsToNextRank(maxTurnIns));
}
}
if (addon == null || !LAddon.IsAddonReady(addon))
return ETaskResult.StillRunning;
- ushort remainingAllowances = agentSatisfactionSupply->RemainingAllowances;
+ ushort remainingAllowances = agentSatisfactionSupply->NpcData.RemainingAllowances;
if (remainingAllowances == 0)
{
logger.LogInformation("No remaining weekly allowances");