What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

UPaCCBT: The BehaviourTree Ultimate Paladin Healer Custom Class

Status
Not open for further replies.
yeah its working great...just set my HR to off...and manually do it with mouseover macros...and set judge for mana to 1. Seems to fix the minor issues.

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!
 
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!

Holy Radiance...itll be in the far left bracket on all the tabs
 
Holy Radiance Rework-***Removed the checks for people in range...should cast if meets threshhold and needs aoe?
Could we design a check similar to the original that checks for # of players within range
of target being healed? Or one that checks *to see "if_holy_power_2" then cast HR, and
follow with a LoD...for max AoE.*

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^^
 
@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 PrioritySelector( Composite_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 PrioritySelector( Composite_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 center, int distance, int 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_many, int how_far, int 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", counter, how_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_many, int how_far, int how_much_health, int 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", counter, how_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
 
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.
 
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)
 

Attachments

wow thanks a bunch! but can you use lazyraider with this? I cant see the Lazyraider tab anywhere in the new testversion of honorbuddy
 
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)

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.
 
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 ...
 
Same here haha.

To be fair, if it wasn't for this CC i would have never got 7/7hc
 
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!
 
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!

thank u, i'm there today too, so maybe (if i see problems) there would be more fixes this evening while raiding
 
thank u, i'm there today too, so maybe (if i see problems) there would be more fixes this evening while raiding

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. :)
 
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.
 
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.

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!)
 
Status
Not open for further replies.
Back
Top