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

Custom Witch Doctor Ability Usage

Beerwalker

New Member
Joined
Nov 30, 2012
Messages
30
Reaction score
0
Trinity WItch Doctor Edition

View attachment 74889Trinity CE with improved WD AI v. 0.6.1 beta

What is it??

It's a modified Trinity Community Edition, improving some WD AI. It doesnt focus on some particular build, but improves ablities usage in general.
1) Many spells reworked( smart locust cast, spirit barrage with manitu, sacrifice, etc.)
2) Tried to make behavior code run faster( dont think it's a bottleneck right now, but anyway)
3) You can now set the runes you use for abilities in WDC settings tab in trinity settings(most abilities added).
4) Feel free to modify code in WitchDoctor.cs and play with different numbers(EXPERIENCED USERS ONLY!)​

UI screenshot:
GUI.webp

Some future plans:

Force bot to stand near the wall when using bears( for that godlike caravan of bears)
Improve avoidance and kite.
Add on option to kite on low health (and disable on full).

Instructions:
1) Download modified Giles Trinity CE from the link below
2) Install it using info from the original thread.
3) Open WDC tab in Trinity settings and set runes that you use for abilities.(Not all abilities added yet).​

Some suggestions:
1) Set kite distance to 0 in Trinity settings.
2) Post your opinion in this thread!​

Known issues:
WARNING! IT RESETS TRINITY SETTINGS. IF YOU ARE NOT READY TO SET THEM AGAIN - DONT USE IT

Changelog:

Code:
[FONT=Courier New]v. 0.3    [/FONT][INDENT][FONT=Courier New]1) If u have both fear and spirit walk for out of combat movement - they will no longer be used at the same time.(2sec cd)[/FONT][/INDENT]
[INDENT][FONT=Courier New]2) Added "Force melee bears" option. If checked - will force WD to get closer to mobs and SPAM BEARS. Extreamly awesome if your dps is high.
[FONT=courier new]
[/FONT][/FONT][/INDENT]
[FONT=Courier New][FONT=courier new]v 0.4[/FONT][/FONT]
[FONT=courier new]     1) Locusts now casted on nearest target instead of current one.
     2) Haunt works with locusts without bugs now.
     3) Now each dog's position is stored. Sacrifice even better now.
     4) Slight avoidance improvement.

v 0.5[/FONT][INDENT][FONT=courier new][COLOR=#333333]1) Reworked sacrifice. Added some controls to UI. You can choose how often bot should fire sacrifice. Also you can set to use sacrifice even on one enemy.[/COLOR]
[COLOR=#333333]2) Added UI option to run for health globes when low mana( for gruesome feast).[/COLOR]
[COLOR=#333333]3) And some more little improvements.
[/COLOR]
[/FONT][/INDENT]
[FONT=courier new][COLOR=#333333]v 0.6 beta
[/COLOR][/FONT][INDENT][FONT=courier new][COLOR=#333333]1) Added "near wall bears feature". Now bot tries to find a good near-wall spot to cats bears. In beta it's always enabled, ther's no UI setting to disable it. I need some feedback and test from you.
2) Sacrifice cast should be faster now (I dont have gear for 0 cd dogs, so cannot test it)[/COLOR][/FONT][/INDENT]
Rules for abilities added to UI:

Code:
Spirit Walk[INDENT][INDENT]Out of combat:[/INDENT]
[INDENT=3]a)Used if  "Allow of Combat movement powers" enabled[/INDENT]
[INDENT]   
In combat:[/INDENT]
[INDENT][INDENT]Not avoiding:[/INDENT]
[INDENT=2]a)Used if health lower than 65%
b)Low mana and mana regen rune is set in config(mana regen rune)
c)Chasing goblin[/INDENT]
[INDENT]       
Avoiding:[/INDENT]
[INDENT=2]a)Used if health lower than 65%
b)Low mana and mana regen rune is set in config(mana regen rune)
c)Chasing goblin[/INDENT]
[INDENT]       
Incapacitated:[/INDENT]
[INDENT=2]a)Used all the time[/INDENT]
[/INDENT]
[/INDENT]
[INDENT]
Horrify[/INDENT]
[INDENT=2]Out of combat: [/INDENT]
[INDENT=4]a)Used if  "Allow of Combat movement powers" enabled(move speed rune)[/INDENT]
[INDENT=2]    In combat:
        [/INDENT]
[INDENT=3]Not avoiding:
            [/INDENT]
