Hello, this might be usefull for cc developers. Code: public float PrimaryResource { get { int primary = (int)(Zeta.Internals.Actors.ActorAttributeType.ResourceCur) + (int)(ResourceValues.Parse(typeof(ResourceValues), ZetaDia.Me.ResourceTypePrimary.ToString())); return (float) ZetaDia.Me.CommonData.GetAttribute<float>(primary); } } public float SecondaryResource { get { if (ZetaDia.Me.ActorClass != ActorClass.DemonHunter) {return -1;} //because it only works for dh int secondary = (int)(Zeta.Internals.Actors.ActorAttributeType.ResourceCur) + (int)(ResourceValues.Parse(typeof(ResourceValues), ZetaDia.Me.ResourceTypeSecondary.ToString())); return (float) ZetaDia.Me.CommonData.GetAttribute<float>(secondary); } } public enum ResourceValues : int { None = 0x0000, Arcanum = 0x2000, Fury = 0x3000, Spirit = 0x4000, Mana = 0x5000, Hatred = 0x6000, Discipline = 0x7000, } Use something like float currentresource = PrimaryResource; and ull get the value of the resource your character currently has. For dh PrimaryResource returns hatred, SecondaryResource returns disc. Remember there is no SecondaryResource for classes beside dh, thats why i made it return -1 if actor != dh
Added similar API to DB just now. (With no need to do enum parsing like that) Expect it in the next release. Btw, your stuff can be simplified to something much easier. Code: var attrib = ActorAttributeType.ResourceCur | ((int)Me.ResourceTypePrimary << 12); Blizzard uses this standard "composite" attribute type for anything with multiple "types". (Eg; resource type, damage type, resists, etc)
Thanks for your answers, thats ineed a cleaner way to do things here. i ended up calculating attribute like this Code: var primary = (int)(ActorAttributeType.ResourceCur + 0x1000) | ((int)ZetaDia.Me.ResourceTypePrimary << 12) ;
I don't know if this is an issue with Belphegor, or with Giles Monster Priority Changer, but at some point my bot just decided to stop attacking entirely. Started some point before this [19:38:21.082 N] Player died, Resetting caches. It then started a new game, and just tried to run through all mobs without hitting anything View attachment stopsattacking.zip
Open D3, Start Demonbuddy, Join a game, hit 'Start", select "belphegor all in one", hit "stop", hit the settings button, then adjust WOTB aoe count to 20. pic
private static WaitTimer _explodingPalm = new WaitTimer(TimeSpan.FromSeconds(3)); Could you add a settings for this because I prefer it to 6 seconds ...
Version 207: Small tweaks in avoidance Logic DH: Stand in caltrops for use with Bait the Trap Run Monk: Cyclone Strike AoE Count added and will now cast on elites Seven-Sided Strike AoE Count added and will now cast on elites Added a setting for Exploding Palm Delay Wizard: Frost Nova AoE Count and Energy Twister AoE Count added Any settings or build suggestions are welcome With the slow attacking please try it without Giles Target provider and post a log.
Please make it possible to set a HP bar for avoidance. Arcane and ice is allways something i would like to avoid, but desecrator alone is usually a piece of cake or at least if its 1/2 under you, and you would like to avoid it only if there is under 50% hp (other wise runs around alot)
The new frost nova and twister works great. But without explosive blast working properly it is for naught. Also, on a weird note Belph would not attack Maghda. Not sure why.
It has been possible to do that for some time. Look in your settings & set WotB to only go off when facing 20+ mobs - that will keep it from going off until you hit an elite (which will always trigger it, regardless of this setting).
need the cc to be capable of running sprint WW Barb so we can do ponies/act3/4 with minimal amounts of gear.. is this a feature being implemented any soon?
Hey mate don't know if you know this but atm for monk if you get each mob to 30% and then put exploding palm on one of them and nuke them all down, it kills them all at the same time and you get loot x 3. Anyway we could get the bot to do this everytime?
Preferably fire off when enemies are in a certain radius to maximize damage and fire off when ever not on cool down. It seems to go off even when enemy's are far away making it pretty much useless. The best build for a wizard is non stop nova/explosive blast. Also, what is the Wizical mass combat routine?