What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Guide] A walkthrough of changing skill activation criteria (range etc) for Dummies!

beardi please help

how to i set to use wrath of berserker only when im at certain health on elites ? because it just uses WOTB when elite and i wish to set only when im at eg. 50% health.

1 more thing is tht i realise it whirlwind and stop for like 1-2 sec then whirlwind again, this cause alot of deaths, how should i set it ?


pls pls help

appreciated!
 
Could you please help me with the code for Sprint?
I have tried editing the codes for sprint but nothing seems to work.

I run a 2 hander rend spec barb with Sprint-Marathon and my only deaths are to ranged elites that I cannot catch because Giles only uses Sprint out of combat.
I use superstition and I'm almost always fury capped.
I would like to use Sprint every time the ability is down and I am over 40 fury.

Any help would be appreciated, thank you!
 
Hi beardi, i use Acid Cloud (Acid Rain) on 1, Firebomb (Ghost Bomb) on left clic, and Spirit Barrage (Manitou) on right clic. Spirit Barrage is always up and that's great! But the bot never use Acid Cloud i've finally changed Spirit Barrage for Locust Swam and its worked. I want to be able to use both Acid Cloud and Spirit Barrage can you help me do that please?
 
Hi beardi, i use Acid Cloud (Acid Rain) on 1, Firebomb (Ghost Bomb) on left clic, and Spirit Barrage (Manitou) on right clic. Spirit Barrage is always up and that's great! But the bot never use Acid Cloud i've finally changed Spirit Barrage for Locust Swam and its worked. I want to be able to use both Acid Cloud and Spirit Barrage can you help me do that please?

From what I can see there should be no reason for this to happen unless you don't have enough mana, the requirement for Trinity to cast is 172 mana (base cost of skill). If you search for this:

Code:
// For distant monsters, try to target a little bit in-front of them (as they run towards us), if it's not a treasure goblin                        float fExtraDistance = 0f;
                        if (targetCurrent.fCentreDistance > 17f && !targetCurrent.bThisTreasureGoblin)
                        {
                            fExtraDistance = targetCurrent.fCentreDistance - 17f;
                            if (fExtraDistance > 5f)
                                fExtraDistance = 5f;
                            if (targetCurrent.fCentreDistance - fExtraDistance < 15f)
                                fExtraDistance -= 2;
                        }
                        Vector3 vNewTarget = MathEx.CalculatePointFrom(targetCurrent.vThisPosition, playerStatus.vCurrentPosition, targetCurrent.fCentreDistance - fExtraDistance);
and delete it all (exactly, don't delete any more or any less), this should remove any other requirements for casting and it will be treated the same as Spirit Barrage.

Another option (I'm not sure if it would work) is if you haven't got elective mode ticked in options (allows full customisation of the skill bar without limits) then change the trigger for Acid cloud to something else. Let me know what happens.
 
Thanks you beardi, i've changed Spirit Barrage for Zombie Bear and it's work perfectly fine with Acid Cloud. The bot work flawlessly so i didn't mind deleting the line code but i'll do it for the feedback during the day. I've find this while wandering the forum what do you think:

Code:
// Acid Cloud
if (!bBuffsOnly && !bAvoidanceEmergency && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Witchdo ctor_AcidCloud) &&
// Stop from spamming same skill twice in a row
//powerLastSnoPowerUsed != SNOPower.Witchdoctor_AcidCloud &&
// 1+ elites within range, or 3+ greys within range, or current primary target is an elite itself
//(iElitesWithinRange[RANGE_30] > 0 || iAnythingWithinRange[RANGE_30] >= 0 || targetCurrent.bThisElite || targetCurrent.bThisUnique || targetCurrent.bThisRare || targetCurrent.bThisTreasureGoblin) &&
//GilesUseTimer(SNOPower.Witchdoctor_AcidCloud) &&
playerStatus.dCurrentEnergy >= 172 && playerStatus.dCurrentEnergyPct >= 0.3 && PowerManager.CanCast(SNOPower.Witchdoctor_AcidClou d))
{
if (bUnsafeCasting)
return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 35f, vNullLocation, -1, targetCurrent.iThisACDGUID, USE_COMBAT_ONLY, USE_SLOWLY);
return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 45f, new Vector3(vCurrentDestination.X, vCurrentDestination.Y, vCurrentDestination.Z + iThisHeight), iCurrentWorldID, -1, USE_COMBAT_ONLY, USE_SLOWLY);
}

Here's the http://www.thebuddyforum.com/demonbuddy-forum/67778-witch-doctor-stats-required-run-act-3-a-3.html#post719089]thread
 
