Bertrand
Active Member
- Joined
- Aug 8, 2012
- Messages
- 1,249
- Reaction score
- 9
Yeah i know, i am like a ltitle spoiled rich brat that just got in the toy store and cant get enough of the "Giles Toy" 
Seriously though, great work so far, just a minor issue that might need attention. The rend in 1.5.2.2 was working perfectly, not a 0.5 sec was given to elite champs without rend on them. 1.6.2 avoidance work great, so does rend, but is just not as good as it was in 1.5.2.2, i am seriously considering reverting back to 2.2.
Anyone else feels the same ? Or maybe someone know what needs to be tweaked in the code to make rend "more spammable" ?
edit: Look no further guys, with a thx to Bazingaw:
photo hosting

Seriously though, great work so far, just a minor issue that might need attention. The rend in 1.5.2.2 was working perfectly, not a 0.5 sec was given to elite champs without rend on them. 1.6.2 avoidance work great, so does rend, but is just not as good as it was in 1.5.2.2, i am seriously considering reverting back to 2.2.
Anyone else feels the same ? Or maybe someone know what needs to be tweaked in the code to make rend "more spammable" ?
edit: Look no further guys, with a thx to Bazingaw:
For those of you that know how to manually edit the .cs file and want the 1.5.2.2 version back while giles is out sick look below.
*I suggest if you WW you DO NOT use these changes as it removes all the WW precautions giles added*
*BACK UP GilesTrinity.cs before editing*
Look for
Code:// Rend spam if (!bOOCBuff && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Rend) && (!bCurrentlyAvoiding || iAnythingWithinRange[RANGE_12] >= 1) && // Doesn't need CURRENT target to be in range, just needs ANYTHING to be within 9 foot, since it's an AOE! (iAnythingWithinRange[RANGE_7] > 0 || targetCurrent.fRadiusDistance <= 7f) && // Don't use against goblins (they run too quick!) (!targetCurrent.bThisTreasureGoblin || iAnythingWithinRange[RANGE_12] >= 5) && ( // This segment is for people who DON'T have whirlwind (!hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind) && ( // *DON'T* use rend if we currently have wrath/earthquake/call available & needed but need to save up energy energy (!bWaitingForSpecial || playerStatus.dCurrentEnergy >= 75) && // Bunch of optionals now that go hand in hand with all of the above... ( // Either off full 4 second or so cooldown... GilesUseTimer(SNOPower.Barbarian_Rend) || // ... or ability to spam rend every 0.4 seconds if more enemies in range than when last used rend... (iAnythingWithinRange[RANGE_7] > iWithinRangeLastRend && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 400) || // ... or ability to spam rend every 1.1 seconds if current primary target changes... (targetCurrent.iThisACDGUID != iACDGUIDLastRend && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 1100) || // ... or ability to spam rend every 1.5 seconds with almost full fury (playerStatus.dCurrentEnergyPct >= 0.85 && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 1500) || // ... or ability to spam rend every 2 seconds with a lot of fury (playerStatus.dCurrentEnergyPct >= 0.65 && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 2000) ) )) || // This segment is for people who *DO* have whirlwind (hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind) && // See if it's off-cooldown and at least 40 fury, or use as a fury dump ( (settings.bFuryDumpWrath && playerStatus.dCurrentEnergyPct >= 0.92 && GilesHasBuff(SNOPower.Barbarian_WrathOfTheBerserker)) || (settings.bFuryDumpAlways && playerStatus.dCurrentEnergyPct >= 0.92) || (DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 2800) ) && // Max once every 1.2 seconds even if fury dumping, so sprint can be fury dumped too DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 1200 && // 3+ mobs of any kind at close range *OR* one elite/boss/special at close range ( (iAnythingWithinRange[RANGE_15] >= 3 && iElitesWithinRange[RANGE_12] >= 1) || (iAnythingWithinRange[RANGE_15] >= 3 && targetCurrent.bThisTreasureGoblin && targetCurrent.fRadiusDistance <= 13f) || iAnythingWithinRange[RANGE_15] >= 5 || ((targetCurrent.bThisEliteRareUnique || targetCurrent.bThisBoss) && targetCurrent.fRadiusDistance <= 13f && iAnythingWithinRange[RANGE_15] >= 3) ) ) ) && // And finally, got at least 20 energy playerStatus.dCurrentEnergy >= 20) { iWithinRangeLastRend = iAnythingWithinRange[RANGE_7]; iACDGUIDLastRend = targetCurrent.iThisACDGUID; // Note - we have LONGER animation times for whirlwind-users // Since whirlwind seems to interrupt rend so easily int iPreDelay = 1; int iPostDelay = 1; if (hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) { if (powerLastSnoPowerUsed == SNOPower.Barbarian_Whirlwind || powerLastSnoPowerUsed == SNOPower.None) { iPreDelay = 4; iPostDelay = 2; } else { iPreDelay = 2; iPostDelay = 2; } } return new GilesPower(SNOPower.Barbarian_Rend, 0f, playerStatus.vCurrentPosition, iCurrentWorldID, -1, iPreDelay, iPostDelay, USE_SLOWLY); }
and replace with (This is the exact code from 1.5.2.2)
Code:// Rend spam if (!bOOCBuff && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Rend) && // Doesn't need CURRENT target to be in range, just needs ANYTHING to be within 9 foot, since it's an AOE! (iAnythingWithinRange[RANGE_7] > 0 || targetCurrent.fRadiusDistance <= 7f) && // Don't use against goblins (they run too quick!) (!targetCurrent.bThisTreasureGoblin || iAnythingWithinRange[RANGE_12] >= 5) && // *DON'T* use rend if we currently have wrath/earthquake/call available & needed but need to save up energy energy (!bWaitingForSpecial || playerStatus.dCurrentEnergy >= 75) && // Bunch of optionals now that go hand in hand with all of the above... ( // Either off full 4 second or so cooldown... GilesUseTimer(SNOPower.Barbarian_Rend) || // ... or ability to spam rend every 0.4 seconds if more enemies in range than when last used rend... (iAnythingWithinRange[RANGE_7] > iWithinRangeLastRend && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 400) || // ... or ability to spam rend every 1.1 seconds if current primary target changes... (targetCurrent.iThisACDGUID != iACDGUIDLastRend && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 1100) || // ... or ability to spam rend every 1.5 seconds with almost full fury (playerStatus.dCurrentEnergyPct >= 0.85 && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 1500) || // ... or ability to spam rend every 2 seconds with a lot of fury (playerStatus.dCurrentEnergyPct >= 0.65 && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 2000) ) && // And finally, got at least 20 energy playerStatus.dCurrentEnergy >= 20) { iWithinRangeLastRend = iAnythingWithinRange[RANGE_7]; iACDGUIDLastRend = targetCurrent.iThisACDGUID; return new GilesPower(SNOPower.Barbarian_Rend, 0f, playerStatus.vCurrentPosition, iCurrentWorldID, -1, 1, 0, USE_SLOWLY); }

photo hosting
Last edited: