• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Aoe vs single target

    Discussion in 'Archives' started by begin11, Dec 16, 2014.

    1. begin11

      begin11 New Member

      Joined:
      Mar 8, 2013
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      1
      This probably has already been asked, but i am wondering if there is a way to change the amount of monster that needs to be near my character to switch from my selected single target attack to my aoe attack.
      Because sometimes there are like five monsters around and it keeps using the single target attack and it takes more time than it should to kill the pack.

      Thanks in advance.
       
    2. kuskner

      kuskner Member

      Joined:
      Oct 12, 2013
      Messages:
      521
      Likes Received:
      2
      Trophy Points:
      18
      I am a noob at this. But I belive that in the ExampleRoutine.cs located in routine\ExampleRoutine is where you edit stuff like that.

      Prob like line 1777 to 1796 is about aoe

      Code:
      // Logic for figuring out if we should use an AoE skill or single target.
                      if (cachedNumberOfMobsNear > 2 && cachedRarity < Rarity.Rare)
                      {
                          aoe = true;
                      }
      
                      // Logic for figuring out if we should use an AoE skill instead.
                      if (myPos.Distance(cachedPosition) < ExampleRoutineSettings.Instance.MaxMeleeRange)
                      {
                          melee = true;
                          if (cachedMobsNearForAoe >= 3)
                          {
                              aoe = true;
                          }
                          else
                          {
                              aoe = false;
                          }
                      }
      So if 3 or more mobs are near it will use aoe I think.
       
      Last edited: Dec 17, 2014

    Share This Page