What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Finished waiting after unit death: x1_Skeleton_Westmarch_A-64940, TimeWaited=0:00:01.0560136

Bertrand

Active Member
Joined
Aug 8, 2012
Messages
1,249
Reaction score
9
This, and many other unit death is causing the bot to severely underperform in fights. especially when you are running a ww barb or any other build that requires constant channeling attacks.

why is this happening and how do we fix it ? is the wait time for loot ands o on ? can it be disabled in grifts as the gr boss is the only thing dropping loot ?

any advice much apreciated.
 
It's used for waiting for items to appear after killing elites in Rifts, it's not used for regular monsters.
Mainly to make sure it waits for the progression globes to drop

PHP:
// Wait after elite death until progression globe appears as a valid target or x time has passed.
if (Core.Rift.IsInRift && await Behaviors.WaitAfterUnitDeath.While(
    u => u.IsElite && u.Distance < 150
    && Core.Targets.Entries.Any(a => a.IsElite && a.EliteType != EliteTypes.Minion && a.RadiusDistance < 60)
    && !Core.Targets.Any(p => p.Type == TrinityObjectType.ProgressionGlobe && p.Distance < 150),
    "Wait for Progression Globe", 1000))
    return true;

PHP:
protected override async Task<bool> OnStopped()
{
    LastStoppedTime = DateTime.UtcNow;
    Core.Logger.Warn($"Finished waiting after unit death: {LastDiedUnit?.Name}, TimeWaited={LastRunTime:g}");
    return true;
}
 
Last edited:
Back
Top