Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaksuhn committed Apr 24, 2024
1 parent 987a7ce commit 2ba6a18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Automaton/Features/Achievements/DateWithDestiny.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public override void Disable()
private unsafe void OnUpdate(IFramework framework)
{
if (!active || Svc.Fates.Count == 0 || Svc.Condition[ConditionFlag.Unknown57]) return;
if (navmesh.IsRunning());
if (navmesh.IsRunning())
{
if (DistanceToTarget() > 5)
{
Expand Down Expand Up @@ -230,12 +230,12 @@ private unsafe void OnUpdate(IFramework framework)
}
// fate farm until 15 legendary medals
var medal = yokai.FirstOrDefault(x => x.Minion == CurrentCompanion).Medal;
if (InventoryManager.Instance()->GetInventoryItemCount(medal) >= 15)
if (InventoryManager.Instance()->GetInventoryItemCount(medal) >= 10)
{
// check for other companions, summon them, repeat
Svc.Log.Debug("Have 15 of the relevant Legendary Medal. Swapping minions");
step = "Swapping minions";
var minion = yokai.FirstOrDefault(x => CompanionUnlocked(x.Minion) && InventoryManager.Instance()->GetInventoryItemCount(x.Medal) < 15).Minion;
var minion = yokai.FirstOrDefault(x => CompanionUnlocked(x.Minion) && InventoryManager.Instance()->GetInventoryItemCount(x.Medal) < 10).Minion;
if (minion != default)
{
ECommons.Automation.Chat.Instance.SendMessage($"/minion {Svc.Data.GetExcelSheet<Companion>().GetRow(minion).Singular}");
Expand Down

0 comments on commit 2ba6a18

Please sign in to comment.