• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Default Combat Discussion

    Discussion in 'Combat Routines' started by Ama, Jan 5, 2015.

    1. wired203

      wired203 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      391
      Likes Received:
      1
      Trophy Points:
      18
      Part of the whole super outage several months back was to migrate to the same base as the other bots, now it was down for so long and so many changes I don't know how much of it was but I do know it was Aevitas plan to upgrade the old botbase of swtor to the more current base code.
       
    2. ltbutterman

      ltbutterman New Member

      Joined:
      Dec 24, 2011
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      1
      Just had a tinker and revamp of the IO merc profile. Let me know how it goes for anyone playing merc? Cheers.

      edit:

      Can anyone tell me a line of code to use to enable use of items like relics or adrenals?

      Like Use.Item("RELIC NAME HERE")

      Anything like that.
       

      Attached Files:

      Last edited: Feb 12, 2016
    3. legit

      legit Member

      Joined:
      Apr 28, 2013
      Messages:
      89
      Likes Received:
      0
      Trophy Points:
      6
      hey guys,

      perhaps some1 of you can help me... i don't get this "wrath count buff 4" always to work in my rotation...sometimes it works and sometimes not... i edited the standard madness sorc profile to

      new Decorator( ret => Me.BuffCount("Wrath") == 4 && Buddy.CommonBot.AbilityManager.CanCast("Demolish", Me.CurrentTarget),
      new PrioritySelector(Spell.Cast("Demolish"))),

      any suggestions ?

      best regards
      legit
       
    4. Cyanogen1

      Cyanogen1 Member

      Joined:
      Mar 5, 2014
      Messages:
      156
      Likes Received:
      0
      Trophy Points:
      16
      Nevermind.
       
      Last edited: Feb 16, 2016
    5. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Wrath is a weird situation. Back when we framelocked everything, I still couldn't get the bot to consistently cast Demolish with 4 stacks of Wrath. It frustrated me to no end, to the point that I stopped playing the Consular version of that spec-- I just couldn't get it to work no matter how correctly it was coded.

      Now that stuff isn't framelocked, you have even less of a chance of it working properly. The real question is why does BW seem to have a problem with this particular ability/buff combo?
       
    6. Cass

      Cass New Member

      Joined:
      Jan 24, 2014
      Messages:
      98
      Likes Received:
      2
      Trophy Points:
      0
      I believe its a game bug, sometimes when you cant 4wrath demo the buff dont dissapear
       
    7. legit

      legit Member

      Joined:
      Apr 28, 2013
      Messages:
      89
      Likes Received:
      0
      Trophy Points:
      6

      mhm okay - thats bad to hear :-(

      can u suggest me a ranged class ? i can make my own rotation but don't want to mess with some bugs :p

      best regards
       
    8. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Wrather (and the Shadow equivalent) are the only spells bugged this way. Heal targeting is borked. Every other class functions fine to my knowledge. The Sage DPS works great, I'm working a TK Sage through Chapter X right now.
       
    9. legit

      legit Member

      Joined:
      Apr 28, 2013
      Messages:
      89
      Likes Received:
      0
      Trophy Points:
      6
      thanks alltrueist :)

      i am looking forward for an advanced prototype powertech
       
    10. Bighurt23

      Bighurt23 New Member

      Joined:
      Nov 10, 2012
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      1
      Anyone else have a problem with Jedi Watchmen where it stops dpsing mid fight, I have to hit a key manually to get it started again.
       
    11. legit

      legit Member

      Joined:
      Apr 28, 2013
      Messages:
      89
      Likes Received:
      0
      Trophy Points:
      6
      Hey Guys,

      i am playing a dps class which has heal spells.... i want the routine to do the dps spells and in emergency situations i will manually switch the targets to a player and want the routine to heal them...

      so for that purpose i have added a healing spell at the end of single target rotation so that all my damage spells are first taken, and because we cant attack our teammates the routine should only cast the heal spell....

      this is working...but my problem is, that somehow when i am attacking a mob the routine is casting the heal spell...so i am wondering if there is a syntax so that heal spells are only casted to "player targets" ?

      perhaps some1 can help me..

      my code of line is like this

      //Heal others
      new Decorator( ret =>
      (Me.CurrentTarget.HealthPercent <= 90),
      new PrioritySelector(Spell.Cast("Dark Heal")))
      );

      ->>>>*EDIT* i think Me.CurrentTarget.IsFriendly will fix it - tryin to test it out right now
      Thanks for your help and best regards
      legit
       
      Last edited: Feb 20, 2016
    12. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Hey guys,
      As promised in my "Fixing Healing" thread, here's the current version of my healing fix.

      Things to note:
      1. I have not yet tested this in groups. It should work in groups by detecting players who have Tank specializations and setting them as the tank. I'm not sure how well it'll work in Operations, because the bot doesn't have a function for getting players who are in party/raid. I need you guys to be my QA on this and let me know what's happening.
      2. Solo healing is working fine for both Sage/Seer and Scoundrel/Sawbones. Should work fine for Commando/CombatMedic, but I'm getting a DisciplineCannotBeDetermined there so I can't test. Need to get that fixed by Aevitas. I'll also need help translating the healing routines over to the Empire classes as well.
      3. This is a total rework of the ENTIRE targeting system. That means even DPS classes will see a change in the way they select AoE targets. I'm worried that right now the AoE/PBAoE ranges are a bit too big, but the good news is we can adjust those on an individual class basis now.
      4. Things should run more smoothly because there is less calculation being done. It simply gets targets that meet criteria and then targets them. As simple as possible.
      5. Note that we now use Spell.Cast even for heals-- we need to be able to set target and Spell.Cast allows us to do that more reliably.

      What I need:
      1. Help translating to Empire stuff
      2. Let me know if you're seeing issues targeting your companion or party members. The second one is a big concern, as I haven't tested it at all
      3. Any weird quirks or bugs that are common or reproducible (i.e.: if it only happens once or twice we can safely assume that's a BW issue and not a routine issue. If it happens reliably then it's probably a routine issue).
      4. Suggestions/Questions
       

      Attached Files:

    13. russ1979

      russ1979 Member

      Joined:
      Aug 25, 2011
      Messages:
      357
      Likes Received:
      0
      Trophy Points:
      16
      I guess the empire skills need to be worked. I just tried this in a FP with my Operative healer and it was painful as hell...wouldnt heal anyone but the tank heals were slow it wouldnt stack probe...nothing useful...

      It does not recognize the Merc bodyguard healing spec either
       
    14. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      What I need:
      1. Help translating to Empire stuff

      Reading is fundamental ;)
       
    15. Cass

      Cass New Member

      Joined:
      Jan 24, 2014
      Messages:
      98
      Likes Received:
      2
      Trophy Points:
      0
    16. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Looks like it should work fine. I forgot to add Kolto Waves into the Sawbones routine, that's a powerful AoE heal.

      Mostly, I'm interested in how targeting works for parties. Like I said, I had to use a pretty crappy kludge to get our party members. There's a much simpler way to write it, but that method would literally heal any friendly character around you (not optimal when doing open-world stuff). I just need to know if my kludge works or if I need to just go with the other method and hope we eventually get a Me.GroupInfo.IsinmyGroup like we have with Honorbuddy.
       
    17. Cass

      Cass New Member

      Joined:
      Jan 24, 2014
      Messages:
      98
      Likes Received:
      2
      Trophy Points:
      0
      you said the targeting also change for dps, is there something it should be changed on aoe dmg skills on the rotations?
       
    18. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Yeah, you can check out how it's handled now by looking at the sage/seer rotation and the spell "Forcequake" in the dps section. Basically, it calculates add counts slightly differently (again, quicker and with less calculation).

      Instead of ShouldAoE, you'll now need to use
      Code:
      Spell.Cast("Spell Name", ret => Targeting.addcount(Me.CurrentTarget, distance) > 1),
      the good part is that now all those numbers (distance, number of adds) and positions (you can use your position, a friendly target's position, your focus target's position, your companion's position, or your current target's position) are adjustable per spell instead of using the universal "ShouldAoE". We now also don't need to different checks for AoE, PBAoE, etc.
       
    19. Cass

      Cass New Member

      Joined:
      Jan 24, 2014
      Messages:
      98
      Likes Received:
      2
      Trophy Points:
      0
      how it would be the conditional for aoe healing since it have to take into account players positioning AND hp of all of them?

      EDIT: Nevermind, i checked your function on the seer rotation :)

      EDIT2: You could change a little bit so that we can use different hp threshold then 75% something like

      PHP:
      public static int injuredfriendCount(TorCharacter unitfloat rangefloat hpaoe)
              {
                  var 
      PartyMembers.Where(=> != null
                      
      && p.InLineOfSight
                      
      && p.HealthPercent <= hpaoe
                      
      && p.Position.DistanceSqr(unit.Position) <= range range
                      
      && p.IsFriendly).ToList();
                  return 
      t.Count();
              }
       
      Last edited: Mar 8, 2016
    20. russ1979

      russ1979 Member

      Joined:
      Aug 25, 2011
      Messages:
      357
      Likes Received:
      0
      Trophy Points:
      16
      how about a fixed Merc - bodyguard routine for healing?



      also how do i get this to heal everyone in the FP? It's only healing the person i set as tank
       
      Last edited: Mar 8, 2016

    Share This Page