I have found a workaround for the leap issue, if you remove this bit of code from the cs file he will not leap outside of combat.
find and delete:
// Leap movement for a barb
if (GilesTrinity.hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Leap) &&
DateTime.Now.Subtract(GilesTrinity.dictAbilityLastUse[SNOPower.Barbarian_Leap]).TotalMilliseconds >= GilesTrinity.dictAbilityRepeatDelay[SNOPower.Barbarian_Leap] &&
fDistanceNeeded >= 25f && fDistanceNeeded <= 35f &&
PowerManager.CanCast(SNOPower.Barbarian_Leap) && !ShrinesInArea(vMoveToTarget))
{
Vector3 vTargetAimPoint = MathEx.CalculatePointFrom(vMoveToTarget, vMyCurrentPosition, fDistanceNeeded - 2f);
ZetaDia.Me.UsePower(SNOPower.Barbarian_Leap, vTargetAimPoint, GilesTrinity.iCurrentWorldID, -1);
GilesTrinity.dictAbilityLastUse[SNOPower.Barbarian_Leap] = DateTime.Now;
return;
}
And this will cause him to leap even when at full health.
Find and change:
// Leaps used on when off-cooldown, or when out-of-range
if (!bBuffsOnly && targetCheckTarget != null && !bFindPureRanged && !bAvoidanceEmergency && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Leap) &&
(playerStatus.dCurrentHealthPct <= 0.75 || fDistanceFromTarget >= 18f) &&
GilesUseTimer(SNOPower.Barbarian_Leap, true) && PowerManager.CanCast(SNOPower.Barbarian_Leap))
to:
// Leaps used on when off-cooldown, or when out-of-range
if (!bBuffsOnly && targetCheckTarget != null && !bFindPureRanged && !bAvoidanceEmergency && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Leap) &&
(playerStatus.dCurrentHealthPct <= 1 || fDistanceFromTarget >= 18f) &&
GilesUseTimer(SNOPower.Barbarian_Leap, true) && PowerManager.CanCast(SNOPower.Barbarian_Leap))
Thank you Giles for making such clear and to the point notes in your code![]()
but Giles i want it to be perfect NOW!
/angryforumface
seriously people, be patient
for as little time as Giles has had, he's put a tremendous amount of work into this plugin and its already VERY GOOD!
Thanks for the plugin Giles, awesome work!
I was using your late plugin and my monk Fist of Thunder (Thunderclap) seems to spam much faster, the new Giles Trinity can't keep with my attack speed, anyone with the same problem?
Obs: I tried to manually hold click on the monsters in my last bot run and it attacks goes realy much faster then the plugin alone.
is there a way to make it cast Wotb on Azmodan? i just added azmodan but im pretty sure my dps isnt high enough to kill it without it, thanks!
for those who are having issues with avoidance. i use a barb and here is what i tweaked and i only die 2-3 times per run now (same as the old combatreplacer)
I tweaked some of the values lower so your toon doesnt run and pause, instead it fights, and LOH will actually work
// ***** Barbarians *****
// ***************************
private static readonly Dictionary<int, double> dictAvoidanceHealthBarb = new Dictionary<int, double>
{
// Arcane Arcane 2 Desecrator Poison Tree Molten Core Molten Core 2 Molten Trail Plague Cloud Ice Balls
{219702, 0.75}, {221225, 0.75}, {84608, 0.8}, {5482, 0.55}, {4803, 1}, {4804, 1}, {95868, 0.6}, {108869, 0.25},{223675, 1},
// Bees-Wasps Plague-Hands Azmo Pools Azmo fireball Azmo bodies Belial 1 Belial 2
{5212, 1}, {3865, 0.75}, {123124, 0.8}, {123842, 0.6}, {123839, 0.7}, {161822, 1}, {161833, 1},
// Sha-Ball Mol Ball Mage Fire Green Ooze
{4103, 0.2}, {160154, 0.2}, {432, 0.75}, {4176, 0.75},
};
I also changed what gary7 stated on his post above, deleting leap movement and changing the value to 1. worked wonders
getting stuck on the dead gaurdsmen act 3
// Special blacklist for things like ravens, templar/scoundrel/enchantress in town, witch-doctor summons, tornado-animations etc. etc. that should never be attacked
private static readonly HashSet<int> hashActorSNOIgnoreBlacklist = new HashSet<int> {
5840, 111456, 5013, 5014, 205756, 205746, 4182, 4183, 4644, 4062, 4538, 52693, 162575, 2928, 51291, 51292,
96132, 90958, 90959, 80980, 51292, 51291, 2928, 3546, 129345, 81857, 138428, 81857, 60583, 170038, 174854, 190390,
194263, 5482, 174900, 219702, 221225, 87189, 90072, 107031, 106584, 186130, 187265, 201426, 201242, 200969, 201423,
201438, 201464, 201454, 108012, 103279, 89578, 74004, 84531, 84538, 89579, 190492, 209133, 6318, 107705, 105681, 89934,
89933, 182276, 117574, 182271, 182283, 182278, 128895, 81980, 82111, 81226, 81227, 107067, 103217, 105763, 110959, 106749,
107107, 107112, 106731, 107752, 107829, 90321, 107828, 121327, 185391, 249320, 81232, 81231, 81239, 81515, 210433, 195414,
80758, 80757, 80745, 81229, 81230, 82109, 83024, 83025, 82972, 83959, 249190, 251396, 138472, [COLOR="#FF0000"]xxxxxx[/COLOR]
};
200226 stupid frosty corpse