xenohadden
New Member
- Joined
- Jul 30, 2011
- Messages
- 242
- Reaction score
- 2
mmm... probably because of the big cost difference, talking to nesox now.
any luck man?
mmm... probably because of the big cost difference, talking to nesox now.
any luck man?
Hey Nuok. Some people using my combat target changer are finding that the "IsElite" check for running routines isn't working well enough, as it only checks if the current, ACTUAL target is elite before using an ability, rather than checking if an elite is within a specific range. I provided a fix/edit for Belphegor for the person asking for help for his barbarian, but you might want to take a look and think about adding this in "properly" and integrating to the other classes etc.? Have a look anyway, do with it what you want (even if it's nothing!). Perhaps it could be done as a cluster check instead of being put into unit.cs as I did, but whatever!
http://www.thebuddyforum.com/demonb...es-monster-priority-changer-2.html#post638347
Sadly, it seems incredibly resource intensive so ill have another ***** at it another time. Might need to wait till we can see power levels.
Yea looks good. The only reason it was only cast on a single unit was its quite resource intensive.
(146)
- Added a suceedRunner to the SpellCast methods so you can pass in an action to perform once a spell has been cast. (Nesox)
- Moved all timers over to ^^
- IsElite simplified & Giles Smith's overload to check all units added
- Ignore Pain defualt % changed to 0.6
What Belphegor version does Demonbuddy come with?
For me as well.BB won't use sprint when doing fast MF run. DB default boudle version of Belphegor works fine.
public static DiaItem Globe
{
get
{
var globe = ZetaDia.Actors.GetActorsOfType<DiaItem>().Where(i => i.ActorSNO == 4267 && i.Distance <= Zeta.CommonBot.Settings.CharacterSettings.Instance.LootRadius).OrderBy(i => i.Distance).FirstOrDefault();
if (globe != null)
Logger.Write("Found globe at " + globe.Position);
return globe;
}
}
public static Composite CreateGetHealthGlobe()
{
return
new Decorator(ret => ZetaDia.Me.HitpointsCurrentPct <= BelphegorSettings.Instance.HealthGlobePct && Globe != null,
new PrioritySelector(
new Sequence(
new Action(ctx => Logger.Write("HealthGlobe set to get below {0}%, my health is currently {1}%, getting to {2}", 100 * BelphegorSettings.Instance.HealthGlobePct, Math.Round(100 * ZetaDia.Me.HitpointsCurrentPct), Globe.Position)),
CommonBehaviors.MoveTo(ctx => Globe.Position, "Moving to HealthGlobe")
)
)
);
}
*************** Monk.cs ********
Common.CreateWaitWhileIncapacitated(),
Common.CreateGetHealthGlobe(),
Common.CreateWaitForAttack(),
Common.CreateUsePotion(),
(148)
- Added the ability to move to health globes
- Slight reordering of the use potion
Note, i tested it for around 30mins with hp set to 120% so that would would pick them all up and seemed to work ok.
(148)
- Added the ability to move to health globes
- Slight reordering of the use potion
Note, i tested it for around 30mins with hp set to 120% so that would would pick them all up and seemed to work ok.
148 doesn't seem to use potions anymore. I set it to 90% for testing and it still never uses potions.