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.
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.