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

Can anyone give me the "Root" for the default grindbot?

nokdu

New Member
Joined
Aug 16, 2010
Messages
208
Reaction score
3
I'm thinking of adding a few behaviors in the grindbot..
but i don't actually know how i could achieve this..

first i thought i could just do
Code:
PrioritySelector root;
public override TreeSharp.Composite.Root
{
           return root ?? (root = new PrioritySelector(
                    Bots.Grind.LevelBot.Root, 
                    Mybehavior());
}
but.. of course i couldn't do that.. and if i try to do that i won't be able to put my behaviors between the levelbot behaviors..
so i checked and found these in Bots.Grind.LevelBot
Code:
        public static Composite CreateCombatBehavior();
        public static PrioritySelector CreateDeathBehavior();
        public static Composite CreateLootBehavior();
        public static Composite CreateLootBehaviorEx2();
        public static PrioritySelector CreateRoamBehavior();
        public static PrioritySelector CreateVendorBehavior();

but i don't know which order i should put them in.. (and what is createlootbehaviorEx2())

so.. can anyone help me figure out which order i should put them in?
 
Back
Top