• Visit Rebornbuddy
  • Ancestral warchief question

    Discussion in 'Archives' started by Lipie, Dec 15, 2016.

    1. Lipie

      Lipie Member

      Joined:
      Nov 18, 2010
      Messages:
      402
      Likes Received:
      3
      Trophy Points:
      18
      I can't seem to figure out how to fix the following (and no idea if it is even possible at all):
      Ancestral warchief is a totem that gets summoned and smacks mobs around it.
      Right now, he summons it but its not that effective at killing stuff as he mostly waits to recast it until the totem despawns (by that time my char is already miles ahead)

      Is it possible to adjust the basic totem logic to recast on a unique/rare or when 10+ mobs are near ?
      this is the standard logic I found in oldroutine:
      Code:
      // Handle totem logic.                if (_totemSlot != -1 &&
                          _totemStopwatch.ElapsedMilliseconds > OldRoutineSettings.Instance.TotemDelayMs)
                      {
                          var skill = LokiPoe.InGameState.SkillBarHud.Slot(_totemSlot);
                          if (skill.CanUse() &&
                              skill.DeployedObjects.Select(o => o as Monster).Count(t => !t.IsDead && t.Distance < 60) <
                              LokiPoe.Me.MaxTotemCount)
                          {
                              await DisableAlwaysHiglight();
      
      
                              await Coroutines.FinishCurrentAction();
      
      
                              var err1 = LokiPoe.InGameState.SkillBarHud.UseAt(_totemSlot, true,
                                  myPos.GetPointAtDistanceAfterThis(cachedPosition,
                                      cachedDistance/2));
      
      
                              _totemStopwatch.Restart();
      
      
                              if (err1 == LokiPoe.InGameState.UseResult.None)
                                  return true;
      
      
                              Log.ErrorFormat("[Logic] UseAt returned {0} for {1}.", err1, skill.Name);
                          }
                      }
      Thanks a lot !
       
    2. Darox

      Darox Member

      Joined:
      Nov 7, 2014
      Messages:
      356
      Likes Received:
      2
      Trophy Points:
      18
      There is logic for skills with certain packs/target rarity. If you look in oroborus routine he has some there. If you know what your doing you could probably work with that to add totem logic. Would be great as lots of builds with wither totems, or melee only need the help on uniques or rares.
       
    3. Lipie

      Lipie Member

      Joined:
      Nov 18, 2010
      Messages:
      402
      Likes Received:
      3
      Trophy Points:
      18
      I'll take a look at oroborus :) Hope I can learn something from it, thanks!
       
    4. IeU

      IeU Member

      Joined:
      Jul 20, 2010
      Messages:
      831
      Likes Received:
      11
      Trophy Points:
      18
      Try to decrease the radius, from 60 to like 20.

      And set your totem delay in gui to like somethin btw 2000-4000ms (2-4s)

      I also changed in mine custom routine the range where it should cast the totem, for most totem skills, i dont like the "cachedDistance/2", i usually get rid of the /2, or even add a bit of range (to be cast behind the maintarget, e.g. "cachedDistance + 10")
       
      Last edited: Dec 16, 2016
    5. Lipie

      Lipie Member

      Joined:
      Nov 18, 2010
      Messages:
      402
      Likes Received:
      3
      Trophy Points:
      18
      Ok, thanks dude, I'll try that and report back !
       
    6. dirin

      dirin Member

      Joined:
      May 16, 2014
      Messages:
      55
      Likes Received:
      1
      Trophy Points:
      8
      Anyone with a working Multiple Warchief Totem Combat Routine you can share it please?
       
    7. eatinapineapple

      eatinapineapple Member

      Joined:
      Jul 8, 2012
      Messages:
      83
      Likes Received:
      1
      Trophy Points:
      8
      Your bot takes off and doesn't just sit there? I'm jealous
       

    Share This Page