Code:
// 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.Witchdoctor_SummonZombieDog) && !playerStatus.bIsIncapacitated &&
((playerStatus.dCurrentEnergy >= 49 && iPlayerOwnedZombieDog <= 1 && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Sacrifice)) ||
(playerStatus.dCurrentEnergy >= 49 && iPlayerOwnedZombieDog != 4) &&
PowerManager.CanCast(SNOPower.Witchdoctor_SummonZombieDog))
{
return new GilesPower(SNOPower.Witchdoctor_SummonZombieDog, 0f, vNullLocation, iCurrentWorldID, -1, 2, 1, USE_SLOWLY);
}
Maybe this?