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

[GilesTrinity] Witch doctor constant summons for no reason.

wikky

New Member
Joined
Dec 24, 2012
Messages
10
Reaction score
0
Hi.

I am currently having an issue, where I cant make my Witch Doctor, stop spamming the Gargantuan and Zombie dogs spell.

What I want to achieve is for the Witch Doctor, only to use the spell when it's needed (when gargantuan/zombie dogs are dead, or not summoned.)
At the moment, it casts the spell every time it is ready.

Do you know what I have to change?

Thank you very much.

Here is the default criteria, exactly as it is in my GilesTrinity.cs:

// Gargantuan, Recast on 1+ Elites or Bosses to trigger Restless Giant
if (!bOOCBuff && !bCurrentlyAvoiding && hashPowerHotbarAbilities.Contains(SNOPower.Witchdo ctor_Gargantuan) && !playerStatus.bIsIncapacitated && playerStatus.dCurrentEnergy >= 147 &&
(iElitesWithinRange[RANGE_15] >= 1 ||
(targetCurrent != null && ((targetCurrent.bThisEliteRareUnique || targetCurrent.bThisBoss) && targetCurrent.fRadiusDistance <= 15f)) || iPlayerOwnedGargantuan == 0) &&
PowerManager.CanCast(SNOPower.Witchdoctor_Gargantu an))
{
return new GilesPower(SNOPower.Witchdoctor_Gargantuan, 0f, vNullLocation, iCurrentWorldID, -1, 2, 1, USE_SLOWLY);
}
// Zombie dogs Woof Woof, good for being blown up, cast when less than or equal to 1 Dog or Not Blowing them up and cast when less than 4
if (!bCurrentlyAvoiding && hashPowerHotbarAbilities.Contains(SNOPower.Witchdo ctor_SummonZombieDog) && !playerStatus.bIsIncapacitated &&
playerStatus.dCurrentEnergy >= 49 && (iElitesWithinRange[RANGE_20] >= 2 || iAnythingWithinRange[RANGE_20] >= 5 ||
(targetCurrent != null && ((targetCurrent.bThisEliteRareUnique || targetCurrent.bThisTreasureGoblin) && targetCurrent.fRadiusDistance <= 30f)) || iPlayerOwnedZombieDog <= 1) &&
PowerManager.CanCast(SNOPower.Witchdoctor_SummonZo mbieDog))
{
return new GilesPower(SNOPower.Witchdoctor_SummonZombieDog, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY);
}


EDIT:
After having changed Gargantuan to Gargantuan:restless giant - it no longer uses it outside of combat, however in combat, it still just spams the ability whenever it's ready.
Zombie dogs is still spammed whenever it's ready no matter what.

This looks incredibly suspicious from blizzards POV I can imagine.
HELP PLEASE.
 
We need a customisable combat routin for WD
If we are noobsfor change codes, we are good for click :p
Sorry for my english :o
 
try with this

Code:
            if (!bOOCBuff && !bCurrentlyAvoiding && Hotbar.Contains(SNOPower.Witchdoctor_Gargantuan) &&
				!PlayerStatus.IsIncapacitated && PlayerStatus.CurrentEnergy >= 147 &&
                iPlayerOwnedGargantuan == 0 &&
                PowerManager.CanCast(SNOPower.Witchdoctor_Gargantuan))
            {
                return new TrinityPower(SNOPower.Witchdoctor_Gargantuan, 0f, vNullLocation, iCurrentWorldID, -1, 2, 1, USE_SLOWLY);
            }

            if (!bCurrentlyAvoiding && Hotbar.Contains(SNOPower.Witchdoctor_SummonZombieDog) && 
				!PlayerStatus.IsIncapacitated && iPlayerOwnedZombieDog <= 2 &&
				PowerManager.CanCast(SNOPower.Witchdoctor_SummonZombieDog))
            {
                return new TrinityPower(SNOPower.Witchdoctor_SummonZombieDog, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY);
            }

should cast dogs if you have 2 or less and the big guy only if you don't have one
 
hello... i'm a newb at this... and i noticed Gargantuan is being spammed whenever its ready....

i want to add what "jodru2k" wrote into my routine..
but i have no idea where to add it... just copy & paste? but where?

------

currently looking at the WD class forum... for advise....
sorry not to hijack thread...
just try'n to figure this out..

thanks.

edit:
i figured it out.. <facepalm>
 
Last edited:
Demonbuddy\Plugins\GilesTrinity\Abilities

I have try but my dogs is already cast :s

sorry for my english
 
try with this

Code:
            if (!bOOCBuff && !bCurrentlyAvoiding && Hotbar.Contains(SNOPower.Witchdoctor_Gargantuan) &&
				!PlayerStatus.IsIncapacitated && PlayerStatus.CurrentEnergy >= 147 &&
                iPlayerOwnedGargantuan == 0 &&
                PowerManager.CanCast(SNOPower.Witchdoctor_Gargantuan))
            {
                return new TrinityPower(SNOPower.Witchdoctor_Gargantuan, 0f, vNullLocation, iCurrentWorldID, -1, 2, 1, USE_SLOWLY);
            }

            if (!bCurrentlyAvoiding && Hotbar.Contains(SNOPower.Witchdoctor_SummonZombieDog) && 
				!PlayerStatus.IsIncapacitated && iPlayerOwnedZombieDog <= 2 &&
				PowerManager.CanCast(SNOPower.Witchdoctor_SummonZombieDog))
            {
                return new TrinityPower(SNOPower.Witchdoctor_SummonZombieDog, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY);
            }

should cast dogs if you have 2 or less and the big guy only if you don't have one


i still can't get this to work... not sure what the problem is...
i have Trinity 1.7.1.17 ..

i saw a post about a fix from Vbnm
http://www.thebuddyforum.com/demonb...trinity-witch-doctor-class-14.html#post830292

but i can't find the code in 1.7.1.17 thats needs to be replaced..

please advise..
thanks in advance
 
Trinity 1.7.1.19+ dectet automatically the skills and the rune.
I will try this when DB will is update.

Sorry for my english
 
Back
Top