PHP:
// Rend spam
                    if (!bOOCBuff && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Rend) &&
                        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_6] > 0 || targetCurrent.fRadiusDistance <= 6f) &&
                        // 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_6] > iWithinRangeLastRend && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 1000) ||
                                    // ... 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 >= 1800) ||
                                    // ... 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 >= 2500) ||
                                    // ... 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 >= 3500)
                                    )
                                )) ||
                             // 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_6];
                        iACDGUIDLastRend = targetCurrent.iThisACDGUID;
                        // Note - we have LONGER animation times for whirlwind-users
                        // Since whirlwind seems to interrupt rend so easily
                        int iPreDelay = 0;
                        int iPostDelay = 0;
                        if (hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind))
                        {
                            if (powerLastSnoPowerUsed == SNOPower.Barbarian_Whirlwind || powerLastSnoPowerUsed == SNOPower.None)
                            {
                                iPreDelay = 5;
                                iPostDelay = 5;
                            }
                        }
                        return new GilesPower(SNOPower.Barbarian_Rend, 0f, playerStatus.vCurrentPosition, iCurrentWorldID, -1, iPreDelay, iPostDelay, USE_SLOWLY);
                    }

Can someone help me editting this section to make it use rend every single time there is 2 mobs without it applied or at least 1 elite? i use a ww barb and this with bloodlust is so OP by hand that i wish i could make it do so botting.
 
PHP:
// Rend spam
                    if (!bOOCBuff && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Rend) &&
                        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_6] > 0 || targetCurrent.fRadiusDistance <= 6f) &&
                        // 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_6] > iWithinRangeLastRend && DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_Rend]).TotalMilliseconds >= 1000) ||
                                    // ... 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 >= 1800) ||
                                    // ... 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 >= 2500) ||
                                    // ... 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 >= 3500)
                                    )
                                )) ||
                             // 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_6];
                        iACDGUIDLastRend = targetCurrent.iThisACDGUID;
                        // Note - we have LONGER animation times for whirlwind-users
                        // Since whirlwind seems to interrupt rend so easily
                        int iPreDelay = 0;
                        int iPostDelay = 0;
                        if (hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind))
                        {
                            if (powerLastSnoPowerUsed == SNOPower.Barbarian_Whirlwind || powerLastSnoPowerUsed == SNOPower.None)
                            {
                                iPreDelay = 5;
                                iPostDelay = 5;
                            }
                        }
                        return new GilesPower(SNOPower.Barbarian_Rend, 0f, playerStatus.vCurrentPosition, iCurrentWorldID, -1, iPreDelay, iPostDelay, USE_SLOWLY);
                    }

Can someone help me editting this section to make it use rend every single time there is 2 mobs without it applied or at least 1 elite? i use a ww barb and this with bloodlust is so OP by hand that i wish i could make it do so botting.

I personally have little experience with Barb code, I also understand that the rend code has had a lot of issues so I'd rather not play with it.

Check out the Community based unified trinity update post, see if that code works better for you, and if not then post in there and I'm sure someone will help out.
 
Hey there Mr. Beardi :D
Thanks for the torturial, but I have to admit after hours my brain is about to explode & still no luck..
I've been trying to fix a small problem with the Demon Hunter using Elemental Arrow (Ball Lightning if this matters)..

The thing is, at some point when it see's a goblin (Unable to see it on the screen) it starts shooting Elemental Arrows after the goblin which aint in sight at all plus it does not follow & kill the goblin. Basically this means if you did not kill the goblin (way out) it keeps spamming Elemental Arrows after the goblin until it dissapears into Goblin land..

Would there by any chance that you could fix this problem since Giles is not updating at all (Some people says he quit, some dont) ..

& Oh yes, forgot to mention that I'm using Giles..

Thanks in advance. <3 ;)
 
Question: Will giles go after a set/legend drop offscreen by looking for the ping? Is it possible to miss a trash set/legend drop?

Please help pro botters! I have giles non-elite combat range set at 12. I have extend range after combat turned OFF. This works wonders on my WD for bear spam. However I fear I may be missing some set/legend drops. Sometimes my bears will kill something outside of my combat range and I think I may be missing drops.
 
My wrath of the berserker doesnt pop up on the start of a FIGHT vs elites.What should i do?It does pop up after a bit of time when fight takes place, or its not used at all
 
While playing for wizard i've encountered a problem with diamond skin ability. The problem is that bot just spams the skill. I dont use crit. mass so i didn't enable it in plugin options. Also changed the code like this but it doesn't seem to work. The spam continues. Als i've mentioned the skill activates as soon as mob is within a certain distance. For now i just want it to activate when 1 or more elites are withing 25 range, or when Hp drops to 55% or when 10 or more trash mobs are within 25 range. Any help will be appreciated.

