• Visit Rebornbuddy
  • Ground slam marauder.

    Discussion in 'Archives' started by Angelus, Mar 10, 2014.

    1. Angelus

      Angelus Member

      Joined:
      Jan 15, 2010
      Messages:
      848
      Likes Received:
      6
      Trophy Points:
      18
      I lack the skill and knowledge myself, so I was wondering if someone has a ground slam marauder routine.

      The current one spams ground slam at single mobs, leap slams all the time when it is in melee range and doesn't use heavy strike on single targets (except for rare mobs)

      Just looking for a routine that will leap slam to the target, if more mobs are in vicinity it will use ground slam or when not heavy strike.
       
    2. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      Here's something that should work exactly like you mentioned. Just follow these steps:

      1. Rename "RegisterMainAbilities" in Exile.cs to "RegisterMainAbilities2".

      2. Paste in this function above the RegisterMainAbilities2 function.
      Code:
              private void RegisterMainAbilities()
              {
                  // Use leap slam to get us close to the target when possible.
                  Register("Leap Slam", ret => BestTarget.Distance > 30);
      
                  // Use HS on rare/unique mobs only.
                  Register("Heavy Strike", ret => BestTarget.Rarity >= Rarity.Rare);
      
                  // Use GS when there is at least 1 mob within 10 units from the best target.
                  Register("Ground Slam", ret => NumberOfMobsNear(BestTarget, 10, 1));
      
                  // Fall back skill for everything else.
                  Register("Heavy Strike");
      
                  // Good to have default attack in case you're out of mana, but it'd need to be on your bar.
                  // Otherwise, the bot doesn't cast a spell which otherwise would trigger a Default Attack
                  // (something we need to change logic wise)
                  Register("Default Attack");
              }
      
      You can change up the settings as needed.
       
    3. Angelus

      Angelus Member

      Joined:
      Jan 15, 2010
      Messages:
      848
      Likes Received:
      6
      Trophy Points:
      18
      O shit, thanks man, will try it asap when I get home :)
       

    Share This Page