[INDENT=4]a)Used if health lower than 35% and guys within 12 range[/INDENT]
[INDENT=3]            b)Used if health lower than 35% and guys within 24 range(increased range rune)
            c)Used if low mana and 3+ enemies within 12 range(mana regen rune)
            d)Used if health lower than 70%(bonus armor rune)
            e)Used if chasing goblin(move speed rune)[/INDENT]
[INDENT=3]        Avoiding:[/INDENT]
[INDENT=3]            a)Used if health lower than 35% and guys within 12 range
            b)Used if health lower than 35% and guys within 24 range(increased range rune)
            c)Used if low mana and 3+ enemies within 12 range(mana regen rune)
            d)Used if health lower than 70%(bonus armor rune)
            e)Used all the time(move speed rune)[/INDENT]
[INDENT=3]        Incapacitated:
            [/INDENT]
[INDENT=4]a) We cannot use actually.[/INDENT]
[INDENT]
Soul harvest[/INDENT]
[INDENT=2]Out of combat: [/INDENT]
[INDENT=3]            a)Not used.[/INDENT]
[INDENT=2]    In combat:
        [/INDENT]
[INDENT=3]Not avoiding:
            [/INDENT]
[INDENT=4]a)Used if Less than four stacks and more than 3 mobs in 16 range.[/INDENT]
[INDENT=3]            b)Used if Low mana and 3+ mobs in range(mana regen rune)
            c)Used if Low health and 1+ mobs in range(health regen rune)
            d)Used if 1+ elites in range(damage rune).[/INDENT]
[INDENT=3]
        Avoiding:
            [/INDENT]
[INDENT=4]a)Used if Less than four stacks and more than 3 mobs in 16 range.[/INDENT]
[INDENT=3]            b)Used if Low mana and 3+ mobs in range(mana regen rune)
            c)Used if Low health and 1+ mobs in range(health regen rune)
            d)Used if 1+ elites in range(damage rune).[/INDENT]
[INDENT=3]
        Incapacitated:
            [/INDENT]
[INDENT=4]a) We cannot use actually
[/INDENT]
[INDENT]Gargantua
                Out of combat:
                               a) If none exists.
                In combat:
                               Not avoiding:
                                               a) If none exists
                                               b) If sumoned more then 15 sec ago, so we wont waste proc(enrage rune)
                               Avoiding:
                                               a) Not used at all
                               Incapacitated:
                                               a) Cant use actually
 
Zombie Dogs
                Out of combat:
                               a)If less then 3( if we dont have scarifice)
                               b)If none exist( If we have sacrifice)
                In combat:
                               Not avoiding:
                                               a) If less then 3. (if we dont have sacrifice)
                                               b) If none exist( if we have sacrifice)
                               Avoiding:
                                               a) Not used at all
                               Incapacitated:
                                               a) Cant use actually
 
Sacrifice
                Out of combat:
                               a) Used if health lower than 10% - for example we die from arcane or smth like that(health regen rune).
                In combat:
                               Not avoiding:
                                               a) At least one dog within 7 yards of current target.
                                               b) Very low on mana( mana regen rune).
                                               c) Health lower 10% ( healing rune).
                               Avoiding:
                                               a)Health lower 10% ( healing rune).
                               Incapacitated:
                                               a) Cant use actually
 
Hex
                Out of combat:
                               a) Health not full( heal rune).
                In combat:
                               Not avoiding:
                                               a) Used all the time.
                               Avoiding:
                                               a) Not used
                               Incapacitated:
                                               a) Cant use actually
 
Mass confusion
                Out of combat:
                               a)Not used
                In combat:
                               Not avoiding:
                                               a)Used if 2+ elites in range or 6+ normals or low health
                               Avoiding:
                                               a)Used if 2+ elites in range or 6+ normals or low health
                               Incapacitated:
                                               a) Cant use actually
 
Big bad voodoo
                Out of combat:
                               a) Used if health lower than 10% - for example we die from arcane or smth like that(health regen rune).
                In combat:
                               Not avoiding:
                                               a) Used if any elites within 15 feet range
                                               b) Used if health lower than 15%( health regen rune)
                               Avoiding:
                                               a) Used if health lower than 15%( health regen rune)
                               Incapacitated:
                                               a) Cant use actually
 
Grasp of the dead
                Out of combat:
                               a) Not used
                In combat:
                               Not avoiding:
                                               a) Any alites within range or 2+ normals
                               Avoiding:
                                               a) Not used
                               Incapacitated:
                                               a) Cant use actually
 
