if (hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Horrify) && playerStatus.dCurrentEnergy >= 37 &&
(
playerStatus.dCurrentHealthPct <= 0.15 || playerStatus.bIsIncapacitated || (settings.bOutOfCombatMovementPowers && bOOCBuff) ||
(!bOOCBuff && targetCurrent.bThisTreasureGoblin && targetCurrent.iThisHitPoints < 0.90 && targetCurrent.fRadiusDistance <= 40f)
) &&
PowerManager.CanCast(SNOPower.Witchdoctor_Horrify))
{
return new GilesPower(SNOPower.Witchdoctor_Horrify, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY);
}
// Horrify Buff at 60% health and out of combat
if (hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Horrify) && !playerStatus.bIsIncapacitated && (playerStatus.dCurrentEnergy >= 37 ||
playerStatus.dCurrentHealthPct <= 0.60) &&
PowerManager.CanCast(SNOPower.Witchdoctor_Horrify))
{
return new GilesPower(SNOPower.Witchdoctor_Horrify, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY);
}
Can anyone confirm that this is working?Code:// Horrify Buff at 60% health and out of combat if (hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Horrify) && !playerStatus.bIsIncapacitated && (playerStatus.dCurrentEnergy >= 37 || playerStatus.dCurrentHealthPct <= 0.60) && PowerManager.CanCast(SNOPower.Witchdoctor_Horrify)) { return new GilesPower(SNOPower.Witchdoctor_Horrify, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY); }
It works. There's a better version by vbnm:Can anyone confirm that this is working?
// Horrify Buff When not in combat for movement speed
if (bOOCBuff && settings.bEnableCriticalMass == true && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Horrify) && !playerStatus.bIsIncapacitated && playerStatus.dCurrentEnergy >= 37 &&
PowerManager.CanCast(SNOPower.Witchdoctor_Horrify))
{
return new GilesPower(SNOPower.Witchdoctor_Horrify, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY);
}
// Horrify Buff at 20% health
if (!bOOCBuff && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Horrify) && !playerStatus.bIsIncapacitated && playerStatus.dCurrentEnergy >= 37 &&
playerStatus.dCurrentHealthPct <= 0.20 &&
PowerManager.CanCast(SNOPower.Witchdoctor_Horrify))
{
return new GilesPower(SNOPower.Witchdoctor_Horrify, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY);
}
It works. There's a better version by vbnm:
http://www.thebuddyforum.com/demonb...gins/70830-trinity-witch-doctor-class-16.html
Code:// Horrify Buff When not in combat for movement speed if (bOOCBuff && settings.bEnableCriticalMass == true && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Horrify) && !playerStatus.bIsIncapacitated && playerStatus.dCurrentEnergy >= 37 && PowerManager.CanCast(SNOPower.Witchdoctor_Horrify)) { return new GilesPower(SNOPower.Witchdoctor_Horrify, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY); } // Horrify Buff at 20% health if (!bOOCBuff && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Horrify) && !playerStatus.bIsIncapacitated && playerStatus.dCurrentEnergy >= 37 && playerStatus.dCurrentHealthPct <= 0.20 && PowerManager.CanCast(SNOPower.Witchdoctor_Horrify)) { return new GilesPower(SNOPower.Witchdoctor_Horrify, 0f, vNullLocation, iCurrentWorldID, -1, 0, 0, USE_SLOWLY); }