Code:
 // Diamond Skin SPAM
                        if (hashPowerHotbarAbilities.Contains(SNOPower.Wizard_DiamondSkin) && powerLastSnoPowerUsed != SNOPower.Wizard_DiamondSkin &&
                            (iElitesWithinRange[RANGE_25] >1 || iAnythingWithinRange[RANGE_25] >10 || playerStatus.dCurrentHealthPct <= 0.55 || playerStatus.bIsIncapacitated || playerStatus.bIsRooted || (!bOOCBuff && targetCurrent.fRadiusDistance <= 40f)) &&
                            ((settings.bEnableCriticalMass && !bOOCBuff) || !GilesHasBuff(SNOPower.Wizard_DiamondSkin)) &&
                            PowerManager.CanCast(SNOPower.Wizard_DiamondSkin))
                        {
                            return new GilesPower(SNOPower.Wizard_DiamondSkin, 0f, vNullLocation, iCurrentWorldID, -1, 0, 1, USE_SLOWLY);
                        }
 
Last edited:
Hello Beardi and/or Giles (whomever stumbles upon this post...)

I read your guide Beardi, it makes sense considering I took a programming class (I probably still suck) and I first want to thank you for the time you put in to explain these basic things to the rest of us!

However, I'm still having trouble making my Barb (yes I know you admitted you're not comfortable changing barb coding) do a specific thing. I basically want him to use the move Ancient Spear (since it generates fury) ONLY WHEN he's out of fury. Considering I'm using a Weapon Throw Build, I want to be able to refuel my fury from a distance, and the warcries have too high a cooldown for my liking.

My coding is:
// Ancient spear
if (!bOOCBuff && !bCurrentlyAvoiding && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_AncientSpear) && playerStatus.dCurrentEnergy <= 10
GilesUseTimer(SNOPower.Barbarian_AncientSpear)
PowerManager.CanCast(SNOPower.Barbarian_AncientSpear))
{
// For close-by monsters, try to leap a little further than their centre-point
float fExtraDistance = targetCurrent.fThisRadius;
if (fExtraDistance <= 4f)
fExtraDistance = 4f;
if (targetCurrent.fCentreDistance + fExtraDistance > 30f)
fExtraDistance = 30 - targetCurrent.fCentreDistance;
if (fExtraDistance < 5f)
fExtraDistance = 5f;
Vector3 vNewTarget = MathEx.CalculatePointFrom(targetCurrent.vThisPosition, playerStatus.vCurrentPosition, targetCurrent.fCentreDistance + fExtraDistance);
return new GilesPower(SNOPower.Barbarian_AncientSpear, 35f, vNewTarget, iCurrentWorldID, -1, 2, 2, USE_SLOWLY);

The bolded and underlined is my added code for trying to make my barbarian use Ancient Spear only when my fury is less than 10. Instead, my Barbarian uses Ancient spear so long as the move is available. I think this has something to do with Giles' "Use most destructible move" coding that appears earlier in the cs file. In other words, Ancient spear deals 185% weapon damage - which is my highest damaging skill on my slot so it gets highest priority in skill choice. Any help would be appreciated on this manner.

Thanks!
-Charles
 
Last edited:
Edit: Playing around with coding, although your code seems like it should work to me! Will get back to you.
 
Last edited:
lol... got to love e-mail notifications beardi... man... haha... you should had read it entirely haha
 
lol... got to love e-mail notifications beardi... man... haha... you should had read it entirely haha

I have been at work for like.. 18 hours, just misread <= as >= tis all :)

Edit: Just tested this

Code:
// Ancient spear             if (!bOOCBuff && !bCurrentlyAvoiding && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_AncientSpear) &&
                GilesUseTimer(SNOPower.Barbarian_AncientSpear) && PowerManager.CanCast(SNOPower.Barbarian_AncientSpear) &&
                playerStatus.CurrentEnergy >= 10)
            {
                // For close-by monsters, try to leap a little further than their centre-point
                float fExtraDistance = CurrentTarget.Radius;
                if (fExtraDistance <= 4f)
                    fExtraDistance = 30f;
                if (CurrentTarget.CentreDistance + fExtraDistance > 60f)
                    fExtraDistance = 60 - CurrentTarget.CentreDistance;
                if (fExtraDistance < 30)
                    fExtraDistance = 30f;
                Vector3 vNewTarget = MathEx.CalculatePointFrom(CurrentTarget.Position, playerStatus.CurrentPosition, CurrentTarget.CentreDistance + fExtraDistance);
                return new GilesPower(SNOPower.Barbarian_AncientSpear, 55f, vNewTarget, iCurrentWorldID, -1, 2, 2, USE_SLOWLY);
            }