Fetish army
                Out of combat:
                               a) Not used
                In combat:
                               Not avoiding:
                                               a) Any elites or goblins within 40 feet (generic only)
                                               b) Any elites wthin 12 feet( ambush burst rune)
                               Avoiding:
                                               a) Any elites within 40 feet (generic only)
                                               b) Any elites wthin 12 feet( ambush burst rune)
                               Incapacitated:
                                               a) Cant use actually
 
Spirit barrage  
                Out of combat:
                               a) Not used.
                In combat:
                               Not avoiding:
                                               a) Enemies far from us (generic only)
                                               b) Used if 2+ enemies within 25 feet( phantasm rune)
                                               c) Used all the time (manitou rune)
                               Avoiding:
                                               a) Used all the time ( manitu rune)
                               Incapacitated:
                                               a) Cant use actually[/INDENT]
[INDENT=4]                                               
[/INDENT]

UPDATE 18.12:
Uploaded v. 0.6.1 beta. Tried to fix some sacrifice bug. Only for 1.7.1.4 trinity now. You feedback is welcome.
You can download modified trinity from the link below.​

If you think I really helped you, feel free to buy me a beer or two. Click to donate.
 

Attachments

Last edited:
Thanks, this seems to be good, im testing it right now :)

Manitou rune is working much better, but it still have some issues, its not always activated when it sould be, regardless of nearby targets.
 
Thanks for a reply. Yes, i also noticed that it's not always activated. Seems like an issue with timer that calculates last time ability use time. Or maybe I'm just using it wrong. Investigating...
 
Btw I was testing this with 1.7.1.4 Giles Trinity Community Edition and I got some various error messages in the log window, besides that It worked fine.
 
Seems like i figured out the conditions where abilities arent used properly: it happens after hero just arrives to the new location. For some time ablities arent used. And then they're going as intended. Dunno really if it's Giles bug or Db's( or mine?). Will post new version soon.
 
Heya, just checking, what build are you running and what's the MP you're farming?
 
As for my own WD - 80k dps unbuff. Grave Injustice + gruesome feast + Spirit vessel. Use many builds, but Firebomb + Bears + Spirit walk + Dogs is the core. Speaking about MP i'm farming, well, last days i was more testing AI stuff rather than actually farming. But i can say MP2 - very rare deaths.

Update:
Just checked MP3 - beats easily.
 
Last edited:
Have been checking bot from time to time.

Running on MP2
Average gph: 500k+
Average eph: 22kk+
Zero deaths

Attacks: Ghost Bomb/Acid Rain/Manitou
Add: Humongoid
Spirit Walk (HG) + Soul Harvest (VS)
Runes: Gruesome Feast + Grave Injustice + Spirit Vessel
 
Last edited:
MUHAHAHA!!! I finally made Sacrifice work as it should work! This and many other stuff will be added in an 0.2 update
 
The main problem that i've seen so far with my Trinity CE is the fact that my WD keeps standing in desecrate pools and keep standing in arcane beams like a BAWS! Any fixes to that?
 
Yes, I fixed it. The tricky thing is that in original trinity wd keeps staying in such stuff while his spirit walk is off cd.
 
Yes, I fixed it. The tricky thing is that in original trinity wd keeps staying in such stuff while his spirit walk is off cd.

Any chance that you could optimize the bot for this build?!

Witch Doctor - Game Guide - Diablo III

The damage is insane but there are a lot of occasions that he stands in the desecrate pools and arcane build dropping fire bombs.

So far you did a great job with the new AI. It's a LOT better then the older CE that i used :cool:
 
Last edited:
You should probably talk to rrrix and ask him to merge this bro... to good to let it pass.
 
First, about the fire pools and stuff. I'll check tommorow, he shouldn't be staying in it.
Speaking about merging, well, it's not tested yet and I plan to add some more useful features, so it will be a really decent improvement.
 
First, about the fire pools and stuff. I'll check tommorow, he shouldn't be staying in it.
Speaking about merging, well, it's not tested yet and I plan to add some more useful features, so it will be a really decent improvement.
I'm really looking forward that, if you make it kite 90% perfectly i'd gladly donate to you.
 
Any chance that you could optimize the bot for this build?!

Witch Doctor - Game Guide - Diablo III

The damage is insane but there are a lot of occasions that he stands in the desecrate pools and arcane build dropping fire bombs.

So far you did a great job with the new AI. It's a LOT better then the older CE that i used :cool:

Well, tested it today( not this particular build, but it shouldn't matter). Character doesn't stay in pool or arcane. You may need to check if your enabled avoiding AOE in Trinity settings and change radius of avoidance in WD tab. If anyone else has same issues - write to me, i'll try to recheck it.
 
Works great! Havent tried sacrifice build yet, but Im really happy already :D
 
Back
Top