any way I can make it use WOTB on CD and not wait for elites? I want to see if it speeds up my runs some on mp0
Find this:
// Wrath of the berserker, elites only (wrath of berserker)
if (!bOOCBuff && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_WrathOfTheBerserker) &&
// Not on heart of sin after Cydaea
targetCurrent.iThisActorSNO != 193077 &&
// Make sure we are allowed to use wrath on goblins, else make sure this isn't a goblin
(settings.bGoblinWrath || !targetCurrent.bThisTreasureGoblin) &&
// If on a boss, only when injured
((targetCurrent.bThisBoss && targetCurrent.iThisHitPoints <= 0.99 && !hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) ||
// If *NOT* on a boss, and definitely no boss in range, then judge based on any elites at all within 30 feet
((!targetCurrent.bThisBoss || hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) &&
(!bAnyBossesInRange || hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) &&
(iElitesWithinRange[RANGE_20] >= 1 || targetCurrent.bThisEliteRareUnique))) &&
// Don't still have the buff
!GilesHasBuff(SNOPower.Barbarian_WrathOfTheBerserker) &&
GilesUseTimer(SNOPower.Barbarian_WrathOfTheBerserker, true) &&
PowerManager.CanCast(SNOPower.Barbarian_WrathOfTheBerserker))
{
if (playerStatus.dCurrentEnergy >= 50)
return new GilesPower(SNOPower.Barbarian_WrathOfTheBerserker, 0f, vNullLocation, iCurrentWorldID, -1, 4, 4, USE_SLOWLY);
bWaitingForSpecial = true;
}
Change this line: (iElitesWithinRange[RANGE_20] >= 1 || targetCurrent.bThisEliteRareUnique))) &&
to: (iAnythingWithinRange[RANGE_20] >= 1 || targetCurrent.bThisEliteRareUnique))) &&
All this does is changes the requirement for there to be a nearby elite to ANY mobs within 20 feet.