with my barb, seems to be working as desired, always uses Ancient Spear when fury is <=10.

I'm using the latest unified trinity version, (file to edit can be found in Trinity > Abilities > Barbarian.cs)

If it doesn't work then there is a conflict in skill coding, so check the codes for all your other abilities and see if any are overriding code for Ancient spear (shouldn't be but it can happen).

Lemme know!
 
Last edited:
Oh boy... Beardi, I'm going to use your signature as good advice for me...

I often say things that are very retarded, hence I have a reminder as my avatar!

USE BRAIN

I didn't have the unified version of trinity... I only had the latest version of Giles' solo project (1.6.3.4 I believe). DOH! Which is why I need to USE BRAIN! :D It actually has a lot of "logic" improvements for some different builds. I was able to change this version's coding to be able to do what I wanted to Ancient Spear (make it use Ancient Spear when I had low fury allowing for Weapon Throw to be the Primary Attack), but I changed my build around a bit to now focus on Ancient Spear, so I'm going to leave it at the default coding! Thanks for both the help and the information! You were both timely and helpful :)

Thanks!
-Charles
 
While playing for wizard i've encountered a problem with diamond skin ability. The problem is that bot just spams the skill. I dont use crit. mass so i didn't enable it in plugin options. Also changed the code like this but it doesn't seem to work. The spam continues. Als i've mentioned the skill activates as soon as mob is within a certain distance. For now i just want it to activate when 1 or more elites are withing 25 range, or when Hp drops to 55% or when 10 or more trash mobs are within 25 range. Any help will be appreciated.

Code:
 // Diamond Skin SPAM
                        if (hashPowerHotbarAbilities.Contains(SNOPower.Wizard_DiamondSkin) && powerLastSnoPowerUsed != SNOPower.Wizard_DiamondSkin &&
                            (iElitesWithinRange[RANGE_25] >1 || iAnythingWithinRange[RANGE_25] >10 || playerStatus.dCurrentHealthPct <= 0.55 || playerStatus.bIsIncapacitated || playerStatus.bIsRooted || (!bOOCBuff && targetCurrent.fRadiusDistance <= 40f)) &&
                           [B] ((settings.bEnableCriticalMass && !bOOCBuff) || !GilesHasBuff(SNOPower.Wizard_DiamondSkin)) &&[/B]
                            PowerManager.CanCast(SNOPower.Wizard_DiamondSkin))
                        {
                            return new GilesPower(SNOPower.Wizard_DiamondSkin, 0f, vNullLocation, iCurrentWorldID, -1, 0, 1, USE_SLOWLY);
                        }

Try removing the parts in bold so that it looks like:

Code:
 // Diamond Skin SPAM
                        if (hashPowerHotbarAbilities.Contains(SNOPower.Wizard_DiamondSkin) && powerLastSnoPowerUsed != SNOPower.Wizard_DiamondSkin && !bOOCBuff &&
                            (iElitesWithinRange[RANGE_25] >1 || iAnythingWithinRange[RANGE_25] >10 || playerStatus.dCurrentHealthPct <= 0.55 || playerStatus.bIsIncapacitated || playerStatus.bIsRooted) &&
                            PowerManager.CanCast(SNOPower.Wizard_DiamondSkin))
                        {
                            return new GilesPower(SNOPower.Wizard_DiamondSkin, 0f, vNullLocation, iCurrentWorldID, -1, 0, 1, USE_SLOWLY);
                        }
note: I moved !bOOCBuff up to the front more... just cuz heh.
note2: the lines removed take out the critical mass spamming parts, including the "if target is less than or equal 40 yards."
Good Luck!
 
I'm looking to change wizard to prevent some deaths while in Archon mode. Often in CM builds w/ Archon u can 'predict' that you're going to die in a few seconds, for example if during 3 consecutive ticks we lost health and are now below <20% of max life it's likely we'll die within a few ticks. When that happens, the bot should drop out of Archon mode and activate Diamond Skin asap. How could I do this?
 
I'm looking to change wizard to prevent some deaths while in Archon mode. Often in CM builds w/ Archon u can 'predict' that you're going to die in a few seconds, for example if during 3 consecutive ticks we lost health and are now below <20% of max life it's likely we'll die within a few ticks. When that happens, the bot should drop out of Archon mode and activate Diamond Skin asap. How could I do this?

DB cannot 'unbuff' as of yet, so there is no fix for this yet I'm afraid :(
 
Why cant i see the "// skill" anywhere in my GilesTrinity.cs ?
I used to used the unified edition, where it was clear where to change stuff.. Now i can't find any skills descriptions in the plugins\Giilestrinity ?

Any idea what I'm doing wrong? Using notepad to open it.
 
Back
Top