• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • UPaCCBT: The BehaviourTree Ultimate Paladin Healer Custom Class

    Discussion in 'Archives' started by Gilderoy, Jul 17, 2011.

    Thread Status:
    Not open for further replies.
    1. Spin

      Spin Member

      Joined:
      May 21, 2011
      Messages:
      50
      Likes Received:
      1
      Trophy Points:
      8
      hr to off? what does that mean exactly and where would I edit that? I can never get my class config to actually load for me.
      Thanks!
       
    2. Eyvindur

      Eyvindur New Member

      Joined:
      Nov 11, 2011
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Holy Radiance...itll be in the far left bracket on all the tabs
       
    3. Spin

      Spin Member

      Joined:
      May 21, 2011
      Messages:
      50
      Likes Received:
      1
      Trophy Points:
      8
      Much appreciated, I couldn't for the life of me think what HR meant haha.
       
    4. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      i'll provide u some code for "# of players within range of target being healed" later this day :)
      happy to see someone who did the same thing like me^^
       
    5. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      @eyvindur
      look at the helpers and behaviors / composites

      HR is atm (in the unchanged version of Gilderoy) casted this way
      PHP:
                              new Decorator(ret => _wanna_HR && IsSpellReady("Holy Radiance") && Should_AOE(Me"Holy Radiance"_min_player_inside_HR_HR_how_far_HR_how_much_health),
                                  new 
      PrioritySelectorComposite_Wait_again(), 
                                      new 
      Action(delegate
                                  
      {
                                      if (
      Cast("Holy Radiance""Heal""Healing"))
                                      { return 
      RunStatus.Success; }
                                      else { return 
      RunStatus.Failure; }
                                  })))
      this should be changed to
      PHP:
                              new Decorator(ret => _wanna_HR && IsSpellReady("Holy Radiance") && Should_AOE(tar"Holy Radiance"_min_player_inside_HR_HR_how_far_HR_how_much_health),
                                  new 
      PrioritySelectorComposite_Wait_again(), 
                                      new 
      Action(delegate
                                  
      {
                                      if (
      Cast("Holy Radiance",tar,"Heal","Healing"))
                                      { return 
      RunStatus.Success; }
                                      else { return 
      RunStatus.Failure; }
                                  })))
      that's it :) with this fix HR should work properly
      The check for how many players in range of a tar is:
      PHP:
      private int How_Many_Inside_AOE(WoWPlayer centerint distanceint how_much_health)
      it'S already in the helpers, so there's no need to write a new method for this

      the part for should holy radiance is atm
      PHP:
             private bool ShouldHolyRadiance(int how_manyint how_farint how_much_health)
              {
                  
      int counter;
                  
      counter 0;
                  if (!
      SpellManager.HasSpell("Holy Radiance") || SpellManager.Spells["Holy Radiance"].Cooldown)
                  {
                      return 
      false;
                  }
                  if (
      InRaid())
                  {
                      foreach (
      WoWPlayer p in Me.RaidMembers)
                      {
                          if (
      unitcheck(p) && p.Distance how_far && p.HealthPercent how_much_health && (!p.Auras.ContainsKey("Finkle\'s Mixture") || (p.Auras.ContainsKey("Finkle\'s Mixture") && p.CurrentHealth 10000)))
                          {
                              
      counter++;
                          }
                      }
                  }
                  else
                  {
                      foreach (
      WoWPlayer p in Me.PartyMembers)
                      {
                          if (
      unitcheck(p) && p.Distance how_far && p.HealthPercent how_much_health)
                          {
                              
      counter++;
                          }
                      }
                      if (
      Me.HealthPercent how_much_health) { counter++; }
                  }
                  
      //slog(Color.DarkRed,"there are {0} injuried unit in  yard", counter);
                  
      if (counter >= how_many)
                  {
                      
      slog(Color.DarkRed"Holy Radiacen: there are {0} injuried unit in {1} yard"counterhow_far);
                      
      /*
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.Name, Round(Me.Distance), Round(Me.HealthPercent));
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.PartyMember1.Name, Round(Me.PartyMember1.Distance), Round(Me.PartyMember1.HealthPercent));
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.PartyMember2.Name, Round(Me.PartyMember2.Distance), Round(Me.PartyMember2.HealthPercent));
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.PartyMember3.Name, Round(Me.PartyMember3.Distance), Round(Me.PartyMember3.HealthPercent));
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.PartyMember4.Name, Round(Me.PartyMember4.Distance), Round(Me.PartyMember4.HealthPercent));
                      */
                      
      return true;
                  }
                  return 
      false;
              }
      and should be a new overloaded method like that
      PHP:
             private bool ShouldHolyRadiance(int how_manyint how_farint how_much_healthint how_much_holypower)
              {
                  
      int counter;
                  
      counter 0;
                  if (!
      SpellManager.HasSpell("Holy Radiance") || SpellManager.Spells["Holy Radiance"].Cooldown || Me.CurrentHolyPower how_much_holypower)
                  {
                      return 
      false;
                  }
                  if (
      InRaid())
                  {
                      foreach (
      WoWPlayer p in Me.RaidMembers)
                      {
                          if (
      unitcheck(p) && p.Distance how_far && p.HealthPercent how_much_health && (!p.Auras.ContainsKey("Finkle\'s Mixture") || (p.Auras.ContainsKey("Finkle\'s Mixture") && p.CurrentHealth 10000)))
                          {
                              
      counter++;
                          }
                      }
                  }
                  else
                  {
                      foreach (
      WoWPlayer p in Me.PartyMembers)
                      {
                          if (
      unitcheck(p) && p.Distance how_far && p.HealthPercent how_much_health)
                          {
                              
      counter++;
                          }
                      }
                      if (
      Me.HealthPercent how_much_health) { counter++; }
                  }
                  
      //slog(Color.DarkRed,"there are {0} injuried unit in  yard", counter);
                  
      if (counter >= how_many)
                  {
                      
      slog(Color.DarkRed"Holy Radiacen: there are {0} injuried unit in {1} yard"counterhow_far);
                      
      /*
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.Name, Round(Me.Distance), Round(Me.HealthPercent));
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.PartyMember1.Name, Round(Me.PartyMember1.Distance), Round(Me.PartyMember1.HealthPercent));
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.PartyMember2.Name, Round(Me.PartyMember2.Distance), Round(Me.PartyMember2.HealthPercent));
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.PartyMember3.Name, Round(Me.PartyMember3.Distance), Round(Me.PartyMember3.HealthPercent));
                      slog(Color.DarkRed, "Player {0} discance {1} life {2} %", Me.PartyMember4.Name, Round(Me.PartyMember4.Distance), Round(Me.PartyMember4.HealthPercent));
                      */
                      
      return true;
                  }
                  return 
      false;
              }
      for LoD i've no solution atm (haven't looked at it, but will talk to some PalaHeals from my friendslist in the evening to find a good solution)

      maybe i'll post a updated version later this day here, after i tested HR changes in my raid
       
    6. Eyvindur

      Eyvindur New Member

      Joined:
      Nov 11, 2011
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      thx for the really detailed response. gosh...wish i knew what some of that meant :)...so intriguing. So is this something i can just copy and paste into the file? Or is there some other method? Lemme know... Anyway, very tired...going to bed :D...talk to you all later.
       
    7. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      for everyone who can't wait for a tested version

      Changes:
      - Code CleanUp by Using-Directives
      - HR logic improved to check players around actual target insted of checking players around Me, casting HR on actual target instead of Me facing direction

      ToDo:
      - LoD
      - More CodeCleanup since there are so much unused methods in there atm

      note: i tried to contac gilderoy via Forum and googlecode, no answer atm, ALL credits are going to gilderoy, i only try to fix some stuff (mainly for dungeon and raidhealing atm)
       

      Attached Files:

    8. derfred

      derfred New Member

      Joined:
      Jun 14, 2010
      Messages:
      34
      Likes Received:
      1
      Trophy Points:
      0
      wow thanks a bunch! but can you use lazyraider with this? I cant see the Lazyraider tab anywhere in the new testversion of honorbuddy
       
    9. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
    10. neodite

      neodite New Member

      Joined:
      Oct 12, 2010
      Messages:
      498
      Likes Received:
      3
      Trophy Points:
      0
      Thankyou for taking the time to make fixes. This really is a fantastic CC, and it would be a crime to let it go to waste.
       
    11. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      This CC can't die!!! :) i need it to heal in the raids of my guild^^ they're relying on my, so i have to fix this one^^ ... because i'm by no means a good pala player and of course i'm not a healer ...
       
    12. neodite

      neodite New Member

      Joined:
      Oct 12, 2010
      Messages:
      498
      Likes Received:
      3
      Trophy Points:
      0
      Same here haha.

      To be fair, if it wasn't for this CC i would have never got 7/7hc
       
    13. dirtdog

      dirtdog New Member

      Joined:
      Jun 12, 2011
      Messages:
      273
      Likes Received:
      2
      Trophy Points:
      0
      Great work mate supporting this in Gilderoys absense...will try this when i get home asap! Going Ds with guild tonight so lets hope all works great:) will report my experience.

      Cheers!
       
    14. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      thank u, i'm there today too, so maybe (if i see problems) there would be more fixes this evening while raiding
       
    15. dirtdog

      dirtdog New Member

      Joined:
      Jun 12, 2011
      Messages:
      273
      Likes Received:
      2
      Trophy Points:
      0
      Aye.... i fixed all mouseover macros for all spells just in case one needs to start handhealing *shrug* Lets hope for the best...will do a couple of the new 5mans to try now atleast! Reports inc. :)
       
    16. Obliv

      Obliv New Member

      Joined:
      Oct 18, 2011
      Messages:
      636
      Likes Received:
      6
      Trophy Points:
      0
      Hopefully we hear something soon, but if not... is it against the rules for you to create your own thread with your uploads? Would be a lot easier to find them if they were in one spot.
       
    17. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      at this moment it'S against the rules
       
    18. ChrisAttackk

      ChrisAttackk New Member

      Joined:
      Apr 4, 2011
      Messages:
      229
      Likes Received:
      1
      Trophy Points:
      0
      Used this to down 4 bosses last night in the new raid. And it worked fine
       
    19. Altoids

      Altoids New Member

      Joined:
      Jul 21, 2011
      Messages:
      936
      Likes Received:
      8
      Trophy Points:
      0
      Until gilderoy comes back or the CC is considered 'abandoned', then he can't post his own thread on it. I'm not sure what the 'statute' is on AFF (Away from Forums in this case) but up until that point, Stormchasing or anyone else can only post minor updates to this thread. (Thanks for what you are trying to do Stormchasing - we appreciate it!)
       
    20. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      ---- delete --- double post
       
      Last edited: Nov 30, 2011
    Thread Status:
    Not open for further replies.

    Share This Page